Enum MergeState

    • Enum Constant Detail

      • NONE

        public static final MergeState NONE
        Not merging
      • STARTED

        public static final MergeState STARTED
        created, stored in zookeeper, other merges are prevented on the table
      • SPLITTING

        public static final MergeState SPLITTING
        put all matching tablets online, split tablets if we are deleting
      • WAITING_FOR_CHOPPED

        public static final MergeState WAITING_FOR_CHOPPED
        after the tablet server chops the file, it marks the metadata table with a chopped marker
      • WAITING_FOR_OFFLINE

        public static final MergeState WAITING_FOR_OFFLINE
        when the number of chopped tablets in the range matches the number of online tablets in the range, take the tablets offline
      • MERGING

        public static final MergeState MERGING
        when the number of chopped, offline tablets equals the number of merge tablets, begin the metadata updates
      • COMPLETE

        public static final MergeState COMPLETE
        merge is complete, the resulting tablet can be brought online, remove the marker in zookeeper
    • Method Detail

      • values

        public static MergeState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MergeState c : MergeState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MergeState valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null