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