Class Intersection

    • Constructor Detail

      • Intersection

        public Intersection()
      • Intersection

        public Intersection​(TupleExpr leftArg,
                            TupleExpr rightArg)
        Creates a new intersection operator that operates on the two specified arguments.
        Parameters:
        leftArg - The left argument of the intersection operator.
        rightArg - The right argument of the intersection operator.
    • Method Detail

      • getBindingNames

        public java.util.Set<java.lang.String> getBindingNames()
        Description copied from interface: TupleExpr
        Gets the names of the bindings that are, or can be, returned by this tuple expression when it is evaluated.
        Returns:
        A set of binding names.
      • getAssuredBindingNames

        public java.util.Set<java.lang.String> getAssuredBindingNames()
        Description copied from interface: TupleExpr
        Gets the names of the bindings that are guaranteed to be present in the results produced by this tuple expression.
        Returns:
        A set of binding names.
      • visit

        public <X extends java.lang.Exception> void visit​(QueryModelVisitor<X> visitor)
                                                   throws X extends java.lang.Exception
        Description copied from interface: QueryModelNode
        Visits this node. The node reports itself to the visitor with the proper runtime type.
        Throws:
        X extends java.lang.Exception
      • equals

        public boolean equals​(java.lang.Object other)
        Description copied from interface: QueryModelNode
        Returns true if this query model node and its children are recursively equal to o and its children.
        Specified by:
        equals in interface QueryModelNode
        Overrides:
        equals in class BinaryTupleOperator