Enum LoadPlan.RangeType

java.lang.Object
java.lang.Enum<LoadPlan.RangeType>
org.apache.accumulo.core.data.LoadPlan.RangeType
All Implemented Interfaces:
Serializable, Comparable<LoadPlan.RangeType>
Enclosing class:
LoadPlan

public static enum LoadPlan.RangeType extends Enum<LoadPlan.RangeType>
Since:
2.0.0
  • Enum Constant Details

    • TABLE

      public static final LoadPlan.RangeType TABLE
      Range that corresponds to one or more tablets in a table. For a range of this type, the start row and end row can be null. The start row is exclusive and the end row is inclusive (like Accumulo tablets). A common use case for this would be when files were partitioned using a table's splits. When using this range type, the start and end row must exist as splits in the table or an exception will be thrown at load time.
    • FILE

      public static final LoadPlan.RangeType FILE
      Range that correspond to known rows in a file. For this range type, the start row and end row must be non-null. The start row and end row are both considered inclusive. At load time, these data ranges will be mapped to table ranges.
  • Method Details

    • values

      public static LoadPlan.RangeType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LoadPlan.RangeType 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