Class IndexMerge
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.merge.IndexMerge
-
public class IndexMerge extends Object
Merge custom index definitions with out-of-the-box index definitions.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OAK_CHILD_ORDER
-
Constructor Summary
Constructors Constructor Description IndexMerge()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(String... args)
Execute the command.static Set<String>
getSupersededIndexDefs(JsonObject indexDefs)
Get the names of the index definitions that are superseded in one of the indexes.static void
main(String... args)
-
-
-
Field Detail
-
OAK_CHILD_ORDER
public static final String OAK_CHILD_ORDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(String... args) throws Exception
Execute the command.- Parameters:
args
- the command line arguments- Throws:
Exception
-
getSupersededIndexDefs
public static Set<String> getSupersededIndexDefs(JsonObject indexDefs)
Get the names of the index definitions that are superseded in one of the indexes.- Parameters:
indexDefs
- all index definitions- Returns:
- the superseded indexes
-
-