Class AbstractParserQuery.QueryInterruptIteration
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<BindingSet,QueryEvaluationException>
org.eclipse.rdf4j.common.iteration.IterationWrapper<BindingSet,QueryEvaluationException>
org.eclipse.rdf4j.common.iteration.TimeLimitIteration<BindingSet,QueryEvaluationException>
org.eclipse.rdf4j.query.parser.impl.AbstractParserQuery.QueryInterruptIteration
- All Implemented Interfaces:
AutoCloseable
,CloseableIteration<BindingSet,
,QueryEvaluationException> Iteration<BindingSet,
QueryEvaluationException>
- Enclosing class:
AbstractParserQuery
@Deprecated(since="4.1.0")
protected class AbstractParserQuery.QueryInterruptIteration
extends TimeLimitIteration<BindingSet,QueryEvaluationException>
Deprecated.
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.common.iteration.IterationWrapper
wrappedIter
-
Constructor Summary
ConstructorDescriptionQueryInterruptIteration
(Iteration<? extends BindingSet, ? extends QueryEvaluationException> iter, long timeLimit) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Deprecated.If the iteration is interrupted by its time limit, this method is called to generate and throw the appropriate exception.Methods inherited from class org.eclipse.rdf4j.common.iteration.TimeLimitIteration
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
stream
-
Constructor Details
-
QueryInterruptIteration
public QueryInterruptIteration(Iteration<? extends BindingSet, ? extends QueryEvaluationException> iter, long timeLimit) Deprecated.
-
-
Method Details
-
throwInterruptedException
Deprecated.Description copied from class:TimeLimitIteration
If the iteration is interrupted by its time limit, this method is called to generate and throw the appropriate exception.- Specified by:
throwInterruptedException
in classTimeLimitIteration<BindingSet,
QueryEvaluationException> - Throws:
QueryEvaluationException
-