@API(value=MAINTAINED) public enum EndpointType extends Enum<EndpointType>
TupleRange
.
The basic types are inclusive (range includes endpoint Tuple
value) and exclusive (range does not include endpoint Tuple
).
Special types denote the start and end of the whole subspace (for which the endpoint Tuple
does not matter).
There is also a special type for the range of values where a string element of a Tuple
begins with a given string.
Enum Constant and Description |
---|
CONTINUATION |
PREFIX_STRING |
RANGE_EXCLUSIVE |
RANGE_INCLUSIVE |
TREE_END |
TREE_START |
Modifier and Type | Method and Description |
---|---|
String |
toString(boolean high) |
static EndpointType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndpointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndpointType TREE_START
public static final EndpointType TREE_END
public static final EndpointType RANGE_INCLUSIVE
public static final EndpointType RANGE_EXCLUSIVE
public static final EndpointType PREFIX_STRING
public static final EndpointType CONTINUATION
public static EndpointType[] values()
for (EndpointType c : EndpointType.values()) System.out.println(c);
public static EndpointType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null