Uses of Class
net.java.ao.Query

Packages that use Query
net.java.ao   
net.java.ao.db   
 

Uses of Query in net.java.ao
 

Methods in net.java.ao that return Query
 Query Query.alias(Class<? extends RawEntity<?>> table, String alias)
           
 Query Query.distinct()
           
 Query Query.from(Class<? extends RawEntity<?>> tableType)
           
 Query Query.from(String table)
           
 Query Query.group(String clause)
           
 Query Query.join(Class<? extends RawEntity<?>> join)
           
 Query Query.join(Class<? extends RawEntity<?>> join, String on)
           
 Query Query.limit(int limit)
           
 Query Query.offset(int offset)
           
 Query Query.order(String clause)
           
static Query Query.select()
           
static Query Query.select(String fields)
           
 Query Query.where(String clause, Object... params)
           
 

Methods in net.java.ao with parameters of type Query
<K> int
EntityManager.count(Class<? extends RawEntity<K>> type, Query query)
          Counts all entities of the specified type matching the given Query instance.
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type, Query query)
          Selects all entities matching the given type and Query.
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type, String field, Query query)
          Selects all entities of the specified type which match the given Query.
protected  String DatabaseProvider.querySelectFields(Query query)
           
protected  String DatabaseProvider.queryTableName(Query query, TableNameConverter converter)
           
 String DatabaseProvider.renderQuery(Query query, TableNameConverter converter, boolean count)
          Top level delegating method for rendering a database-agnostic Query 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.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 given Query 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 a ResultSet instance prior to its use by the library.
 void DatabaseProvider.setQueryStatementProperties(Statement stmt, Query query)
          Allows the provider to set database-specific options on a Statement instance prior to its usage in a SELECT query.
<T extends RawEntity<K>,K>
void
EntityManager.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 Query
protected  String SQLServerDatabaseProvider.renderQueryLimit(Query query)
           
protected  String OracleDatabaseProvider.renderQueryLimit(Query query)
           
protected  String HSQLDatabaseProvider.renderQueryLimit(Query query)
           
protected  String SQLServerDatabaseProvider.renderQuerySelect(Query query, TableNameConverter converter, boolean count)
           
protected  String HSQLDatabaseProvider.renderQuerySelect(Query query, TableNameConverter converter, boolean count)
           
 void SQLServerDatabaseProvider.setQueryResultSetProperties(ResultSet res, Query query)
           
 void OracleDatabaseProvider.setQueryResultSetProperties(ResultSet res, Query query)
           
 void OracleDatabaseProvider.setQueryStatementProperties(Statement stmt, Query query)
           
 



Copyright © 2007-2011. All Rights Reserved.