Class DtoQueryRequest<T>
java.lang.Object
io.ebeaninternal.server.core.AbstractSqlQueryRequest
io.ebeaninternal.server.core.DtoQueryRequest<T>
- All Implemented Interfaces:
io.ebean.CancelableQuery
Wraps the objects involved in executing a DtoQuery.
-
Field Summary
Fields inherited from class AbstractSqlQueryRequest
bindLog, pstmt, resultSet, server, sql, startNano, transaction -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteSql(Binder binder, SpiQuery.Type type) Prepare and execute the SQL using the Binder.voidvoidvoidfindEachWhile(Predicate<T> consumer) io.ebean.QueryIterator<T> findList()booleannext()Return true if we can navigate to the next row.protected voidprotected voidsetResultSet(ResultSet resultSet, Object queryPlanKey) Methods inherited from class AbstractSqlQueryRequest
cancel, close, endTransIfRequired, executeAsSql, flushJdbcBatchOnQuery, getBindLog, getSql, initTransIfRequired, isLogSql, setAutoCommitOnFindIterate, setDefaultFetchBuffer
-
Method Details
-
executeSql
Prepare and execute the SQL using the Binder.- Overrides:
executeSqlin classAbstractSqlQueryRequest- Throws:
SQLException
-
setResultSet
- Throws:
SQLException
-
requestComplete
protected void requestComplete()- Specified by:
requestCompletein classAbstractSqlQueryRequest
-
findIterate
-
findEach
-
findEach
-
findEachWhile
-
findList
-
next
Description copied from class:AbstractSqlQueryRequestReturn true if we can navigate to the next row.- Specified by:
nextin classAbstractSqlQueryRequest- Throws:
SQLException
-
readNextBean
- Throws:
SQLException
-