mondrian.xmla
Enum RowsetDefinition.DBType

java.lang.Object
  extended by java.lang.Enum<RowsetDefinition.DBType>
      extended by mondrian.xmla.RowsetDefinition.DBType
All Implemented Interfaces:
Serializable, Comparable<RowsetDefinition.DBType>
Enclosing class:
RowsetDefinition

static enum RowsetDefinition.DBType
extends Enum<RowsetDefinition.DBType>

The only OLE DB Types Indicators returned by SQL Server are thoses coded below. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/oledbtype_indicators.asp

 

Enum Constant Summary
BOOL
           
CY
           
I4
           
I8
           
R8
           
UI2
          Used by SQL Server for font size.
UI4
          Used by SQL Server for colors, font flags and cell ordinal.
VARIANT
          Used by SQL Server for value.
WSTR
           
 
Field Summary
(package private)  String dbTypeIndicator
          A Boolean that indicates whether the data type is nullable.
 
Method Summary
static RowsetDefinition.DBType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RowsetDefinition.DBType[] 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

I4

public static final RowsetDefinition.DBType I4

R8

public static final RowsetDefinition.DBType R8

CY

public static final RowsetDefinition.DBType CY

BOOL

public static final RowsetDefinition.DBType BOOL

VARIANT

public static final RowsetDefinition.DBType VARIANT
Used by SQL Server for value.


UI2

public static final RowsetDefinition.DBType UI2
Used by SQL Server for font size.


UI4

public static final RowsetDefinition.DBType UI4
Used by SQL Server for colors, font flags and cell ordinal.


I8

public static final RowsetDefinition.DBType I8

WSTR

public static final RowsetDefinition.DBType WSTR
Field Detail

dbTypeIndicator

String dbTypeIndicator
A Boolean that indicates whether the data type is nullable. VARIANT_TRUE indicates that the data type is nullable. VARIANT_FALSE indicates that the data type is not nullable. NULL-- indicates that it is not known whether the data type is nullable. boolean isNullable;

Method Detail

values

public static RowsetDefinition.DBType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RowsetDefinition.DBType c : RowsetDefinition.DBType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RowsetDefinition.DBType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name

SourceForge.net_Logo