Class 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

See Also:
  • 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:
      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.