## 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

    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
See Also:
  Serialized Form

Field Summary

Fields inherited from class antlr.BaseAST
`down, right`

Constructor Summary
`AbstractNullnessCheckNode()`

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()` Called 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, getOperand`

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

### AbstractNullnessCheckNode

    public AbstractNullnessCheckNode()

Method Detail

### initialize

    public void initialize()

  Called by the tree walker during hql-sql semantic analysis after the operator sub-tree is completely built.

  Specified by:
    `initialize` in interface `OperatorNode`
  Overrides:
    `initialize` in class `UnaryLogicOperatorNode`

### 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

    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.

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.