Package org.apache.accumulo.core.data
Enum LoadPlan.RangeType
- All Implemented Interfaces:
Serializable
,Comparable<LoadPlan.RangeType>
- Enclosing class:
- LoadPlan
- Since:
- 2.0.0
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadPlan.RangeType
Returns the enum constant of this type with the specified name.static LoadPlan.RangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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 nameNullPointerException
- if the argument is null
-