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 INTEGER
public static final Datatype DOUBLE
public static final Datatype CURRENCY
public static final Datatype BOOLEAN
public static final Datatype VARIANT
public static final Datatype UNSIGNED_SHORT
public static final Datatype UNSIGNED_INTEGER
public static final Datatype LARGE_INTEGER
public static final Datatype STRING
public static final Datatype ACCP
public static final Datatype CHAR
public static final Datatype CUKY
public static final Datatype CURR
public static final Datatype DATS
public static final Datatype DEC
public static final Datatype FLTP
public static final Datatype INT1
public static final Datatype INT2
public static final Datatype INT4
public static final Datatype LCHR
public static final Datatype NUMC
public static final Datatype PREC
public static final Datatype QUAN
public static final Datatype SSTR
public static final Datatype STRG
public static final Datatype TIMS
public static final Datatype VARC
public static final Datatype UNIT
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.