public class BinaryLogicOperatorNode extends HqlSqlWalkerNode implements BinaryOperatorNode
| Constructor and Description |
|---|
BinaryLogicOperatorNode() |
| Modifier and Type | Method and Description |
|---|---|
protected Type |
extractDataType(Node operand) |
protected static String[] |
extractMutationTexts(Node operand,
int count) |
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) |
protected void |
translate(int valueElements,
int comparisonType,
String comparisonText,
String[] lhsElementTexts,
String[] rhsElementTexts,
ParameterSpecification lhsEmbeddedCompositeParameterSpecification,
ParameterSpecification rhsEmbeddedCompositeParameterSpecification,
antlr.collections.AST container) |
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initializegetOriginalText, setDataType, setTextgetColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initializeaddChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenpublic void initialize()
throws antlr.SemanticException
initialize in interface OperatorNodeantlr.SemanticExceptionprotected final void mutateRowValueConstructorSyntaxesIfNecessary(Type lhsType, Type rhsType)
protected void translate(int valueElements,
int comparisonType,
String comparisonText,
String[] lhsElementTexts,
String[] rhsElementTexts,
ParameterSpecification lhsEmbeddedCompositeParameterSpecification,
ParameterSpecification rhsEmbeddedCompositeParameterSpecification,
antlr.collections.AST container)
public Type getDataType()
OperatorNodegetDataType in interface OperatorNodegetDataType in class SqlNodepublic Node getLeftHandOperand()
getLeftHandOperand in interface BinaryOperatorNodepublic Node getRightHandOperand()
getRightHandOperand in interface BinaryOperatorNodeCopyright © 2012 JBoss by Red Hat. All Rights Reserved.