public static enum Dialect.Datatype extends Enum<Dialect.Datatype>
Enum Constant and Description |
---|
Boolean |
Date |
Integer |
Numeric |
String |
Time |
Timestamp |
Modifier and Type | Method and Description |
---|---|
boolean |
isNumeric()
Returns whether this is a numeric datatype.
|
abstract void |
quoteValue(StringBuilder buf,
Dialect dialect,
String value)
Appends to a buffer a value of this type, in the appropriate format
for this dialect.
|
static Dialect.Datatype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialect.Datatype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dialect.Datatype String
public static final Dialect.Datatype Numeric
public static final Dialect.Datatype Integer
public static final Dialect.Datatype Boolean
public static final Dialect.Datatype Date
public static final Dialect.Datatype Time
public static final Dialect.Datatype Timestamp
public static Dialect.Datatype[] values()
for (Dialect.Datatype c : Dialect.Datatype.values()) System.out.println(c);
public static Dialect.Datatype 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 abstract void quoteValue(StringBuilder buf, Dialect dialect, String value)
buf
- Bufferdialect
- Dialectvalue
- Valuepublic boolean isNumeric()
Copyright © 2019 Hitachi Vantara. All rights reserved.