Package org.olap4j.metadata
Enum Database.ProviderType
- java.lang.Object
-
- java.lang.Enum<Database.ProviderType>
-
- org.olap4j.metadata.Database.ProviderType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Database.ProviderType>
- Enclosing interface:
- Database
public static enum Database.ProviderType extends java.lang.Enum<Database.ProviderType>
Describes the possible provider types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Provides a human readable description of the provider type.static Database.ProviderType
valueOf(java.lang.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.
-
-
-
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(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDescription
public java.lang.String getDescription()
Provides a human readable description of the provider type.- Returns:
- A description string.
-
-