# Uses of Interface
org.apache.torque.criteria.PreparedStatementPart

Packages that use PreparedStatementPart
Package
Description
org.apache.torque.criteria
This package contains Torque's Criteria classes.
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 PreparedStatementPart in org.apache.torque.criteria

  Classes in org.apache.torque.criteria that implement PreparedStatementPart
  Modifier and Type
  Class
  Description
  `class`
  `PreparedStatementPartImpl`
  Modifiable implementation of the PreparedStatementPart interface.
  Methods in org.apache.torque.criteria that return PreparedStatementPart
  Modifier and Type
  Method
  Description
  `final PreparedStatementPart`
  Join.`getLeftTable()`
  `final PreparedStatementPart`
  Join.`getRightTable()`
  Methods in org.apache.torque.criteria with parameters of type PreparedStatementPart
  Modifier and Type
  Method
  Description
  `Criteria`
  Criteria.`addJoin(PreparedStatementPart leftTable, PreparedStatementPart rightTable, Criterion joinCondition, JoinType joinType)`
  Adds a join to the criteria, E.g. to create the condition
  `PreparedStatementPartImpl`
  PreparedStatementPartImpl.`append(PreparedStatementPart toAppend)`
  Appends another PreparedStatementPart to this part.
  Constructors in org.apache.torque.criteria with parameters of type PreparedStatementPart
  Modifier
  Constructor
  Description
  ``
  `FromElement(String fromExpression, JoinType joinType, PreparedStatementPart joinCondition)`
  Constructor.
  ``
  `Join(PreparedStatementPart leftTable, PreparedStatementPart rightTable, Criterion joinCondition, JoinType joinType)`
  Constructor.
  ``
  `PreparedStatementPartImpl(PreparedStatementPart toCopy)`
  Copy-Constructor.

- ## Uses of PreparedStatementPart in org.apache.torque.sql.objectbuilder

  Classes in org.apache.torque.sql.objectbuilder that implement PreparedStatementPart
  Modifier and Type
  Class
  Description
  `class`
  `PreparedStatementPartForSubselect`
  A PreparedStatementPart which encapsulates a subselect.
  Methods in org.apache.torque.sql.objectbuilder that return PreparedStatementPart
  Modifier and Type
  Method
  Description
  `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.

- ## Uses of PreparedStatementPart in org.apache.torque.sql.whereclausebuilder

  Classes in org.apache.torque.sql.whereclausebuilder that implement PreparedStatementPart
  Modifier and Type
  Class
  Description
  `class`
  `CombinedPreparedStatementPart`
  A PreparedStatementPart which consists of a list of other PreparedStatementParts.
  `class`
  `NoReplacementsPreparedStatementPart`
  A PreparedStatementPart which only contains SQL and no replacements.
  `class`
  `OnlyReplacementsPreparedStatementPart`
  A PreparedStatementPart which only contains replacements, no sql.
  Methods in org.apache.torque.sql.whereclausebuilder that return PreparedStatementPart
  Modifier and Type
  Method
  Description
  `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.
  Methods in org.apache.torque.sql.whereclausebuilder with parameters of type PreparedStatementPart
  Modifier and Type
  Method
  Description
  `void`
  CombinedPreparedStatementPart.`append(PreparedStatementPart toAdd)`
  Adds a PreparedStatementPart to the list of contained PreparedStatementParts.
  Constructors in org.apache.torque.sql.whereclausebuilder with parameters of type PreparedStatementPart
  Modifier
  Constructor
  Description
  ``
  `CombinedPreparedStatementPart(PreparedStatementPart toAdd)`
  Constructor.