public class CompositeIndexer extends Object implements NodeStateIndexer
Constructor and Description |
---|
CompositeIndexer(List<NodeStateIndexer> indexers) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Set<String> |
getRelativeIndexedNodeNames() |
boolean |
index(NodeStateEntry entry) |
boolean |
indexesRelativeNodes() |
boolean |
isEmpty() |
boolean |
shouldInclude(NodeDocument doc) |
boolean |
shouldInclude(String path) |
public CompositeIndexer(List<NodeStateIndexer> indexers)
public boolean isEmpty()
public boolean shouldInclude(String path)
shouldInclude
in interface NodeStateIndexer
public boolean shouldInclude(NodeDocument doc)
shouldInclude
in interface NodeStateIndexer
public boolean index(NodeStateEntry entry) throws IOException, org.apache.jackrabbit.oak.api.CommitFailedException
index
in interface NodeStateIndexer
IOException
org.apache.jackrabbit.oak.api.CommitFailedException
public boolean indexesRelativeNodes()
indexesRelativeNodes
in interface NodeStateIndexer
public Set<String> getRelativeIndexedNodeNames()
getRelativeIndexedNodeNames
in interface NodeStateIndexer
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.