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