Package org.eclipse.rdf4j.query.impl
Class IteratingTupleQueryResult
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
-
- org.eclipse.rdf4j.common.iteration.IterationWrapper<BindingSet,QueryEvaluationException>
-
- org.eclipse.rdf4j.query.impl.IteratingTupleQueryResult
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<BindingSet>
,CloseableIteration<BindingSet,QueryEvaluationException>
,Iteration<BindingSet,QueryEvaluationException>
,QueryResult<BindingSet>
,TupleQueryResult
- Direct Known Subclasses:
BackgroundTupleResult
,TupleQueryResultImpl
@Deprecated(since="4.1.0") public class IteratingTupleQueryResult extends IterationWrapper<BindingSet,QueryEvaluationException> implements TupleQueryResult
Deprecated.An iterating implementation of theTupleQueryResult
interface.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
bindingNames
Deprecated.-
Fields inherited from class org.eclipse.rdf4j.common.iteration.IterationWrapper
wrappedIter
-
-
Constructor Summary
Constructors Constructor Description IteratingTupleQueryResult(java.util.List<java.lang.String> bindingNames, java.lang.Iterable<? extends BindingSet> bindingSets)
Deprecated.Creates a query result object with the supplied binding names.IteratingTupleQueryResult(java.util.List<java.lang.String> bindingNames, java.util.Iterator<? extends BindingSet> bindingSetIter)
Deprecated.IteratingTupleQueryResult(java.util.List<java.lang.String> bindingNames, CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingSetIter)
Deprecated.Creates a query result object with the supplied binding names.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<java.lang.String>
getBindingNames()
Deprecated.Gets the names of the bindings, in order of projection.-
Methods inherited from class org.eclipse.rdf4j.common.iteration.IterationWrapper
handleClose, hasNext, next, remove
-
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosed
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
close
-
Methods inherited from interface org.eclipse.rdf4j.query.QueryResult
hasNext, iterator, next, stream
-
-
-
-
Constructor Detail
-
IteratingTupleQueryResult
public IteratingTupleQueryResult(java.util.List<java.lang.String> bindingNames, java.lang.Iterable<? extends BindingSet> bindingSets)
Deprecated.Creates a query result object with the supplied binding names. The supplied list of binding names is assumed to be constant; care should be taken that the contents of this list doesn't change after supplying it to this solution.- Parameters:
bindingNames
- The binding names, in order of projection.
-
IteratingTupleQueryResult
public IteratingTupleQueryResult(java.util.List<java.lang.String> bindingNames, java.util.Iterator<? extends BindingSet> bindingSetIter)
Deprecated.
-
IteratingTupleQueryResult
public IteratingTupleQueryResult(java.util.List<java.lang.String> bindingNames, CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingSetIter)
Deprecated.Creates a query result object with the supplied binding names. The supplied list of binding names is assumed to be constant; care should be taken that the contents of this list doesn't change after supplying it to this solution.- Parameters:
bindingNames
- The binding names, in order of projection.
-
-
Method Detail
-
getBindingNames
public java.util.List<java.lang.String> getBindingNames() throws QueryEvaluationException
Deprecated.Description copied from interface:TupleQueryResult
Gets the names of the bindings, in order of projection.- Specified by:
getBindingNames
in interfaceTupleQueryResult
- Returns:
- The binding names, in order of projection.
- Throws:
QueryEvaluationException
-
-