public static enum FrameBound.Marker extends Enum<FrameBound.Marker>
Marker
is used to distinguish between pre-defined frame bounds and custom bounds.Enum Constant and Description |
---|
CURRENT_ROW
Marks the current row as either a left or a right bound depending on the context.
|
FOLLOWING
Marks a custom right frame bound.
|
PRECEDING
Marks a custom left frame bound.
|
UNBOUNDED_FOLLOWING
Marks the "rightmost" possible frame bound.
|
UNBOUNDED_PRECEDING
Marks the "leftmost" possible frame bound.
|
Modifier and Type | Method and Description |
---|---|
static FrameBound.Marker |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameBound.Marker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameBound.Marker UNBOUNDED_PRECEDING
public static final FrameBound.Marker PRECEDING
public static final FrameBound.Marker CURRENT_ROW
public static final FrameBound.Marker FOLLOWING
public static final FrameBound.Marker UNBOUNDED_FOLLOWING
public static FrameBound.Marker[] values()
for (FrameBound.Marker c : FrameBound.Marker.values()) System.out.println(c);
public static FrameBound.Marker 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