Class IndexMerge


  • public class IndexMerge
    extends java.lang.Object
    Merge custom index definitions with out-of-the-box index definitions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.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​(java.lang.String... args)
      Execute the command.
      static java.util.Set<java.lang.String> getSupersededIndexDefs​(JsonObject indexDefs)
      Get the names of the index definitions that are superseded in one of the indexes.
      static void main​(java.lang.String... args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • IndexMerge

        public IndexMerge()
    • Method Detail

      • main

        public static void main​(java.lang.String... args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • execute

        public void execute​(java.lang.String... args)
                     throws java.lang.Exception
        Execute the command.
        Parameters:
        args - the command line arguments
        Throws:
        java.lang.Exception
      • getSupersededIndexDefs

        public static java.util.Set<java.lang.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