Class CachedTupleQueryResult
- java.lang.Object
-
- org.eclipse.rdf4j.spring.resultcache.CachedTupleQueryResult
-
- All Implemented Interfaces:
AutoCloseable,Iterable<org.eclipse.rdf4j.query.BindingSet>,Iterator<org.eclipse.rdf4j.query.BindingSet>,org.eclipse.rdf4j.common.iteration.CloseableIteration<org.eclipse.rdf4j.query.BindingSet>,org.eclipse.rdf4j.query.QueryResult<org.eclipse.rdf4j.query.BindingSet>,org.eclipse.rdf4j.query.TupleQueryResult
public class CachedTupleQueryResult extends Object implements org.eclipse.rdf4j.query.TupleQueryResult
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidforEach(Consumer<? super org.eclipse.rdf4j.query.BindingSet> action)List<String>getBindingNames()booleanhasNext()Iterator<org.eclipse.rdf4j.query.BindingSet>iterator()org.eclipse.rdf4j.query.BindingSetnext()voidremove()Spliterator<org.eclipse.rdf4j.query.BindingSet>spliterator()Stream<org.eclipse.rdf4j.query.BindingSet>stream()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
getBindingNames
public List<String> getBindingNames() throws org.eclipse.rdf4j.query.QueryEvaluationException
- Specified by:
getBindingNamesin interfaceorg.eclipse.rdf4j.query.TupleQueryResult- Throws:
org.eclipse.rdf4j.query.QueryEvaluationException
-
iterator
public Iterator<org.eclipse.rdf4j.query.BindingSet> iterator()
-
close
public void close() throws org.eclipse.rdf4j.query.QueryEvaluationException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.eclipse.rdf4j.common.iteration.CloseableIteration<org.eclipse.rdf4j.query.BindingSet>- Throws:
org.eclipse.rdf4j.query.QueryEvaluationException
-
hasNext
public boolean hasNext() throws org.eclipse.rdf4j.query.QueryEvaluationException
-
next
public org.eclipse.rdf4j.query.BindingSet next() throws org.eclipse.rdf4j.query.QueryEvaluationException
-
remove
public void remove() throws org.eclipse.rdf4j.query.QueryEvaluationException
-
stream
public Stream<org.eclipse.rdf4j.query.BindingSet> stream()
- Specified by:
streamin interfaceorg.eclipse.rdf4j.common.iteration.CloseableIteration<org.eclipse.rdf4j.query.BindingSet>- Specified by:
streamin interfaceorg.eclipse.rdf4j.query.QueryResult<org.eclipse.rdf4j.query.BindingSet>
-
forEach
public void forEach(Consumer<? super org.eclipse.rdf4j.query.BindingSet> action)
-
spliterator
public Spliterator<org.eclipse.rdf4j.query.BindingSet> spliterator()
- Specified by:
spliteratorin interfaceIterable<org.eclipse.rdf4j.query.BindingSet>
-
-