RestrictableStatement
to centralize common functionality.
| Modifier and Type | Field and Description |
|---|---|
| private FromClause | |
| private AST |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final FromClause | getFromClause()
Implements org. |
| protected abstract Logger | |
| public final AST | getWhereClause()
Implements org. |
| protected abstract int | |
| public final boolean | hasWhereClause()
Implements org. |
| protected AST |
| fromClause | back to summary |
|---|---|
| private FromClause fromClause | |
| whereClause | back to summary |
|---|---|
| private AST whereClause | |
| AbstractRestrictableStatement | back to summary |
|---|---|
| public AbstractRestrictableStatement() | |
| getFromClause | back to summary |
|---|---|
| public final FromClause getFromClause() Implements org. Doc from org. Retreives the from-clause in effect for this statement.
| |
| getLog | back to summary |
|---|---|
| protected abstract Logger getLog() | |
| getWhereClause | back to summary |
|---|---|
| public final AST getWhereClause() Implements org. Doc from org. Retreives the where-clause defining the restriction(s) in effect for this statement. Note that this will generate a where-clause if one was not found, so caution needs to taken prior to calling this that restrictions will actually exist in the resulting statement tree (otherwise "unexpected end of subtree" errors might occur during rendering).
| |
| getWhereClauseParentTokenType | back to summary |
|---|---|
| protected abstract int getWhereClauseParentTokenType() | |
| hasWhereClause | back to summary |
|---|---|
| public final boolean hasWhereClause() Implements org. Doc from org. Does this statement tree currently contain a where clause?
| |
| locateWhereClause | back to summary |
|---|---|
| protected AST locateWhereClause() | |