Interface NodeStateIndexer
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
CompositeIndexer
,LuceneIndexer
public interface NodeStateIndexer extends Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
getIndexName()
Set<String>
getRelativeIndexedNodeNames()
boolean
index(NodeStateEntry entry)
boolean
indexesRelativeNodes()
default void
onIndexingStarting()
boolean
shouldInclude(String path)
boolean
shouldInclude(NodeDocument doc)
-
-
-
Method Detail
-
onIndexingStarting
default void onIndexingStarting()
-
getIndexName
default String getIndexName()
-
shouldInclude
boolean shouldInclude(String path)
-
shouldInclude
boolean shouldInclude(NodeDocument doc)
-
index
boolean index(NodeStateEntry entry) throws IOException, CommitFailedException
- Throws:
IOException
CommitFailedException
-
indexesRelativeNodes
boolean indexesRelativeNodes()
-
-