Uses of Class
org.apache.torque.sql.Query
-
Packages that use Query Package Description org.apache.torque.adapter Adapters between Torque and various databases.org.apache.torque.sql This package contains classes which are mainly used in the SQL generation process.org.apache.torque.sql.objectbuilder This package contains classes which can build PreparedStatementParts from a single value or column.org.apache.torque.sql.whereclausebuilder This package contains classes which can build PreparedStatementParts from a WhereClauseExpression. -
-
Uses of Query in org.apache.torque.adapter
Methods in org.apache.torque.adapter with parameters of type Query Modifier and Type Method Description voidAbstractAdapter. generateLimits(Query query, long offset, int limit)This method is used to generate the database specific query extension to limit the number of record returned.voidAdapter. generateLimits(Query query, long offset, int limit)This method is used to generate the database specific query extension to limit the number of record returned.voidDerbyAdapter. generateLimits(Query query, long offset, int limit)Build Derby-style query with limit or offset.voidHsqldbAdapter. generateLimits(Query query, long offset, int limit)Generate a LIMIT limit OFFSET offset clause if offset > 0 or an LIMIT limit clause if limit is > 0 and offset is 0.voidMssqlAdapter. generateLimits(Query query, long offset, int limit)Modify a query to add limit and offset values for MSSQL.voidMysqlAdapter. generateLimits(Query query, long offset, int limit)Generate a LIMIT offset, limit clause if offset > 0 or an LIMIT limit clause if limit is > 0 and offset is 0.voidOracleAdapter. generateLimits(Query query, long offset, int limit)Build Oracle-style query with limit or offset.voidPostgresAdapter. generateLimits(Query query, long offset, int limit)Generate a LIMIT limit OFFSET offset clause if offset > 0 or an LIMIT limit clause if limit is > 0 and offset is 0. -
Uses of Query in org.apache.torque.sql
Methods in org.apache.torque.sql that return Query Modifier and Type Method Description static QuerySqlBuilder. buildQuery(Criteria crit)Builds a Query from a criteria.Methods in org.apache.torque.sql that return types with arguments of type Query Modifier and Type Method Description List<Query>Query. getParts()Returns the parts of this query.Methods in org.apache.torque.sql with parameters of type Query Modifier and Type Method Description static voidJoinBuilder. processJoins(Criteria criteria, Query query)Adds the Joins from the criteria to the query. -
Uses of Query in org.apache.torque.sql.objectbuilder
Methods in org.apache.torque.sql.objectbuilder with parameters of type Query Modifier and Type Method Description PreparedStatementPartObjectOrColumnPsPartBuilder. buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a column or single value.PreparedStatementPartObjectPsPartBuilder. buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a single Object.Constructors in org.apache.torque.sql.objectbuilder with parameters of type Query Constructor Description PreparedStatementPartForSubselect(Criteria toBuildFrom, Query outerQuery)Constructor. -
Uses of Query in org.apache.torque.sql.whereclausebuilder
Methods in org.apache.torque.sql.whereclausebuilder with parameters of type Query Modifier and Type Method Description PreparedStatementPartCurrentDateTimePsPartBuilder. buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a WhereClauseExpression.PreparedStatementPartEnumValueBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Takes a WhereClauseExpression containing a enum object and unwraps the enum value.PreparedStatementPartInBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Takes a columnName and criteria and builds a SQL 'IN' expression taking into account the ignoreCase flag.PreparedStatementPartLikeBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Builds the PS part for a WhereClauseExpression with a LIKE operator.PreparedStatementPartNullValueBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a WhereClauseExpression which rhs is null and which has one of the comparison opertator =, <>, or !PreparedStatementPartStandardBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.PreparedStatementPartVerbatimSqlConditionBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.PreparedStatementPartWhereClausePsPartBuilder. buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a WhereClauseExpression.
-