public static enum CreateTableQuery.Hook extends Enum<CreateTableQuery.Hook> implements HookAnchor
com.healthmarketscience.sqlbuilder.custom
for more details on custom SQL syntax.Enum Constant and Description |
---|
HEADER
Anchor for the beginning of the query, only supports
HookType.BEFORE |
TABLE
Anchor for the "TABLE " part of the "CREATE TABLE " clause
|
TRAILER
Anchor for the end of the query, only supports
HookType.BEFORE |
Modifier and Type | Method and Description |
---|---|
static CreateTableQuery.Hook |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateTableQuery.Hook[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateTableQuery.Hook HEADER
HookType.BEFORE
public static final CreateTableQuery.Hook TABLE
public static final CreateTableQuery.Hook TRAILER
HookType.BEFORE
public static CreateTableQuery.Hook[] values()
for (CreateTableQuery.Hook c : CreateTableQuery.Hook.values()) System.out.println(c);
public static CreateTableQuery.Hook 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 © 2006–2021 OpenHMS. All rights reserved.