public static enum SqlWriter.SubqueryStyle extends Enum<SqlWriter.SubqueryStyle>
| Enum Constant and Description |
|---|
BLACK
Damian's style of subquery nesting.
|
HYDE
Julian's style of subquery nesting.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlWriter.SubqueryStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlWriter.SubqueryStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlWriter.SubqueryStyle HYDE
SELECT *
FROM (
SELECT *
FROM t
)
WHERE conditionpublic static final SqlWriter.SubqueryStyle BLACK
SELECT *
FROM
( SELECT *
FROM t
)
WHERE conditionpublic static SqlWriter.SubqueryStyle[] values()
for (SqlWriter.SubqueryStyle c : SqlWriter.SubqueryStyle.values()) System.out.println(c);
public static SqlWriter.SubqueryStyle 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 © 2012–2015 The Apache Software Foundation. All rights reserved.