インタフェースの使用
org.nkjmlab.sorm4j.FunctionHandler
-
FunctionHandlerを使用しているパッケージ パッケージ 説明 org.nkjmlab.sorm4j Provides the main API for Sorm4j.org.nkjmlab.sorm4j.sql.helper (Non-public API) Package for core of typed connection. -
-
org.nkjmlab.sorm4jでのFunctionHandlerの使用
FunctionHandlerを返すorg.nkjmlab.sorm4jのメソッド 修飾子とタイプ メソッド 説明 static <T> FunctionHandler<ResultSet,List<T>>RowMapper. convertToRowListMapper(RowMapper<T> rowMapper)Converts the given rowMapper to function mapping rows to object list.FunctionHandler型のパラメータを持つorg.nkjmlab.sorm4jのメソッド 修飾子とタイプ メソッド 説明 <R> RSorm. apply(FunctionHandler<OrmConnection,R> handler)Applies aOrmConnectionhandler for a task with object-relation mapping and gets the result.<R> RSorm. applyJdbcConnectionHandler(FunctionHandler<Connection,R> handler)Applies aConnectionhandler for a task with object-relation mapping and gets the result.<T> TSqlExecutor. applyPreparedStatementHandler(ParameterizedSql sql, FunctionHandler<PreparedStatement,T> handler)Applies handler forPreparedStatementwhich has sets the given parameters.<R> RSorm. applyTransactionHandler(FunctionHandler<OrmTransaction,R> handler)Applies aOrmTransactionhandler for a task with object-relation mapping and gets the result.<T> TSqlExecutor. executeQuery(ParameterizedSql sql, FunctionHandler<ResultSet,T> resultSetHandler)Executes a query and apply the given handler to the returned result set. -
org.nkjmlab.sorm4j.sql.helperでのFunctionHandlerの使用
FunctionHandler型のパラメータを持つorg.nkjmlab.sorm4j.sql.helperのメソッド 修飾子とタイプ メソッド 説明 <T> TCommand. applyPreparedStatementHandler(FunctionHandler<PreparedStatement,T> handler)Applies handler forPreparedStatementwhich has sets the given parameters.<T> TCommand. executeQuery(FunctionHandler<ResultSet,T> resultSetHandler)Executes a query and apply the given handler to the returned result set.
-