Class ImmutableTupleQueryResult

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.eclipse.rdf4j.common.iteration.CloseableIteration<org.eclipse.rdf4j.query.BindingSet,​org.eclipse.rdf4j.query.QueryEvaluationException>, org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,​org.eclipse.rdf4j.query.QueryEvaluationException>, org.eclipse.rdf4j.query.QueryResult<org.eclipse.rdf4j.query.BindingSet>, org.eclipse.rdf4j.query.TupleQueryResult

    @NotThreadSafe
    public class ImmutableTupleQueryResult
    extends java.lang.Object
    implements org.eclipse.rdf4j.query.TupleQueryResult
    Author:
    Fabrizio Giudici
    • Constructor Detail

      • ImmutableTupleQueryResult

        public ImmutableTupleQueryResult​(org.eclipse.rdf4j.query.TupleQueryResult tqr)
                                  throws org.eclipse.rdf4j.query.QueryEvaluationException
        Throws:
        org.eclipse.rdf4j.query.QueryEvaluationException
      • ImmutableTupleQueryResult

        public ImmutableTupleQueryResult​(ImmutableTupleQueryResult tqr)
                                  throws org.eclipse.rdf4j.query.QueryEvaluationException
        Throws:
        org.eclipse.rdf4j.query.QueryEvaluationException
    • Method Detail

      • getBindingNames

        public java.util.List<java.lang.String> getBindingNames()
        Specified by:
        getBindingNames in interface org.eclipse.rdf4j.query.TupleQueryResult
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,​org.eclipse.rdf4j.query.QueryEvaluationException>
      • next

        public org.eclipse.rdf4j.query.BindingSet next()
        Specified by:
        next in interface org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,​org.eclipse.rdf4j.query.QueryEvaluationException>
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface org.eclipse.rdf4j.common.iteration.CloseableIteration<org.eclipse.rdf4j.query.BindingSet,​org.eclipse.rdf4j.query.QueryEvaluationException>
      • remove

        public void remove()
                    throws org.eclipse.rdf4j.query.QueryEvaluationException
        Specified by:
        remove in interface org.eclipse.rdf4j.common.iteration.Iteration<org.eclipse.rdf4j.query.BindingSet,​org.eclipse.rdf4j.query.QueryEvaluationException>
        Throws:
        org.eclipse.rdf4j.query.QueryEvaluationException