Class LoggingCloseableIteration
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.planNodes.LoggingCloseableIteration
-
- All Implemented Interfaces:
AutoCloseable,Iterator<ValidationTuple>,org.eclipse.rdf4j.common.iteration.CloseableIteration<ValidationTuple>
public abstract class LoggingCloseableIteration extends Object implements org.eclipse.rdf4j.common.iteration.CloseableIteration<ValidationTuple>
-
-
Constructor Summary
Constructors Constructor Description LoggingCloseableIteration(PlanNode planNode, ValidationExecutionLogger validationExecutionLogger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()protected abstract voidinit()booleanisClosed()protected abstract voidlocalClose()protected abstract booleanlocalHasNext()protected abstract ValidationTupleloggingNext()ValidationTuplenext()voidremove()A default method since the iterators in the ShaclSail don't support remove.-
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
-
-
-
-
Constructor Detail
-
LoggingCloseableIteration
public LoggingCloseableIteration(PlanNode planNode, ValidationExecutionLogger validationExecutionLogger)
-
-
Method Detail
-
next
public final ValidationTuple next() throws SailException
- Specified by:
nextin interfaceIterator<ValidationTuple>- Throws:
SailException
-
hasNext
public final boolean hasNext() throws SailException- Specified by:
hasNextin interfaceIterator<ValidationTuple>- Throws:
SailException
-
close
public void close() throws SailException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.eclipse.rdf4j.common.iteration.CloseableIteration<ValidationTuple>- Throws:
SailException
-
init
protected abstract void init()
-
loggingNext
protected abstract ValidationTuple loggingNext()
-
localHasNext
protected abstract boolean localHasNext()
-
localClose
protected abstract void localClose()
-
remove
public void remove() throws SailExceptionA default method since the iterators in the ShaclSail don't support remove.- Specified by:
removein interfaceIterator<ValidationTuple>- Throws:
SailException
-
isClosed
public boolean isClosed()
-
-