Class DisjunctNode

All Implemented Interfaces:
Node
Direct Known Subclasses:
DisjunctUnionNode

public class DisjunctNode extends IntersectNode
A disjunct node. evaluates to true if any of its children are false. Conversely, this node evaluates to false only iff all of its children are true, making it the exact inverse of IntersectNode In RS, it looks like: -(@f1:v1 @f2:v2)
See Also:
  • Constructor Details

    • DisjunctNode

      public DisjunctNode()
  • Method Details

    • toString

      public String toString(Node.Parenthesize mode)
      Description copied from interface: Node
      Returns the string form of this node.
      Specified by:
      toString in interface Node
      Overrides:
      toString in class QueryNode
      Parameters:
      mode - Whether the string should be encapsulated in parentheses (...)
      Returns:
      The string query.