Class BindingSetAssignment

    • Field Detail

      • bindingNames

        private java.util.Set<java.lang.String> bindingNames
      • bindingSets

        private java.lang.Iterable<BindingSet> bindingSets
    • Constructor Detail

      • BindingSetAssignment

        public BindingSetAssignment()
    • 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.
        Specified by:
        getBindingNames in interface TupleExpr
        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.
        Specified by:
        getAssuredBindingNames in interface TupleExpr
        Returns:
        A set of binding names.
      • findBindingNames

        private java.util.Set<java.lang.String> findBindingNames()
      • 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.
        Specified by:
        visit in interface QueryModelNode
        Throws:
        X extends java.lang.Exception
      • equals

        public boolean equals​(java.lang.Object obj)
        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 java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • setBindingNames

        public void setBindingNames​(java.util.Set<java.lang.String> bindingNames)
        Parameters:
        bindingNames - The bindingNames to set if known.
      • setBindingSets

        public void setBindingSets​(java.lang.Iterable<BindingSet> bindingSets)
        Parameters:
        bindingSets - The bindingSets to set.
      • getBindingSets

        public java.lang.Iterable<BindingSet> getBindingSets()
        Returns:
        Returns the bindingSets.