public abstract class AbstractRestrictableStatement extends AbstractStatement implements RestrictableStatement
RestrictableStatement
to centralize common functionality.Constructor and Description |
---|
AbstractRestrictableStatement() |
Modifier and Type | Method and Description |
---|---|
FromClause |
getFromClause()
Retrieve the from-clause in effect for this statement.
|
protected abstract CoreMessageLogger |
getLog() |
antlr.collections.AST |
getWhereClause()
Retrieve the where-clause defining the restriction(s) in effect for
this statement.
|
protected abstract int |
getWhereClauseParentTokenType() |
boolean |
hasWhereClause()
Does this statement tree currently contain a where clause?
|
protected antlr.collections.AST |
locateWhereClause() |
getDisplayText
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
getDataType, getOriginalText, setDataType, setText
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getStatementType, getWalker, needsExecutor
protected abstract int getWhereClauseParentTokenType()
protected abstract CoreMessageLogger getLog()
public final FromClause getFromClause()
RestrictableStatement
getFromClause
in interface RestrictableStatement
public final boolean hasWhereClause()
RestrictableStatement
hasWhereClause
in interface RestrictableStatement
public final antlr.collections.AST getWhereClause()
RestrictableStatement
getWhereClause
in interface RestrictableStatement
protected antlr.collections.AST locateWhereClause()
Copyright © 2021 JBoss by Red Hat. All rights reserved.