Class SymbolType

java.lang.Object
org.olap4j.type.ScalarType
org.olap4j.type.SymbolType
All Implemented Interfaces:
Type

public class SymbolType extends ScalarType
The type of a symbolic expression.

Symbols are identifiers which occur in particular function calls, generally to indicate an option for how the function should be executed. They are similar to an enumerated type in other languages.

For example, the optional 3rd argument to the Order function can be one of the symbols ASC, DESC, BASC, BDESC. The signature of the Order function is therefore

Order(<Set>, <Scalar expression> [, <Symbol>])
and
Order([Store].Members, [Measures].[Unit Sales], BDESC)
would be a valid call to the function.
Since:
Feb 17, 2005
Author:
jhyde
  • Constructor Details

    • SymbolType

      public SymbolType()
      Creates a symbol type.