Enum LoadPlan.RangeType

    • Enum Constant Detail

      • 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 Detail

      • values

        public static LoadPlan.RangeType[] 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 (LoadPlan.RangeType c : LoadPlan.RangeType.values())
            System.out.println(c);
        
        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