WHERE clause of a query consists of a conditional expression used to
select objects or values that satisfy the expression. The WHERE clause
restricts the result of a select statement or the scope of an update or delete operation.
BNF: where_clause ::= WHERE conditional_expression
WhereClause
| Access | Constructor and Description |
|---|---|
| public | WhereClauseStateObject(AbstractModifyStatementStateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | WhereClauseStateObject(AbstractSelectStatementStateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(StateObjectVisitor
The visitor)visitor to visit this objectImplements org. StateObject by the given visitor.
|
| public WhereClause | getExpression()
Overrides org. Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public String | getIdentifier()
Implements abstract org. |
| public void | setExpression(WhereClause
The expression)parsed object representing a Where
clauseKeeps a reference of the |
| WhereClauseStateObject | back to summary |
|---|---|
| public WhereClauseStateObject(AbstractModifyStatementStateObject parent) Creates a new
| |
| WhereClauseStateObject | back to summary |
|---|---|
| public WhereClauseStateObject(AbstractSelectStatementStateObject parent) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| getExpression | back to summary |
|---|---|
| public WhereClause getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| getIdentifier | back to summary |
|---|---|
| public String getIdentifier() Implements abstract org. Returns the JPQL identifier of this clause. | |
| setExpression | back to summary |
|---|---|
| public void setExpression(WhereClause expression) Keeps a reference of the
| |