public static enum SqlWriter.SubQueryStyle extends Enum<SqlWriter.SubQueryStyle>
| Enum Constant and Description |
|---|
BLACK
Damian's style of sub-query nesting.
|
HYDE
Julian's style of sub-query 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-2022 Apache Software Foundation. All Rights Reserved.