Uses of Class
net.java.ao.Query
Packages that use Query
-
Uses of Query in net.java.ao
Methods in net.java.ao that return QueryModifier and TypeMethodDescriptionQuery.distinct()
Query.limit
(int limit) Query.offset
(int offset) static Query
Query.select()
Create aQuery
which will select the primary key field of the entity.static Query
Create aQuery
and set the field list in theSELECT
clause.Methods in net.java.ao with parameters of type QueryModifier and TypeMethodDescription<K> int
Counts all entities of the specified type matching the givenQuery
instance.<T extends RawEntity<K>,
K>
T[]Selects all entities of the specified type which match the givenQuery
.<T extends RawEntity<K>,
K>
T[]Selects all entities matching the given type andQuery
.protected final String
DatabaseProvider.querySelectFields
(Query query, TableNameConverter converter) protected final String
DatabaseProvider.queryTableName
(Query query, TableNameConverter converter) DatabaseProvider.renderQuery
(Query query, TableNameConverter converter, boolean count) Top level delegating method for rendering a database-agnosticQuery
object into its (potentially) database-specific query statement.protected String
DatabaseProvider.renderQueryGroupBy
(Query query) Renders the GROUP BY portion of the query in the database-specific SQL dialect.protected String
DatabaseProvider.renderQueryHaving
(Query query) Renders the HAVING portion of the query in the database-specific SQL dialect.protected String
DatabaseProvider.renderQueryJoins
(Query query, TableNameConverter converter) Renders the JOIN portion of the query in the database-specific SQL dialect.protected String
DatabaseProvider.renderQueryLimit
(Query query) Renders the LIMIT portion of the query in the database-specific SQL dialect.protected String
DatabaseProvider.renderQueryOrderBy
(Query query) Renders the ORDER BY portion of the query in the database-specific SQL dialect.protected String
DatabaseProvider.renderQuerySelect
(Query query, TableNameConverter converter, boolean count) Renders the SELECT portion of a givenQuery
instance in the manner required by the database-specific SQL implementation.protected String
DatabaseProvider.renderQueryWhere
(Query query) Renders the WHERE portion of the query in the database-specific SQL dialect.void
DatabaseProvider.setQueryResultSetProperties
(ResultSet res, Query query) Allows the provider to set database-specific options on aResultSet
instance prior to its use by the library.void
DatabaseProvider.setQueryStatementProperties
(Statement stmt, Query query) Allows the provider to set database-specific options on aStatement
instance prior to its usage in a SELECT query.<T extends RawEntity<K>,
K>
voidEntityManager.stream
(Class<T> type, Query query, EntityStreamCallback<T, K> streamCallback) Selects all entities of the given type and feeds them to the callback, one by one. -
Uses of Query in net.java.ao.db
Methods in net.java.ao.db with parameters of type QueryModifier and TypeMethodDescriptionprotected String
H2DatabaseProvider.renderQueryLimit
(Query query) protected String
HSQLDatabaseProvider.renderQueryLimit
(Query query) protected String
MySQLDatabaseProvider.renderQueryLimit
(Query query) protected String
OracleDatabaseProvider.renderQueryLimit
(Query query) protected String
SQLServerDatabaseProvider.renderQueryLimit
(Query query) protected String
HSQLDatabaseProvider.renderQuerySelect
(Query query, TableNameConverter converter, boolean count) protected String
OracleDatabaseProvider.renderQuerySelect
(Query query, TableNameConverter converter, boolean count) protected String
SQLServerDatabaseProvider.renderQuerySelect
(Query query, TableNameConverter converter, boolean count) void
SQLServerDatabaseProvider.setQueryResultSetProperties
(ResultSet res, Query query)