public static enum WindowFunction.Type extends Enum<WindowFunction.Type>
| Enum Constant and Description |
|---|
AGGREGATE |
CUME_DIST |
DENSE_RANK |
FIRST_VALUE |
LAG |
LAST_VALUE |
LEAD |
NTILE |
PERCENT_RANK |
RANK |
ROW_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static WindowFunction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowFunction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowFunction.Type ROW_NUMBER
public static final WindowFunction.Type RANK
public static final WindowFunction.Type DENSE_RANK
public static final WindowFunction.Type PERCENT_RANK
public static final WindowFunction.Type CUME_DIST
public static final WindowFunction.Type LEAD
public static final WindowFunction.Type LAG
public static final WindowFunction.Type FIRST_VALUE
public static final WindowFunction.Type LAST_VALUE
public static final WindowFunction.Type NTILE
public static final WindowFunction.Type AGGREGATE
public static WindowFunction.Type[] values()
for (WindowFunction.Type c : WindowFunction.Type.values()) System.out.println(c);
public static WindowFunction.Type 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 nullCopyright © 2017 The Apache Software Foundation. All rights reserved.