Class NodeStateEntryTraverser
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.NodeStateEntryTraverser
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<NodeStateEntry>
public class NodeStateEntryTraverser extends Object implements Iterable<NodeStateEntry>, Closeable
-
-
Constructor Summary
Constructors Constructor Description NodeStateEntryTraverser(String id, DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore)
NodeStateEntryTraverser(String id, RevisionVector rootRevision, DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore, TraversingRange traversingRange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
TraversingRange
getDocumentTraversalRange()
Returns the modification range corresponding to node states which are traversed by this.String
getId()
@NotNull Iterator<NodeStateEntry>
iterator()
NodeStateEntryTraverser
withProgressCallback(Consumer<String> progressReporter)
-
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
-
-
-
-
Constructor Detail
-
NodeStateEntryTraverser
public NodeStateEntryTraverser(String id, DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore)
-
NodeStateEntryTraverser
public NodeStateEntryTraverser(String id, RevisionVector rootRevision, DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore, TraversingRange traversingRange)
-
-
Method Detail
-
getId
public String getId()
-
iterator
@NotNull public @NotNull Iterator<NodeStateEntry> iterator()
- Specified by:
iterator
in interfaceIterable<NodeStateEntry>
-
withProgressCallback
public NodeStateEntryTraverser withProgressCallback(Consumer<String> progressReporter)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getDocumentTraversalRange
public TraversingRange getDocumentTraversalRange()
Returns the modification range corresponding to node states which are traversed by this.- Returns:
LastModifiedRange
-
-