public enum FormatStyle extends Enum<FormatStyle>
Enum Constant and Description |
---|
BASIC
Formatting for SELECT, INSERT, UPDATE and DELETE statements
|
DDL
Formatting for DDL (CREATE, ALTER, DROP, etc) statements
|
NONE
No formatting
|
Modifier and Type | Method and Description |
---|---|
Formatter |
getFormatter() |
String |
getName() |
static FormatStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatStyle BASIC
public static final FormatStyle DDL
public static final FormatStyle NONE
public static FormatStyle[] values()
for (FormatStyle c : FormatStyle.values()) System.out.println(c);
public static FormatStyle 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 String getName()
public Formatter getFormatter()
Copyright © 2017 JBoss by Red Hat. All rights reserved.