Package | Description |
---|---|
mondrian.calc |
Provides compiled expressions.
|
mondrian.calc.impl |
Provides implementation classes for compiled expressions.
|
mondrian.olap |
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
|
mondrian.olap.fun |
Defines the set of MDX built-in functions.
|
mondrian.rolap |
Implements the data access layer for the olap package.
|
Modifier and Type | Field and Description |
---|---|
static List<ResultStyle> |
ResultStyle.ANY_LIST |
static List<ResultStyle> |
ResultStyle.ANY_ONLY |
static List<ResultStyle> |
ResultStyle.ITERABLE_ANY |
static List<ResultStyle> |
ResultStyle.ITERABLE_LIST |
static List<ResultStyle> |
ResultStyle.ITERABLE_LIST_MUTABLELIST |
static List<ResultStyle> |
ResultStyle.ITERABLE_LIST_MUTABLELIST_ANY |
static List<ResultStyle> |
ResultStyle.ITERABLE_MUTABLELIST |
static List<ResultStyle> |
ResultStyle.ITERABLE_MUTABLELIST_LIST |
static List<ResultStyle> |
ResultStyle.ITERABLE_ONLY |
static List<ResultStyle> |
ResultStyle.LIST_MUTABLELIST |
static List<ResultStyle> |
ResultStyle.LIST_ONLY |
static List<ResultStyle> |
ResultStyle.MUTABLELIST_LIST |
static List<ResultStyle> |
ResultStyle.MUTABLELIST_ONLY |
Modifier and Type | Method and Description |
---|---|
ResultStyle |
Calc.getResultStyle()
Returns style in which the result of evaluating this expression is
returned.
|
static ResultStyle |
ResultStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultStyle[] |
ResultStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<ResultStyle> |
ExpCompiler.getAcceptableResultStyles()
Returns a list of the
ResultStyle s
acceptable to the caller. |
Modifier and Type | Method and Description |
---|---|
Calc |
ExpCompiler.compileAs(Exp exp,
Type resultType,
List<ResultStyle> preferredResultStyles)
Compiles an expression to a given result type.
|
static ExpCompiler |
ExpCompiler.Factory.getExpCompiler(Evaluator evaluator,
Validator validator,
List<ResultStyle> resultStyles) |
Modifier and Type | Method and Description |
---|---|
ResultStyle |
AbstractListCalc.getResultStyle() |
ResultStyle |
AbstractCalc.getResultStyle() |
ResultStyle |
ConstantCalc.getResultStyle() |
ResultStyle |
AbstractIterCalc.getResultStyle() |
Modifier and Type | Method and Description |
---|---|
List<ResultStyle> |
AbstractExpCompiler.getAcceptableResultStyles() |
List<ResultStyle> |
DelegatingExpCompiler.getAcceptableResultStyles() |
Modifier and Type | Method and Description |
---|---|
Calc |
AbstractExpCompiler.compileAs(Exp exp,
Type resultType,
List<ResultStyle> preferredResultTypes)
Compiles an expression to a given result type.
|
Calc |
DelegatingExpCompiler.compileAs(Exp exp,
Type resultType,
List<ResultStyle> preferredResultTypes) |
Constructor and Description |
---|
AbstractExpCompiler(Evaluator evaluator,
Validator validator,
List<ResultStyle> resultStyles)
Creates an AbstractExpCompiler which is constrained to produce one of
a set of result styles.
|
BetterExpCompiler(Evaluator evaluator,
Validator validator,
List<ResultStyle> resultStyles) |
Modifier and Type | Method and Description |
---|---|
ResultStyle |
Query.getResultStyle() |
Modifier and Type | Method and Description |
---|---|
Calc |
QueryAxis.compile(ExpCompiler compiler,
ResultStyle resultStyle) |
Calc |
Query.compileExpression(Exp exp,
boolean scalar,
ResultStyle resultStyle)
Compiles an expression, using a cached compiled expression if available.
|
Object |
NativeEvaluator.execute(ResultStyle resultStyle) |
static ResultStyleException |
ResultStyleException.generateBadType(List<ResultStyle> wanted,
ResultStyle got) |
void |
Query.setResultStyle(ResultStyle resultStyle)
A Query's ResultStyle can only be one of the following:
ResultStyle.ITERABLE
ResultStyle.LIST
ResultStyle.MUTABLE_LIST
|
Modifier and Type | Method and Description |
---|---|
static ResultStyleException |
ResultStyleException.generate(List<ResultStyle> producer,
List<ResultStyle> consumer) |
static ResultStyleException |
ResultStyleException.generate(List<ResultStyle> producer,
List<ResultStyle> consumer) |
static ResultStyleException |
ResultStyleException.generateBadType(List<ResultStyle> wanted,
ResultStyle got) |
Constructor and Description |
---|
ExprIterCalc(Exp exp,
Exp[] args,
ExpCompiler compiler,
List<ResultStyle> resultStyles) |
SetListCalc(Exp exp,
Exp[] args,
ExpCompiler compiler,
List<ResultStyle> resultStyles) |
Modifier and Type | Method and Description |
---|---|
Object |
RolapNativeSet.SetEvaluator.execute(ResultStyle desiredResultStyle) |
Copyright © 2020 Hitachi Vantara. All rights reserved.