|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object antlr.BaseAST antlr.CommonAST org.hibernate.hql.ast.tree.Node org.hibernate.hql.ast.tree.SqlNode org.hibernate.hql.ast.tree.HqlSqlWalkerNode org.hibernate.hql.ast.tree.BinaryLogicOperatorNode
public class BinaryLogicOperatorNode
Contract for nodes representing binary operators.
Field Summary |
---|
Fields inherited from class antlr.BaseAST |
---|
down, right |
Constructor Summary | |
---|---|
BinaryLogicOperatorNode()
|
Method Summary | |
---|---|
protected Type |
extractDataType(Node operand)
|
Type |
getDataType()
Retrieves the data type for the overall operator expression. |
Node |
getLeftHandOperand()
Retrieves the left-hand operand of the operator. |
Node |
getRightHandOperand()
Retrieves the right-hand operand of the operator. |
void |
initialize()
Performs the operator node initialization by seeking out any parameter nodes and setting their expected type, if possible. |
protected void |
mutateRowValueConstructorSyntaxesIfNecessary(Type lhsType,
Type rhsType)
|
Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode |
---|
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize |
Methods inherited from class org.hibernate.hql.ast.tree.SqlNode |
---|
getOriginalText, setDataType, setText |
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, 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 |
Constructor Detail |
---|
public BinaryLogicOperatorNode()
Method Detail |
---|
public void initialize() throws antlr.SemanticException
initialize
in interface OperatorNode
antlr.SemanticException
protected final void mutateRowValueConstructorSyntaxesIfNecessary(Type lhsType, Type rhsType)
protected Type extractDataType(Node operand)
public Type getDataType()
OperatorNode
getDataType
in interface OperatorNode
getDataType
in class SqlNode
public Node getLeftHandOperand()
getLeftHandOperand
in interface BinaryOperatorNode
public Node getRightHandOperand()
getRightHandOperand
in interface BinaryOperatorNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |