Package com.appliedolap.essbase
Enum Class EssAiFeature
- All Implemented Interfaces:
Serializable,Comparable<EssAiFeature>,Constable
The generative-AI capabilities a server can offer, each independently switchable.
GET /about/instance reports one flag per capability rather than one for AI as a whole,
so a server can perfectly well have semantic search on and the MDX generator off. Asking
EssCubeAi.getReadiness(EssAiFeature) about the one you are about to use beats asking
whether "AI" is available, which is not a question the server answers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFree-form chat about a cube.Writing a calculation script from a description.Writing an MDX query from a question asked in English.Finding members by meaning rather than by name. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe flag for AI as a whole; every capability is off when this is. -
Method Summary
Modifier and TypeMethodDescriptiongetFlag()The key this capability is reported under in/about/instance.getLabel()The capability's name as a person would write it, for a caller putting it on screen.static EssAiFeatureReturns the enum constant of this class with the specified name.static EssAiFeature[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MDX_GENERATOR
Writing an MDX query from a question asked in English. -
ASK_ESSBASE
Free-form chat about a cube. -
CALCULATION
Writing a calculation script from a description. -
SEMANTIC_SEARCH
Finding members by meaning rather than by name.
-
-
Field Details
-
ENABLED_FLAG
The flag for AI as a whole; every capability is off when this is.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getFlag
The key this capability is reported under in/about/instance.- Returns:
- the flag name
-
getLabel
The capability's name as a person would write it, for a caller putting it on screen. Worth carrying here rather than deriving from the constant name, which would give "Mdx generator".- Returns:
- the display name
-