# Verwendungen von Klasse
org.apache.torque.sql.Query

Packages, die Query verwenden
Package
Beschreibung
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.

- ## Verwendungen von Query in org.apache.torque.adapter

  Methoden in org.apache.torque.adapter mit Parametern vom Typ Query
  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  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ückgeben
  Modifizierer und Typ
  Methode
  Beschreibung
  `static 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ückgeben
  Modifizierer und Typ
  Methode
  Beschreibung
  `List<Query>`
  Query.`getParts()`
  Returns the parts of this query.
  Methoden in org.apache.torque.sql mit Parametern vom Typ Query
  Modifizierer und Typ
  Methode
  Beschreibung
  `static 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 Query
  Modifizierer und Typ
  Methode
  Beschreibung
  `PreparedStatementPart`
  ObjectOrColumnPsPartBuilder.`buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter)`
  Builds a PreparedStatementPart from a column or single value.
  `PreparedStatementPart`
  ObjectPsPartBuilder.`buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter)`
  Builds a PreparedStatementPart from a single Object.
  Konstruktoren in org.apache.torque.sql.objectbuilder mit Parametern vom Typ Query
  Modifizierer
  Konstruktor
  Beschreibung
  ``
  `PreparedStatementPartForSubselect(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 Query
  Modifizierer und Typ
  Methode
  Beschreibung
  `PreparedStatementPart`
  CurrentDateTimePsPartBuilder.`buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter)`
  Builds a PreparedStatementPart from a WhereClauseExpression.
  `PreparedStatementPart`
  EnumValueBuilder.`buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)`
  Takes a WhereClauseExpression containing a enum object and unwraps the enum value.
  `PreparedStatementPart`
  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.
  `PreparedStatementPart`
  LikeBuilder.`buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)`
  Builds the PS part for a WhereClauseExpression with a LIKE operator.
  `PreparedStatementPart`
  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 !
  `PreparedStatementPart`
  StandardBuilder.`buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)`
  Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.
  `PreparedStatementPart`
  VerbatimSqlConditionBuilder.`buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)`
  Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.
  `PreparedStatementPart`
  WhereClausePsPartBuilder.`buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter)`
  Builds a PreparedStatementPart from a WhereClauseExpression.