org.olap4j.metadata
Enum Database.ProviderType

java.lang.Object
  extended by java.lang.Enum<Database.ProviderType>
      extended by org.olap4j.metadata.Database.ProviderType
All Implemented Interfaces:
Serializable, Comparable<Database.ProviderType>
Enclosing interface:
Database

public static enum Database.ProviderType
extends Enum<Database.ProviderType>

Describes the possible provider types.


Enum Constant Summary
DMP
          Designates providers which provide results optimized for data mining operations.
MDP
          Designates providers which provide results in the form of multidimensional data sets.
TDP
          Designates providers which provide results in the form of tabular data sets.
 
Method Summary
 String getDescription()
          Provides a human readable description of the provider type.
static Database.ProviderType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Database.ProviderType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TDP

public static final Database.ProviderType TDP
Designates providers which provide results in the form of tabular data sets.


MDP

public static final Database.ProviderType MDP
Designates providers which provide results in the form of multidimensional data sets.


DMP

public static final Database.ProviderType DMP
Designates providers which provide results optimized for data mining operations.

Method Detail

values

public static Database.ProviderType[] 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 (Database.ProviderType c : Database.ProviderType.values())
    System.out.println(c);

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

valueOf

public static Database.ProviderType 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.)

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

getDescription

public String getDescription()
Provides a human readable description of the provider type.

Returns:
A description string.

SourceForge.net_Logo