Package mondrian.olap

Class Category

    • Field Detail

      • instance

        public static final Category instance
        The singleton instance of Category.
      • Unknown

        public static final int Unknown
        Unknown is an expression whose type is as yet unknown.
        See Also:
        Constant Field Values
      • Array

        public static final int Array
        Array is an expression of array type.
        See Also:
        Constant Field Values
      • Logical

        public static final int Logical
        Logical is a boolean expression.
        See Also:
        Constant Field Values
      • Numeric

        public static final int Numeric
        Numeric is a numeric expression.
        See Also:
        Constant Field Values
      • Symbol

        public static final int Symbol
        Symbol is a symbol, for example the BASC keyword to the Order() function.
        See Also:
        Constant Field Values
      • Value

        public static final int Value
        Value is any expression yielding a string or numeric value.
        See Also:
        Constant Field Values
      • DateTime

        public static final int DateTime
        Represents a DataTime expression.
        See Also:
        Constant Field Values
      • Expression

        public static final int Expression
        Expression is a flag which, when bitwise-OR-ed with a category value, indicates an expression (as opposed to a constant).
        See Also:
        Constant Field Values
      • Constant

        public static final int Constant
        Constant is a flag which, when bitwise-OR-ed with a category value, indicates a constant (as opposed to an expression).
        See Also:
        Constant Field Values
    • Method Detail

      • instance

        public static Category instance()
        Returns the singleton instance of Category.
        Returns:
        the singleton instance
      • isScalar

        public static boolean isScalar​(int category)
        Returns whether a category represents a scalar type.
        Parameters:
        category - Category
        Returns:
        Whether is scalar