public static enum SqlTrimFunction.Flag extends Enum<SqlTrimFunction.Flag> implements SqlLiteral.SqlSymbol
| Modifier and Type | Method and Description |
|---|---|
int |
getLeft() |
int |
getRight() |
SqlLiteral |
symbol(SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this flag
at a particular position in the parsed text.
|
static SqlTrimFunction.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlTrimFunction.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfname, ordinalpublic static final SqlTrimFunction.Flag BOTH
public static final SqlTrimFunction.Flag LEADING
public static final SqlTrimFunction.Flag TRAILING
public static SqlTrimFunction.Flag[] values()
for (SqlTrimFunction.Flag c : SqlTrimFunction.Flag.values()) System.out.println(c);
public static SqlTrimFunction.Flag 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 int getLeft()
public int getRight()
public SqlLiteral symbol(SqlParserPos pos)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.