org.olap4j.type
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
- Version:
- $Id: SymbolType.java 482 2012-01-05 23:27:27Z jhyde $
- Author:
- jhyde
Constructor Summary |
SymbolType()
Creates a symbol type. |
SymbolType
public SymbolType()
- Creates a symbol type.