Package org.olap4j.query
Enum Class Selection.Operator
- All Implemented Interfaces:
Serializable
,Comparable<Selection.Operator>
,Constable
- Enclosing interface:
Selection
Defines which selection operators are allowed, relative to
a root member.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSelects the set of the ascendants of a specified member, including the member itself.Only the children of the root member will be selected.Selects the set of the descendants of a specified member, including the member itself.The root member will be selected along with all it's children.Only the root member will be selected.All members of Level will be selected (LevelSelection only)Will select the root member along with all it's siblings. -
Method Summary
Modifier and TypeMethodDescriptionstatic Selection.Operator
Returns the enum constant of this class with the specified name.static Selection.Operator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MEMBER
Only the root member will be selected. -
MEMBERS
All members of Level will be selected (LevelSelection only) -
CHILDREN
Only the children of the root member will be selected. This excludes the root member itself.Implemented via the MDX .Children member property.
-
INCLUDE_CHILDREN
The root member will be selected along with all it's children. -
SIBLINGS
Will select the root member along with all it's siblings.Implemented via the MDX .Siblings member property.
-
ANCESTORS
Selects the set of the ascendants of a specified member, including the member itself.Implemented via the MDX Ascendants() function.
-
DESCENDANTS
Selects the set of the descendants of a specified member, including the member itself.Implemented via the MDX Descendants() function.
-
-
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
-