Package | Description |
---|---|
mondrian.calc |
Provides compiled expressions.
|
mondrian.calc.impl |
Provides implementation classes for compiled expressions.
|
mondrian.mdx |
Defines a parse tree for MDX 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.
|
Modifier and Type | Method and Description |
---|---|
Validator |
ExpCompiler.getValidator()
Returns the validator which was used to validate this expression.
|
Modifier and Type | Method and Description |
---|---|
Exp |
DummyExp.accept(Validator validator) |
static ExpCompiler |
ExpCompiler.Factory.getExpCompiler(Evaluator evaluator,
Validator validator)
Create a
ExpCompiler instance, each call returns a
new compiler. |
static ExpCompiler |
ExpCompiler.Factory.getExpCompiler(Evaluator evaluator,
Validator validator,
List<ResultStyle> resultStyles) |
Modifier and Type | Method and Description |
---|---|
Validator |
AbstractExpCompiler.getValidator() |
Validator |
DelegatingExpCompiler.getValidator() |
Constructor and Description |
---|
AbstractExpCompiler(Evaluator evaluator,
Validator validator)
Creates an AbstractExpCompiler
|
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) |
BetterExpCompiler(Evaluator evaluator,
Validator validator,
List<ResultStyle> resultStyles) |
Modifier and Type | Method and Description |
---|---|
Exp |
HierarchyExpr.accept(Validator validator) |
Exp |
LevelExpr.accept(Validator validator) |
Exp |
MemberExpr.accept(Validator validator) |
Exp |
UnresolvedFunCall.accept(Validator validator) |
Exp |
NamedSetExpr.accept(Validator validator) |
Exp |
ResolvedFunCall.accept(Validator validator) |
Exp |
DimensionExpr.accept(Validator validator) |
Exp |
ParameterExpr.accept(Validator validator) |
Modifier and Type | Method and Description |
---|---|
static Validator |
Util.createSimpleValidator(FunTable funTable)
Creates a very simple implementation of
Validator . |
Validator |
Query.createValidator()
Creates a validator for this query.
|
Validator |
Query.createValidator(FunTable functionTable,
boolean alwaysResolveFunDef)
Creates a validator for this query that uses a given function table and
function validation policy.
|
Validator |
Query.createValidator(FunTable functionTable,
boolean alwaysResolveFunDef,
Map<QueryPart,QueryPart> resolvedIdentifiers) |
Validator |
Query.createValidator(Map<QueryPart,QueryPart> resolvedIdentifiers) |
Modifier and Type | Method and Description |
---|---|
Exp |
Exp.accept(Validator validator)
Validates this expression.
|
Exp |
Literal.accept(Validator validator) |
Exp |
Id.accept(Validator validator) |
Exp |
FunDef.createCall(Validator validator,
Exp[] args)
Creates an expression which represents a call to this function with
a given set of arguments.
|
void |
Query.resolve(Validator validator)
Performs type-checking and validates internal consistency of a query.
|
void |
QueryAxis.resolve(Validator validator) |
NamedSet |
Query.ScopedNamedSet.validate(Validator validator) |
void |
QueryAxis.validate(Validator validator) |
NamedSet |
NamedSet.validate(Validator validator) |
NamedSet |
SetBase.validate(Validator validator) |
Modifier and Type | Method and Description |
---|---|
void |
Resolver.Conversion.apply(Validator validator,
List<Exp> args)
Applies this conversion to its argument, modifying the argument list
in place.
|
Exp |
NamedSetCurrentOrdinalFunDef.createCall(Validator validator,
Exp[] args) |
Exp |
FunDefBase.createCall(Validator validator,
Exp[] args) |
Exp |
ParameterFunDef.createCall(Validator validator,
Exp[] args) |
Exp |
NamedSetCurrentFunDef.createCall(Validator validator,
Exp[] args) |
Exp |
NativizeSetFunDef.createCall(Validator validator,
Exp[] args) |
Type |
SetFunDef.getResultType(Validator validator,
Exp[] args) |
Type |
MemberLevelFunDef.getResultType(Validator validator,
Exp[] args) |
Type |
TupleFunDef.getResultType(Validator validator,
Exp[] args) |
Type |
FunDefBase.getResultType(Validator validator,
Exp[] args)
Returns the type of a call to this function with a given set of
arguments.
The default implementation makes the coarse assumption that the return
type is in some way related to the type of the first argument.
|
Type |
ParenthesesFunDef.getResultType(Validator validator,
Exp[] args) |
Type |
ExistingFunDef.getResultType(Validator validator,
Exp[] args) |
Type |
ParameterFunDef.getResultType(Validator validator,
Exp[] args) |
Type |
IifFunDef.getResultType(Validator validator,
Exp[] args) |
Type |
CrossJoinFunDef.getResultType(Validator validator,
Exp[] args) |
FunDef |
UdfResolver.resolve(Exp[] args,
Validator validator,
List<Resolver.Conversion> conversions) |
FunDef |
MultiResolver.resolve(Exp[] args,
Validator validator,
List<Resolver.Conversion> conversions) |
FunDef |
CacheFunDef.CacheFunResolver.resolve(Exp[] args,
Validator validator,
List<Resolver.Conversion> conversions) |
FunDef |
Resolver.resolve(Exp[] args,
Validator validator,
List<Resolver.Conversion> conversions)
Given a particular set of arguments the function is applied to, returns
the correct overloaded form of the function.
|
static FunDef |
FunUtil.resolveFunArgs(Validator validator,
FunDef funDef,
Exp[] args,
Exp[] newArgs,
String name,
Syntax syntax)
Validates the arguments to a function and resolves the function.
|
protected Exp |
FunDefBase.validateArg(Validator validator,
Exp[] args,
int i,
int category)
Validates an argument to a call to this function.
|
protected Exp |
VisualTotalsFunDef.validateArg(Validator validator,
Exp[] args,
int i,
int category) |
protected Exp |
AbstractAggregateFunDef.validateArg(Validator validator,
Exp[] args,
int i,
int category) |
Copyright © 2020 Hitachi Vantara. All rights reserved.