Verwendungen von Klasse
org.apache.torque.sql.Query
Packages, die Query verwenden
Package
Beschreibung
Adapters between Torque and various databases.
This package contains classes which are mainly used in the SQL generation
process.
This package contains classes which can build
PreparedStatementParts from a single value or column.
This package contains classes which can build
PreparedStatementParts from a WhereClauseExpression.
-
Verwendungen von Query in org.apache.torque.adapter
Methoden in org.apache.torque.adapter mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungvoid
AbstractAdapter.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.void
Adapter.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.void
DerbyAdapter.generateLimits
(Query query, long offset, int limit) Build Derby-style query with limit or offset.void
HsqldbAdapter.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.void
MssqlAdapter.generateLimits
(Query query, long offset, int limit) Modify a query to add limit and offset values for MSSQL.void
MysqlAdapter.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.void
OracleAdapter.generateLimits
(Query query, long offset, int limit) Build Oracle-style query with limit or offset.void
PostgresAdapter.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. -
Verwendungen von Query in org.apache.torque.sql
Methoden in org.apache.torque.sql, die Query zurückgebenModifizierer und TypMethodeBeschreibungstatic Query
SqlBuilder.buildQuery
(Criteria crit) Builds a Query from a criteria.Methoden in org.apache.torque.sql, die Typen mit Argumenten vom Typ Query zurückgebenMethoden in org.apache.torque.sql mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungstatic void
JoinBuilder.processJoins
(Criteria criteria, Query query) Adds the Joins from the criteria to the query. -
Verwendungen von Query in org.apache.torque.sql.objectbuilder
Methoden in org.apache.torque.sql.objectbuilder mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungObjectOrColumnPsPartBuilder.buildPs
(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter) Builds a PreparedStatementPart from a column or single value.Builds a PreparedStatementPart from a single Object.Konstruktoren in org.apache.torque.sql.objectbuilder mit Parametern vom Typ QueryModifiziererKonstruktorBeschreibungPreparedStatementPartForSubselect
(Criteria toBuildFrom, Query outerQuery) Constructor. -
Verwendungen von Query in org.apache.torque.sql.whereclausebuilder
Methoden in org.apache.torque.sql.whereclausebuilder mit Parametern vom Typ QueryModifizierer und TypMethodeBeschreibungCurrentDateTimePsPartBuilder.buildPs
(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter) Builds a PreparedStatementPart from a WhereClauseExpression.EnumValueBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Takes a WhereClauseExpression containing a enum object and unwraps the enum value.InBuilder.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.LikeBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Builds the PS part for a WhereClauseExpression with a LIKE operator.NullValueBuilder.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 !StandardBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.VerbatimSqlConditionBuilder.buildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.WhereClausePsPartBuilder.buildPs
(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter) Builds a PreparedStatementPart from a WhereClauseExpression.