Class NUnion

All Implemented Interfaces:
Serializable, Cloneable, QueryRef, QueryModelNode, TupleExpr, VariableScopeChange

public class NUnion extends NTuple
A tuple expression that represents an nary-Union.
Author:
Andreas Schwarte
See Also:
  • Constructor Details

    • NUnion

      public NUnion(List<TupleExpr> args, QueryInfo queryInfo)
      Construct an nary-tuple. Note that the parentNode of all arguments is set to this instance.
      Parameters:
      args -
  • Method Details

    • visit

      public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X
      Description copied from interface: QueryModelNode
      Visits this node. The node reports itself to the visitor with the proper runtime type.
      Specified by:
      visit in interface QueryModelNode
      Overrides:
      visit in class NTuple
      Throws:
      X
    • clone

      public NUnion clone()
      Description copied from interface: QueryModelNode
      Returns a (deep) clone of this query model node. This method recursively clones the entire node tree, starting from this nodes.
      Specified by:
      clone in interface QueryModelNode
      Specified by:
      clone in interface TupleExpr
      Overrides:
      clone in class NTuple
      Returns:
      A deep clone of this query model node.