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 QueryQuery.select()Create aQuerywhich will select the primary key field of the entity.static QueryCreate aQueryand set the field list in theSELECTclause.Methods in net.java.ao with parameters of type QueryModifier and TypeMethodDescription<K> intCounts all entities of the specified type matching the givenQueryinstance.<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 StringDatabaseProvider.querySelectFields(Query query, TableNameConverter converter) protected final StringDatabaseProvider.queryTableName(Query query, TableNameConverter converter) DatabaseProvider.renderQuery(Query query, TableNameConverter converter, boolean count) Top level delegating method for rendering a database-agnosticQueryobject into its (potentially) database-specific query statement.protected StringDatabaseProvider.renderQueryGroupBy(Query query) Renders the GROUP BY portion of the query in the database-specific SQL dialect.protected StringDatabaseProvider.renderQueryHaving(Query query) Renders the HAVING portion of the query in the database-specific SQL dialect.protected StringDatabaseProvider.renderQueryJoins(Query query, TableNameConverter converter) Renders the JOIN portion of the query in the database-specific SQL dialect.protected StringDatabaseProvider.renderQueryLimit(Query query) Renders the LIMIT portion of the query in the database-specific SQL dialect.protected StringDatabaseProvider.renderQueryOrderBy(Query query) Renders the ORDER BY portion of the query in the database-specific SQL dialect.protected StringDatabaseProvider.renderQuerySelect(Query query, TableNameConverter converter, boolean count) Renders the SELECT portion of a givenQueryinstance in the manner required by the database-specific SQL implementation.protected StringDatabaseProvider.renderQueryWhere(Query query) Renders the WHERE portion of the query in the database-specific SQL dialect.voidDatabaseProvider.setQueryResultSetProperties(ResultSet res, Query query) Allows the provider to set database-specific options on aResultSetinstance prior to its use by the library.voidDatabaseProvider.setQueryStatementProperties(Statement stmt, Query query) Allows the provider to set database-specific options on aStatementinstance 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 StringH2DatabaseProvider.renderQueryLimit(Query query) protected StringHSQLDatabaseProvider.renderQueryLimit(Query query) protected StringMySQLDatabaseProvider.renderQueryLimit(Query query) protected StringOracleDatabaseProvider.renderQueryLimit(Query query) protected StringSQLServerDatabaseProvider.renderQueryLimit(Query query) protected StringHSQLDatabaseProvider.renderQuerySelect(Query query, TableNameConverter converter, boolean count) protected StringOracleDatabaseProvider.renderQuerySelect(Query query, TableNameConverter converter, boolean count) protected StringSQLServerDatabaseProvider.renderQuerySelect(Query query, TableNameConverter converter, boolean count) voidSQLServerDatabaseProvider.setQueryResultSetProperties(ResultSet res, Query query)