Package | Description |
---|---|
org.apache.torque.criteria |
This package contains Torque's Criteria classes.
|
Modifier and Type | Method and Description |
---|---|
Criterion |
Criterion.and(Criterion criterion)
Replaces this criterion's condition with
(this criterion's condition AND criterion).
|
Criterion |
Criteria.getHaving()
Get Having Criterion.
|
Criterion |
Join.getJoinCondition() |
Criterion |
Criteria.getTopLevelCriterion()
Returns the top level Criterion.
|
Criterion |
Criterion.or(Criterion criterion)
Replaces this criterion's condition with
(this criterion's condition OR criterion).
|
Criterion |
Criterion.setIgnoreCase(boolean b)
Sets ignore case.
|
Modifier and Type | Method and Description |
---|---|
List<Criterion> |
Criterion.getParts()
Returns the parts of which this criterion consists.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.addHaving(Criterion having)
This method adds a prepared Criterion object to the Criteria as a having
clause.
|
Criteria |
Criteria.addJoin(PreparedStatementPart leftTable,
PreparedStatementPart rightTable,
Criterion joinCondition,
JoinType joinType)
Adds a join to the criteria, E.g.
|
Criteria |
Criteria.addJoin(String leftTable,
String rightTable,
Criterion joinCondition,
JoinType joinType)
Adds a join to the criteria.
|
Criteria |
Criteria.and(Criterion criterion)
"AND"s Criterion object with the conditions in this Criteria.
|
Criterion |
Criterion.and(Criterion criterion)
Replaces this criterion's condition with
(this criterion's condition AND criterion).
|
Criteria |
Criteria.or(Criterion criterion)
"OR"s a Criterion object with the conditions in this Criteria.
|
Criterion |
Criterion.or(Criterion criterion)
Replaces this criterion's condition with
(this criterion's condition OR criterion).
|
Criteria |
Criteria.where(Criterion criterion)
"AND"s Criterion object with the conditions in this Criteria.
|
Constructor and Description |
---|
Criterion(Criterion toCopy)
Creates a shallow copy of the given Criterion.
|
Join(PreparedStatementPart leftTable,
PreparedStatementPart rightTable,
Criterion joinCondition,
JoinType joinType)
Constructor.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.