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.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 IterationWrapper
wrappedIter -
Constructor Summary
ConstructorsConstructorDescriptionQueryInterruptIteration(Iteration<? extends BindingSet, ? extends QueryEvaluationException> iter, long timeLimit) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeprecated.If the iteration is interrupted by its time limit, this method is called to generate and throw the appropriate exception.Methods inherited from class TimeLimitIteration
handleClose, hasNext, next, removeMethods inherited from class AbstractCloseableIteration
close, isClosedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseableIteration
stream
-
Constructor Details
-
QueryInterruptIteration
public QueryInterruptIteration(Iteration<? extends BindingSet, ? extends QueryEvaluationException> iter, long timeLimit) Deprecated.
-
-
Method Details
-
throwInterruptedException
Deprecated.Description copied from class:TimeLimitIterationIf the iteration is interrupted by its time limit, this method is called to generate and throw the appropriate exception.- Specified by:
throwInterruptedExceptionin classTimeLimitIteration<BindingSet, QueryEvaluationException>- Throws:
QueryEvaluationException
-