Package | Description |
---|---|
org.apache.torque.criteria |
This package contains Torque's Criteria classes.
|
Modifier and Type | Field and Description |
---|---|
static JoinType |
Criteria.INNER_JOIN
"INNER JOIN" SQL statement
|
static JoinType |
Criteria.LEFT_JOIN
"LEFT JOIN" SQL statement
|
static JoinType |
Criteria.RIGHT_JOIN
"RIGHT JOIN" SQL statement
|
Modifier and Type | Method and Description |
---|---|
JoinType |
FromElement.getJoinType()
Returns the join type.
|
JoinType |
Join.getJoinType() |
static JoinType |
JoinType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoinType[] |
JoinType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.addJoin(Column left,
Column right,
JoinType joinType)
Adds a join to the criteria, E.g.
|
Criteria |
Criteria.addJoin(Column left,
Column right,
SqlEnum comparison,
JoinType joinType)
Adds a join to the criteria, E.g.
|
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.
|
Constructor and Description |
---|
FromElement(String fromExpression,
JoinType joinType,
PreparedStatementPart joinCondition)
Constructor.
|
FromElement(String fromExpression,
JoinType joinType,
String joinCondition)
Constructor.
|
FromElement(String fromExpression,
JoinType joinType,
String joinCondition,
List<Object> preparedStatementReplacements)
Constructor.
|
Join(Column leftColumn,
Column rightColumn,
SqlEnum comparison,
JoinType joinType)
Constructor with the comparison operator.
|
Join(PreparedStatementPart leftTable,
PreparedStatementPart rightTable,
Criterion joinCondition,
JoinType joinType)
Constructor.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.