Class EmptyCollectionComparisonNode


  • public class EmptyCollectionComparisonNode
    extends SimpleConditionalExpressionNode
    INTERNAL

    Purpose: Used for the EMPTY collection handling

    Responsibilities:

    • Generate the correct expression for an IS EMPTY in EJBQL
    Since:
    August 2003
    Author:
    Jon Driscoll and Joel Lucuik
    • Field Detail

      • notIndicated

        public boolean notIndicated
    • Constructor Detail

      • EmptyCollectionComparisonNode

        public EmptyCollectionComparisonNode()
        EmptyCollectionComparisonNode constructor comment.
    • Method Detail

      • validate

        public void validate​(ParseTreeContext context)
        INTERNAL Validate node and calculate its type.
        Overrides:
        validate in class Node
      • indicateNot

        public void indicateNot()
        INTERNAL Indicate if a NOT was found in the WHERE clause. Examples: ...WHERE emp.phoneNumbers IS NOT EMPTY