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(DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore)
NodeStateEntryTraverser(RevisionVector rootRevision, DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
@NotNull Iterator<NodeStateEntry>
iterator()
NodeStateEntryTraverser
withPathPredicate(Predicate<String> pathPredicate)
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(DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore)
-
NodeStateEntryTraverser
public NodeStateEntryTraverser(RevisionVector rootRevision, DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore)
-
-
Method Detail
-
iterator
@NotNull public @NotNull Iterator<NodeStateEntry> iterator()
- Specified by:
iterator
in interfaceIterable<NodeStateEntry>
-
withProgressCallback
public NodeStateEntryTraverser withProgressCallback(Consumer<String> progressReporter)
-
withPathPredicate
public NodeStateEntryTraverser withPathPredicate(Predicate<String> pathPredicate)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-