public enum Quoting extends Enum<Quoting>
| Enum Constant and Description |
|---|
BACK_TICK
Quote identifiers in back-quotes, and use back-quotes to escape
back-quotes.
|
BACK_TICK_BACKSLASH
Quote identifiers in back-quotes, and use backslash to escape
back-quotes.
|
BRACKET
Quote identifiers in brackets.
|
DOUBLE_QUOTE
Quote identifiers in double-quotes, and use double-quote to escape
double-quotes.
|
DOUBLE_QUOTE_BACKSLASH
Quote identifiers in double-quotes, and use backslash to escape
double-quotes.
|
SINGLE_QUOTE
Quote identifiers in single-quotes, and use single-quotes to escape
single-quotes.
|
SINGLE_QUOTE_BACKSLASH
Quote identifiers in single-quotes, and use backslash to escape
single-quotes.
|
| Modifier and Type | Method and Description |
|---|---|
static Quoting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quoting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quoting DOUBLE_QUOTE
"my ""id""".public static final Quoting DOUBLE_QUOTE_BACKSLASH
"my \"id\"".public static final Quoting SINGLE_QUOTE
'my ''id'''.public static final Quoting SINGLE_QUOTE_BACKSLASH
'my \'id\''.public static final Quoting BACK_TICK
`my ``id```.public static final Quoting BACK_TICK_BACKSLASH
`my \`id\``.public static final Quoting BRACKET
[my id].public String string
public static Quoting[] values()
for (Quoting c : Quoting.values()) System.out.println(c);
public static Quoting 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-2025 Apache Software Foundation. All Rights Reserved.