java.lang.Object
io.ebeaninternal.server.query.CQueryEngine
Handles the Object Relational fetching.
-
Constructor Summary
ConstructorsConstructorDescriptionCQueryEngine(DatabaseBuilder.Settings config, DatabasePlatform dbPlatform, Binder binder, Map<String, String> asOfTableMapping) -
Method Summary
Modifier and TypeMethodDescription<T> CQuery<T> buildQuery(OrmQueryRequest<T> request) <T> intdelete(OrmQueryRequest<T> request) <T> Tfind(OrmQueryRequest<T> request) Find and return a single bean using its unique id.<T> intfindCount(OrmQueryRequest<T> request) Build and execute the row count query.<A> List<A> findIds(OrmQueryRequest<?> request) Build and execute the find Id's query.<T> QueryIterator<T> findIterate(OrmQueryRequest<T> request) Read many beans using an iterator (except you need to close() the iterator when you have finished).<T> SpiResultSetfindResultSet(OrmQueryRequest<T> request) Execute returning the ResultSet and PreparedStatement for processing (by DTO query usually).<A extends Collection<?>>
AfindSingleAttributeList(OrmQueryRequest<?> request, A collection) Build and execute the findSingleAttributeList query.findVersions(OrmQueryRequest<T> request) Execute the find versions query returning version beans.int<T> intupdate(OrmQueryRequest<T> request)
-
Constructor Details
-
CQueryEngine
public CQueryEngine(DatabaseBuilder.Settings config, DatabasePlatform dbPlatform, Binder binder, Map<String, String> asOfTableMapping)
-
-
Method Details
-
forwardOnlyFetchSize
public int forwardOnlyFetchSize() -
buildQuery
-
delete
-
update
-
findSingleAttributeList
public <A extends Collection<?>> A findSingleAttributeList(OrmQueryRequest<?> request, A collection) Build and execute the findSingleAttributeList query. -
findIds
Build and execute the find Id's query. -
findCount
Build and execute the row count query. -
findIterate
Read many beans using an iterator (except you need to close() the iterator when you have finished). -
findVersions
Execute the find versions query returning version beans. -
findResultSet
Execute returning the ResultSet and PreparedStatement for processing (by DTO query usually). -
find
Find and return a single bean using its unique id.
-