インタフェースの使用
org.nkjmlab.sorm4j.FunctionHandler
-
FunctionHandlerを使用しているパッケージ パッケージ 説明 org.nkjmlab.sorm4j Provides the main API for Sorm4j.org.nkjmlab.sorm4j.sql Package ofSqlStatementwhich support to write SQL statements. -
-
org.nkjmlab.sorm4jでのFunctionHandlerの使用
FunctionHandlerを返すorg.nkjmlab.sorm4jのメソッド 修飾子とタイプ メソッド 説明 static <T> FunctionHandler<ResultSet,List<T>>RowMapper. convertToRowsMapper(RowMapper<T> rowMapper)Converts the given rowMapper to function mapping rows to object list.FunctionHandler型のパラメータを持つorg.nkjmlab.sorm4jのメソッド 修飾子とタイプ メソッド 説明 <T,R>
RSorm. apply(Class<T> objectClass, FunctionHandler<TypedOrmConnection<T>,R> handler)Applies aTypedOrmConnectionhandler for a task with object-relation mapping and gets the result.<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,R>
RSorm. applyTransactionHandler(Class<T> objectClass, FunctionHandler<TypedOrmTransaction<T>,R> handler)Applies aTypedOrmTransactionhandler for a task with object-relation mapping and gets the result.<R> RSorm. applyTransactionHandler(FunctionHandler<OrmTransaction,R> handler)Applies aOrmTransactionhandler for a task with object-relation mapping and gets the result.<T> TSqlExecutor. executeQuery(SqlStatement sql, FunctionHandler<ResultSet,T> resultSetHandler)Executes a query and apply the given handler to the returned result set. -
org.nkjmlab.sorm4j.sqlでのFunctionHandlerの使用
FunctionHandler型のパラメータを持つorg.nkjmlab.sorm4j.sqlのメソッド 修飾子とタイプ メソッド 説明 <T> TRequest. executeQuery(FunctionHandler<ResultSet,T> resultSetHandler)Executes a query and apply the given handler to the returned result set.
-