Class BackgroundTupleResult
- 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
-
- org.eclipse.rdf4j.query.resultio.helpers.BackgroundTupleResult
-
- All Implemented Interfaces:
AutoCloseable,Iterable<BindingSet>,Runnable,org.eclipse.rdf4j.common.iteration.CloseableIteration<BindingSet,QueryEvaluationException>,org.eclipse.rdf4j.common.iteration.Iteration<BindingSet,QueryEvaluationException>,QueryResult<BindingSet>,QueryResultHandler,TupleQueryResult,TupleQueryResultHandler
@Deprecated(since="4.1.0") public class BackgroundTupleResult extends IteratingTupleQueryResult implements Runnable, TupleQueryResultHandler
Deprecated.Provides concurrent access to tuple results as they are being parsed.- Author:
- James Leigh
-
-
Constructor Summary
Constructors Constructor Description BackgroundTupleResult(QueueCursor<BindingSet> queue, TupleQueryResultParser parser, InputStream in)Deprecated.BackgroundTupleResult(TupleQueryResultParser parser, InputStream in, WeakReference<?> callerRef)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidendQueryResult()Deprecated.List<String>getBindingNames()Deprecated.voidhandleBoolean(boolean value)Deprecated.protected voidhandleClose()Deprecated.voidhandleLinks(List<String> linkUrls)Deprecated.voidhandleSolution(BindingSet bindingSet)Deprecated.voidrun()Deprecated.voidstartQueryResult(List<String> bindingNames)Deprecated.-
Methods inherited from class org.eclipse.rdf4j.common.iteration.IterationWrapper
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 java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface org.eclipse.rdf4j.query.QueryResult
hasNext, iterator, next, stream
-
-
-
-
Constructor Detail
-
BackgroundTupleResult
public BackgroundTupleResult(TupleQueryResultParser parser, InputStream in, WeakReference<?> callerRef)
Deprecated.
-
BackgroundTupleResult
public BackgroundTupleResult(QueueCursor<BindingSet> queue, TupleQueryResultParser parser, InputStream in)
Deprecated.
-
-
Method Detail
-
handleClose
protected void handleClose() throws QueryEvaluationExceptionDeprecated.- Overrides:
handleClosein classorg.eclipse.rdf4j.common.iteration.IterationWrapper<BindingSet,QueryEvaluationException>- Throws:
QueryEvaluationException
-
getBindingNames
public List<String> getBindingNames()
Deprecated.- Specified by:
getBindingNamesin interfaceTupleQueryResult- Overrides:
getBindingNamesin classIteratingTupleQueryResult
-
startQueryResult
public void startQueryResult(List<String> bindingNames) throws TupleQueryResultHandlerException
Deprecated.- Specified by:
startQueryResultin interfaceQueryResultHandler- Throws:
TupleQueryResultHandlerException
-
handleSolution
public void handleSolution(BindingSet bindingSet) throws TupleQueryResultHandlerException
Deprecated.- Specified by:
handleSolutionin interfaceQueryResultHandler- Throws:
TupleQueryResultHandlerException
-
endQueryResult
public void endQueryResult() throws TupleQueryResultHandlerExceptionDeprecated.- Specified by:
endQueryResultin interfaceQueryResultHandler- Throws:
TupleQueryResultHandlerException
-
handleBoolean
public void handleBoolean(boolean value) throws QueryResultHandlerExceptionDeprecated.- Specified by:
handleBooleanin interfaceQueryResultHandler- Throws:
QueryResultHandlerException
-
handleLinks
public void handleLinks(List<String> linkUrls) throws QueryResultHandlerException
Deprecated.- Specified by:
handleLinksin interfaceQueryResultHandler- Throws:
QueryResultHandlerException
-
-