static enum SqlWindow.Bound extends java.lang.Enum<SqlWindow.Bound>
CURRENT ROW
,
UNBOUNDED PRECEDING
, and UNBOUNDED FOLLOWING
.Enum Constant and Description |
---|
CURRENT_ROW |
UNBOUNDED_FOLLOWING |
UNBOUNDED_PRECEDING |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
sql |
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.
|
java.lang.String |
toString() |
static SqlWindow.Bound |
valueOf(java.lang.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
public static SqlWindow.Bound[] values()
for (SqlWindow.Bound c : SqlWindow.Bound.values()) System.out.println(c);
public static SqlWindow.Bound valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<SqlWindow.Bound>
public SqlNode symbol(SqlParserPos pos)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.