public class BinaryLogicOperatorNode extends AbstractSelectExpression 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)  | 
void | 
setScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node. 
 | 
protected void | 
translate(int valueElements,
         int comparisonType,
         String comparisonText,
         String[] lhsElementTexts,
         String[] rhsElementTexts,
         ParameterSpecification lhsEmbeddedCompositeParameterSpecification,
         ParameterSpecification rhsEmbeddedCompositeParameterSpecification,
         antlr.collections.AST container)  | 
getAlias, getFromElement, getScalarColumnIndex, isConstructor, isReturnableEntity, isScalar, setAlias, setScalarColumngetAliasGenerator, 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, xmlSerializeRootOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetTextpublic 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 interface SelectExpressiongetDataType in class SqlNodepublic Node getLeftHandOperand()
getLeftHandOperand in interface BinaryOperatorNodepublic Node getRightHandOperand()
getRightHandOperand in interface BinaryOperatorNodepublic void setScalarColumnText(int i)
                         throws antlr.SemanticException
SelectExpressionsetScalarColumnText in interface SelectExpressioni - The index of the select expression in the projection list.antlr.SemanticException - if a semantic error occursCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.