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 229 2009-05-08 19:11:29Z jhyde $
- Author:
- jhyde
Constructor Summary |
SymbolType()
Creates a symbol type. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SymbolType
public SymbolType()
- Creates a symbol type.