| Modifier and Type | Field and Description |
|---|---|
| protected SubSelectExpression | subSelect
Allows a sub-select to be defined from clause. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DatabaseTable | aliasForTable(DatabaseTable table)
Overrides org. |
| public int | computeHashCode()
Overrides org. |
| public String | descriptionOfNodeType()
Overrides org. |
| public boolean | equals(Object
the reference object with which to compare. object)Overrides org. |
| public Expression | get(String alias)
Overrides org. |
| public SubSelectExpression | |
| public void | iterateOn(ExpressionIterator iterator)
Overrides org. |
| public Expression | normalize(ExpressionNormalizer normalizer)
Overrides org. |
| protected void | postCopyIn(Map<K, V> alreadyDone)
Overrides org. |
| public Expression | rebuildOn(Expression newBase)
Overrides org. |
| public void | |
| public Expression | twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)
Overrides org. |
| public void | writeDescriptionOn(BufferedWriter writer)
Overrides org. |
| subSelect | back to summary |
|---|---|
| protected SubSelectExpression subSelect Allows a sub-select to be defined from clause. | |
| FromSubSelectExpression | back to summary |
|---|---|
| public FromSubSelectExpression() | |
| FromSubSelectExpression | back to summary |
|---|---|
| public FromSubSelectExpression(SubSelectExpression subSelect) | |
| aliasForTable | back to summary |
|---|---|
| public DatabaseTable aliasForTable(DatabaseTable table) Overrides org. INTERNAL: Any table should use the sub-selects alias.
| |
| computeHashCode | back to summary |
|---|---|
| public int computeHashCode() Overrides org. INTERNAL: Compute a consistent hash-code for the expression.
| |
| descriptionOfNodeType | back to summary |
|---|---|
| public String descriptionOfNodeType() Overrides org. INTERNAL: Used for debug printing.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides org. INTERNAL: Return if the expression is equal to the other. This is used to allow dynamic expression's SQL to be cached. From sub-selects are too complex to cache, so use identity.
| |
| get | back to summary |
|---|---|
| public Expression get(String alias) Overrides org. This is used by sub-selects in the from clause to define a virtual table, 'get' allows one of the sub-selected attributes to be aliased without using the field name.
| |
| getSubSelect | back to summary |
|---|---|
| public SubSelectExpression getSubSelect() | |
| iterateOn | back to summary |
|---|---|
| public void iterateOn(ExpressionIterator iterator) Overrides org. INTERNAL: Also iterate over the sub-select if present.
| |
| normalize | back to summary |
|---|---|
| public Expression normalize(ExpressionNormalizer normalizer) Overrides org. INTERNAL: Normalize the expression into a printable structure. Any joins must be added to form a new root.
| |
| postCopyIn | back to summary |
|---|---|
| protected void postCopyIn(Map<K, V> alreadyDone) Overrides org. INTERNAL: Also copy over the sub-select if present.
| |
| rebuildOn | back to summary |
|---|---|
| public Expression rebuildOn(Expression newBase) Overrides org. INTERNAL: This expression is built on a different base than the one we want. Rebuild it and return the root of the new tree
| |
| setSubSelect | back to summary |
|---|---|
| public void setSubSelect(SubSelectExpression subSelect) | |
| twistedForBaseAndContext | back to summary |
|---|---|
| public Expression twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase) Overrides org. INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression. This is used for transforming a standalone expression (e.g. the join criteria of a mapping) into part of some larger expression. You normally would not call this directly, instead calling twist See the comment there for more details"
| |
| writeDescriptionOn | back to summary |
|---|---|
| public void writeDescriptionOn(BufferedWriter writer) throws IOException Overrides org. INTERNAL: Used to print a debug form of the expression tree.
| |