Package org.hibernate.hql.ast.tree
Class AbstractNullnessCheckNode
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.UnaryLogicOperatorNode
org.hibernate.hql.ast.tree.AbstractNullnessCheckNode
- All Implemented Interfaces:
antlr.collections.AST,Serializable,InitializeableNode,OperatorNode,UnaryOperatorNode
- Direct Known Subclasses:
IsNotNullLogicOperatorNode,IsNullLogicOperatorNode
Base class for nodes dealing 'is null' and 'is not null' operators.
todo : a good deal of this is copied from BinaryLogicOperatorNode; look at consolidating these code fragments
- See Also:
-
Field Summary
Fields inherited from class antlr.BaseAST
down, right -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringWhen (if) we need to expand a row value constructor, what is the text of the connector to use between the expansion fragments.protected abstract intWhen (if) we need to expand a row value constructor, what is the type of connector to use between the expansion fragments.voidCalled by the tree walker during hql-sql semantic analysis after the operator sub-tree is completely built.Methods inherited from class org.hibernate.hql.ast.tree.UnaryLogicOperatorNode
getDataType, getOperandMethods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initializeMethods inherited from class org.hibernate.hql.ast.tree.SqlNode
getOriginalText, setDataType, setTextMethods inherited from class org.hibernate.hql.ast.tree.Node
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initializeMethods inherited from class antlr.CommonAST
getText, getType, initialize, setTypeMethods 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
-
Constructor Details
-
AbstractNullnessCheckNode
public AbstractNullnessCheckNode()
-
-
Method Details
-
initialize
public void initialize()Called by the tree walker during hql-sql semantic analysis after the operator sub-tree is completely built.- Specified by:
initializein interfaceOperatorNode- Overrides:
initializein classUnaryLogicOperatorNode
-
getExpansionConnectorType
protected abstract int getExpansionConnectorType()When (if) we need to expand a row value constructor, what is the type of connector to use between the expansion fragments.- Returns:
- The expansion connector type.
-
getExpansionConnectorText
When (if) we need to expand a row value constructor, what is the text of the connector to use between the expansion fragments.- Returns:
- The expansion connector text.
-