|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Selection.Operator>
org.olap4j.query.Selection.Operator
public static enum Selection.Operator
Defines which selection operators are allowed, relative to a root member.
Enum Constant Summary | |
---|---|
ANCESTORS
Selects the set of the ascendants of a specified member, including the member itself. |
|
CHILDREN
Only the children of the root member will be selected. |
|
DESCENDANTS
Selects the set of the descendants of a specified member, including the member itself. |
|
INCLUDE_CHILDREN
The root member will be selected along with all it's children. |
|
MEMBER
Only the root member will be selected. |
|
MEMBERS
All members of Level will be selected (LevelSelection only) |
|
SIBLINGS
Will select the root member along with all it's siblings. |
Method Summary | |
---|---|
static Selection.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Selection.Operator[] |
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 |
---|
public static final Selection.Operator MEMBER
public static final Selection.Operator MEMBERS
public static final Selection.Operator CHILDREN
Implemented via the MDX .Children member property.
public static final Selection.Operator INCLUDE_CHILDREN
public static final Selection.Operator SIBLINGS
Implemented via the MDX .Siblings member property.
public static final Selection.Operator ANCESTORS
Implemented via the MDX Ascendants() function.
public static final Selection.Operator DESCENDANTS
Implemented via the MDX Descendants() function.
Method Detail |
---|
public static Selection.Operator[] values()
for (Selection.Operator c : Selection.Operator.values()) System.out.println(c);
public static Selection.Operator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |