|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Dialect.Datatype>
mondrian.spi.Dialect.Datatype
public static enum Dialect.Datatype
Datatype of a column.
Enum Constant Summary | |
---|---|
Boolean
|
|
Date
|
|
Integer
|
|
Numeric
|
|
String
|
|
Time
|
|
Timestamp
|
Method Summary | |
---|---|
boolean |
isNumeric()
Returns whether this is a numeric datatype. |
abstract void |
quoteValue(java.lang.StringBuilder buf,
Dialect dialect,
java.lang.String value)
Appends to a buffer a value of this type, in the appropriate format for this dialect. |
static Dialect.Datatype |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static Dialect.Datatype[] values()
for (Dialect.Datatype c : Dialect.Datatype.values()) System.out.println(c);
public static Dialect.Datatype valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic abstract void quoteValue(java.lang.StringBuilder buf, Dialect dialect, java.lang.String value)
buf
- Bufferdialect
- Dialectvalue
- Valuepublic boolean isNumeric()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |