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.
|
Modifier and Type | Class and Description |
---|---|
class |
PreparedStatementPartImpl
Modifiable implementation of the PreparedStatementPart interface.
|
Modifier and Type | Method and Description |
---|---|
PreparedStatementPart |
Join.getLeftTable() |
PreparedStatementPart |
Join.getRightTable() |
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.addJoin(PreparedStatementPart leftTable,
PreparedStatementPart rightTable,
Criterion joinCondition,
JoinType joinType)
Adds a join to the criteria, E.g.
|
PreparedStatementPartImpl |
PreparedStatementPartImpl.append(PreparedStatementPart toAppend)
Appends another PreparedStatementPart to this part.
|
Constructor and Description |
---|
FromElement(String fromExpression,
JoinType joinType,
PreparedStatementPart joinCondition)
Constructor.
|
Join(PreparedStatementPart leftTable,
PreparedStatementPart rightTable,
Criterion joinCondition,
JoinType joinType)
Constructor.
|
PreparedStatementPartImpl(PreparedStatementPart toCopy)
Copy-Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
PreparedStatementPartForSubselect
A PreparedStatementPart which encapsulates a subselect.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
CombinedPreparedStatementPart.append(PreparedStatementPart toAdd)
Adds a PreparedStatementPart to the list of contained PreparedStatementParts.
|
Constructor and Description |
---|
CombinedPreparedStatementPart(PreparedStatementPart toAdd)
Constructor.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.