public enum SqlConformance extends Enum<SqlConformance>
| Enum Constant and Description |
|---|
DEFAULT |
ORACLE_10 |
PRAGMATIC_2003 |
PRAGMATIC_99 |
STRICT_2003 |
STRICT_92 |
STRICT_99 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSortByAlias()
Whether 'order by x' is interpreted to mean 'sort by the select list item
whose alias is x' even if there is a column called x.
|
boolean |
isSortByAliasObscures()
Whether "empno" is invalid in "select empno as x from emp order by empno"
because the alias "x" obscures it.
|
boolean |
isSortByOrdinal()
Whether 'order by 2' is interpreted to mean 'sort by the 2nd column in
the select list'.
|
static SqlConformance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlConformance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlConformance DEFAULT
public static final SqlConformance STRICT_92
public static final SqlConformance STRICT_99
public static final SqlConformance PRAGMATIC_99
public static final SqlConformance ORACLE_10
public static final SqlConformance STRICT_2003
public static final SqlConformance PRAGMATIC_2003
public static SqlConformance[] values()
for (SqlConformance c : SqlConformance.values()) System.out.println(c);
public static SqlConformance 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 boolean isSortByOrdinal()
public boolean isSortByAlias()
public boolean isSortByAliasObscures()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.