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()
Retreives the from-clause in effect for this statement.
|
protected abstract CoreMessageLogger |
getLog() |
antlr.collections.AST |
getWhereClause()
Retreives 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
RestrictableStatement.getFromClause()
public final boolean hasWhereClause()
RestrictableStatement
hasWhereClause
in interface RestrictableStatement
RestrictableStatement.hasWhereClause()
public final antlr.collections.AST getWhereClause()
RestrictableStatement
getWhereClause
in interface RestrictableStatement
RestrictableStatement.getWhereClause()
protected antlr.collections.AST locateWhereClause()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.