Enum Class BoundsRule
- All Implemented Interfaces:
Serializable
,Comparable<BoundsRule>
,Constable
This instructs the user about which of the upper and lower bounds of a partition definition row
should be included with the returned data.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInclude both the upper and lower boundsInclude only the lower bound but not the upper boundInclude noneInclude only the upper bound but not the lower bound -
Method Summary
Modifier and TypeMethodDescriptionstatic BoundsRule
Returns the enum constant of this class with the specified name.static BoundsRule[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INCLUDE_BOTH
Include both the upper and lower bounds -
INCLUDE_UPPER
Include only the upper bound but not the lower bound -
INCLUDE_LOWER
Include only the lower bound but not the upper bound -
INCLUDE_NEITHER
Include none
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-