org.hibernate.hql.ast.tree

Class AbstractNullnessCheckNode

Implemented Interfaces:
InitializeableNode, OperatorNode, UnaryOperatorNode
Known Direct Subclasses:
IsNotNullLogicOperatorNode, IsNullLogicOperatorNode

public abstract class AbstractNullnessCheckNode
extends UnaryLogicOperatorNode

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

Author:
Steve Ebersole

Method Summary

protected abstract String
getExpansionConnectorText()
When (if) we need to expand a row value constructor, what is the text of the connector to use between the expansion fragments.
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.
void
initialize()

Methods inherited from class org.hibernate.hql.ast.tree.UnaryLogicOperatorNode

getDataType, getOperand, initialize

Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode

getASTFactory, getAliasGenerator, getSessionFactoryHelper, getWalker, initialize

Methods inherited from class org.hibernate.hql.ast.tree.SqlNode

getDataType, getOriginalText, setDataType, setText

Methods inherited from class org.hibernate.hql.ast.tree.Node

getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize

Method Details

getExpansionConnectorText

protected abstract String 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.

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.

initialize

public void initialize()
Specified by:
initialize in interface OperatorNode
Overrides:
initialize in interface UnaryLogicOperatorNode