public static enum WindowFrameSpecification.Unit extends Enum<WindowFrameSpecification.Unit>
Enum Constant and Description |
---|
RANGE
Window frame bounds specified in conjunction with the
RANGE unit define relative
offsets. |
ROWS
Window frame bounds specified with the
ROWS unit define absolute offsets. |
Modifier and Type | Method and Description |
---|---|
static WindowFrameSpecification.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowFrameSpecification.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowFrameSpecification.Unit RANGE
RANGE
unit define relative
offsets. The offsets are added to the column values of the current records order column
and any record with respective column values falling in between those relative bounds
qualify for the window frame.public static final WindowFrameSpecification.Unit ROWS
ROWS
unit define absolute offsets. The offsets
are added to the current records index any any record whose index false in between those
absolute bounds qualifies for the window frame.public static WindowFrameSpecification.Unit[] values()
for (WindowFrameSpecification.Unit c : WindowFrameSpecification.Unit.values()) System.out.println(c);
public static WindowFrameSpecification.Unit 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