Class IndexDefinitionUpdater
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.importer.IndexDefinitionUpdater
-
public class IndexDefinitionUpdater extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INDEX_DEFINITIONS_JSON
Name of file which would be check for presence of index-definitions
-
Constructor Summary
Constructors Constructor Description IndexDefinitionUpdater(java.io.File file)
IndexDefinitionUpdater(java.lang.String json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(NodeBuilder rootBuilder)
NodeBuilder
apply(NodeBuilder rootBuilder, java.lang.String indexPath)
java.util.Set<java.lang.String>
getIndexPaths()
NodeState
getIndexState(java.lang.String indexPath)
-
-
-
Field Detail
-
INDEX_DEFINITIONS_JSON
public static final java.lang.String INDEX_DEFINITIONS_JSON
Name of file which would be check for presence of index-definitions- See Also:
- Constant Field Values
-
-
Method Detail
-
apply
public void apply(NodeBuilder rootBuilder) throws java.io.IOException, CommitFailedException
- Throws:
java.io.IOException
CommitFailedException
-
apply
public NodeBuilder apply(NodeBuilder rootBuilder, java.lang.String indexPath)
-
getIndexPaths
public java.util.Set<java.lang.String> getIndexPaths()
-
getIndexState
public NodeState getIndexState(java.lang.String indexPath)
-
-