public enum Datatype extends Enum<Datatype> implements XmlaConstant
The values derive from the OLE DB specification, specifically a subset of the OLE DB Types Indicators returned by SQL Server.
XmlaConstant.Dictionary<E extends Enum<E> & XmlaConstant>
Enum Constant and Description |
---|
ACCP
Used by SAP BW.
|
BOOLEAN |
CHAR
Used by SAP BW.
|
CUKY
Used by SAP BW.
|
CURR
Used by SAP BW.
|
CURRENCY |
DATS
Used by SAP BW.
|
DEC
Used by SAP BW.
|
DOUBLE |
FLTP
Used by SAP BW.
|
INT1
Used by SAP BW.
|
INT2
Used by SAP BW.
|
INT4
Used by SAP BW.
|
INTEGER |
LARGE_INTEGER |
LCHR
Used by SAP BW.
|
NUMC
Used by SAP BW.
|
PREC
Used by SAP BW.
|
QUAN
Used by SAP BW.
|
SSTR
Used by SAP BW.
|
STRG
Used by SAP BW.
|
STRING |
TIMS
Used by SAP BW.
|
UNIT
Used by SAP BW.
|
UNSIGNED_INTEGER
Used by SQL Server for colors, font flags and cell ordinal.
|
UNSIGNED_SHORT
Used by SQL Server for font size.
|
VARC
Used by SAP BW.
|
VARIANT
Used by SQL Server for value.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Human readable description of a Datatype instance.
|
static XmlaConstant.Dictionary<Datatype> |
getDictionary()
Per
XmlaConstant , returns a dictionary
of all values of this enumeration. |
static Datatype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Datatype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
xmlaName()
The internal name of this Datatype.
|
int |
xmlaOrdinal()
Unique identifier of a Datatype instance.
|
public static final Datatype UNSIGNED_SHORT
public static final Datatype UNSIGNED_INTEGER
public static final Datatype LARGE_INTEGER
public static final Datatype CURR
public static Datatype[] values()
for (Datatype c : Datatype.values()) System.out.println(c);
public static 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 String xmlaName()
xmlaName
in interface XmlaConstant
public String getDescription()
getDescription
in interface XmlaConstant
public int xmlaOrdinal()
xmlaOrdinal
in interface XmlaConstant
public static XmlaConstant.Dictionary<Datatype> getDictionary()
XmlaConstant
, returns a dictionary
of all values of this enumeration.