|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.BaseAST
antlr.CommonAST
org.hibernate.hql.ast.tree.Node
org.hibernate.hql.ast.tree.SqlFragment
Represents an SQL fragment in the AST.
Field Summary |
Fields inherited from class antlr.BaseAST |
down, right |
Constructor Summary | |
SqlFragment()
|
Method Summary | |
void |
addEmbeddedParameter(ParameterSpecification specification)
Adds a parameter specification for a parameter encountered within this node. |
ParameterSpecification[] |
getEmbeddedParameters()
Retrieve all embedded parameter specifications. |
FromElement |
getFromElement()
|
boolean |
hasEmbeddedParameters()
Determine whether this node contans embedded parameters. |
boolean |
hasFilterCondition()
|
void |
setFromElement(FromElement fromElement)
|
void |
setJoinFragment(JoinFragment joinFragment)
|
Methods inherited from class org.hibernate.hql.ast.tree.Node |
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize |
Methods inherited from class antlr.CommonAST |
getText, getType, initialize, setText, setType |
Methods inherited from class antlr.BaseAST |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.hibernate.hql.ast.tree.ParameterContainer |
setText |
Constructor Detail |
public SqlFragment()
Method Detail |
public void setJoinFragment(JoinFragment joinFragment)
public boolean hasFilterCondition()
public void setFromElement(FromElement fromElement)
public FromElement getFromElement()
public void addEmbeddedParameter(ParameterSpecification specification)
ParameterContainer
addEmbeddedParameter
in interface ParameterContainer
specification
- The generated specification.public boolean hasEmbeddedParameters()
ParameterContainer
ParameterContainer.getEmbeddedParameters()
is allowed to return null if this method returns false.
hasEmbeddedParameters
in interface ParameterContainer
public ParameterSpecification[] getEmbeddedParameters()
ParameterContainer
getEmbeddedParameters
in interface ParameterContainer
ParameterContainer.hasEmbeddedParameters()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |