Class TripleRef

    • Field Detail

      • subjectVar

        private Var subjectVar
      • predicateVar

        private Var predicateVar
      • objectVar

        private Var objectVar
      • exprVar

        private Var exprVar
    • Constructor Detail

      • TripleRef

        public TripleRef()
      • TripleRef

        public TripleRef​(Var subjectVar,
                         Var predicateVar,
                         Var objectVar,
                         Var exprVar)
    • Method Detail

      • getSubjectVar

        public Var getSubjectVar()
      • setSubjectVar

        public void setSubjectVar​(Var subject)
      • getPredicateVar

        public Var getPredicateVar()
      • setPredicateVar

        public void setPredicateVar​(Var predicate)
      • getObjectVar

        public Var getObjectVar()
      • setObjectVar

        public void setObjectVar​(Var object)
      • getExprVar

        public Var getExprVar()
        Returns the context variable, if available.
      • setExprVar

        public void setExprVar​(Var context)
      • 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.
      • getVarList

        public java.util.List<Var> getVarList()
      • getVars

        public <L extends java.util.Collection<Var>> L getVars​(L varCollection)
        Adds the variables of this statement pattern to the supplied collection.
      • 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 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 java.lang.Object
      • hashCode

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