Enum Selection.Operator

java.lang.Object
java.lang.Enum<Selection.Operator>
org.olap4j.query.Selection.Operator
All Implemented Interfaces:
Serializable, Comparable<Selection.Operator>, Constable
Enclosing interface:
Selection

public static enum Selection.Operator extends Enum<Selection.Operator>
Defines which selection operators are allowed, relative to a root member.
  • Enum Constant Details

    • MEMBER

      public static final Selection.Operator MEMBER
      Only the root member will be selected.
    • MEMBERS

      public static final Selection.Operator MEMBERS
      All members of Level will be selected (LevelSelection only)
    • CHILDREN

      public static final Selection.Operator 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

      public static final Selection.Operator INCLUDE_CHILDREN
      The root member will be selected along with all it's children.
    • SIBLINGS

      public static final Selection.Operator SIBLINGS
      Will select the root member along with all it's siblings.

      Implemented via the MDX .Siblings member property.

    • ANCESTORS

      public static final Selection.Operator ANCESTORS
      Selects the set of the ascendants of a specified member, including the member itself.

      Implemented via the MDX Ascendants() function.

    • DESCENDANTS

      public static final Selection.Operator DESCENDANTS
      Selects the set of the descendants of a specified member, including the member itself.

      Implemented via the MDX Descendants() function.

  • Method Details

    • values

      public static Selection.Operator[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Selection.Operator 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