static enum SqlWindow.Bound extends Enum<SqlWindow.Bound>
CURRENT ROW,
UNBOUNDED PRECEDING, and UNBOUNDED FOLLOWING.| Enum Constant and Description |
|---|
CURRENT_ROW |
UNBOUNDED_FOLLOWING |
UNBOUNDED_PRECEDING |
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
symbol(SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this bound
type at a particular position in the parsed text.
|
String |
toString() |
static SqlWindow.Bound |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlWindow.Bound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlWindow.Bound CURRENT_ROW
public static final SqlWindow.Bound UNBOUNDED_PRECEDING
public static final SqlWindow.Bound UNBOUNDED_FOLLOWING
private final String sql
public static SqlWindow.Bound[] values()
for (SqlWindow.Bound c : SqlWindow.Bound.values()) System.out.println(c);
public static SqlWindow.Bound 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 nullpublic String toString()
toString in class Enum<SqlWindow.Bound>public SqlNode symbol(SqlParserPos pos)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.