public class IndexDefinitionUpdater extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INDEX_DEFINITIONS_JSON
Name of file which would be check for presence of index-definitions
|
| Constructor and Description |
|---|
IndexDefinitionUpdater(File file) |
IndexDefinitionUpdater(String json) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(NodeBuilder rootBuilder) |
NodeBuilder |
apply(NodeBuilder rootBuilder,
String indexPath) |
Set<String> |
getIndexPaths() |
NodeState |
getIndexState(String indexPath) |
public static final String INDEX_DEFINITIONS_JSON
public IndexDefinitionUpdater(File file) throws IOException
IOExceptionpublic IndexDefinitionUpdater(String json) throws IOException
IOExceptionpublic void apply(NodeBuilder rootBuilder) throws IOException, CommitFailedException
IOExceptionCommitFailedExceptionpublic NodeBuilder apply(NodeBuilder rootBuilder, String indexPath)
Copyright © 2010 - 2020 Adobe. All Rights Reserved