Package | Description |
---|---|
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.
|
mondrian.olap.fun.extra |
Defines MDX extension functions.
|
mondrian.rolap |
Implements the data access layer for the olap package.
|
mondrian.rolap.sql |
Database-independent library for generating SQL.
|
Modifier and Type | Method and Description |
---|---|
FunDef |
ResolvedFunCall.getFunDef()
Returns the definition of the function which is being called.
|
Constructor and Description |
---|
ResolvedFunCall(FunDef funDef,
Exp[] args,
Type returnType)
Creates a function call.
|
Modifier and Type | Method and Description |
---|---|
FunDef |
Validator.getDef(Exp[] args,
String name,
Syntax syntax)
Resolves a function call to a particular function.
|
Modifier and Type | Method and Description |
---|---|
void |
FunTable.Builder.define(FunDef funDef)
Defines a function.
|
NativeEvaluator |
DelegatingSchemaReader.getNativeSetEvaluator(FunDef fun,
Exp[] args,
Evaluator evaluator,
Calc calc) |
NativeEvaluator |
SchemaReader.getNativeSetEvaluator(FunDef fun,
Exp[] args,
Evaluator evaluator,
Calc calc)
Returns an object which can evaluate an expression in native SQL, or
null if this is not possible.
|
boolean |
Query.shouldAlertForNonNative(FunDef funDef)
Determines whether an alert for non-native evaluation needs
to be posted.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAggregateFunDef
Abstract base class for all aggregate functions (
Aggregate ,
Sum , Avg , et cetera). |
class |
AggregateFunDef
Definition of the
AGGREGATE MDX function. |
class |
CacheFunDef
Definition of the
Cache system function, which is smart enough
to evaluate its argument only once. |
class |
CastFunDef
Definition of the
CAST MDX operator. |
class |
CoalesceEmptyFunDef
Definition of the
CoalesceEmpty MDX function. |
class |
CrossJoinFunDef
Definition of the
CrossJoin MDX function. |
class |
ExistingFunDef
Existing keyword limits a set to what exists within the current context, ie
as if context members of the same dimension as the set were in the slicer.
|
class |
FunDefBase
FunDefBase is the default implementation of FunDef . |
class |
HierarchyCurrentMemberFunDef
Definition of the
<Hierarchy>.CurrentMember MDX
builtin function. |
class |
HierarchyDimensionFunDef
Definition of the
<Hierarchy>.Dimension MDX
builtin function. |
class |
IifFunDef
Definition of the
Iif MDX function. |
class |
JavaFunDef
MDX function which is implemented by a Java method.
|
class |
LevelHierarchyFunDef
Definition of the
<Level>.Hierarchy MDX builtin function. |
class |
LevelMembersFunDef
Definition of the
<Level>.Members MDX function. |
class |
LinReg
Abstract base class for definitions of linear regression functions.
|
static class |
LinReg.InterceptFunDef
Definition of the
LinRegIntercept MDX function. |
static class |
LinReg.PointFunDef
Definition of the
LinRegPoint MDX function. |
static class |
LinReg.R2FunDef
Definition of the
LinRegR2 MDX function. |
static class |
LinReg.SlopeFunDef
Definition of the
LinRegSlope MDX function. |
static class |
LinReg.VarianceFunDef
Definition of the
LinRegVariance MDX function. |
class |
MemberHierarchyFunDef
Definition of the
<Member>.Hierarchy MDX builtin function. |
class |
MemberLevelFunDef
Definition of the
<Member>.Level MDX builtin function. |
class |
MemberOrderKeyFunDef
Definition of the
<Member>.OrderKey MDX builtin
function. |
class |
NamedSetCurrentFunDef
Definition of the
<Named Set>.Current MDX
builtin function. |
class |
NamedSetCurrentOrdinalFunDef
Definition of the
<Named Set>.CurrentOrdinal MDX builtin
function. |
class |
NativizeSetFunDef
Definition of the
NativizeSet MDX function. |
class |
NonEmptyCrossJoinFunDef
Definition of the
NonEmptyCrossJoin MDX function. |
class |
ParameterFunDef
A
ParameterFunDef is a pseudo-function describing calls to
Parameter and ParamRef functions. |
class |
ParenthesesFunDef
ParenthesesFunDef implements the parentheses operator as if it
were a function. |
class |
RankFunDef
Definition of the
RANK MDX function. |
class |
SetFunDef
SetFunDef implements the 'set' function (whose syntax is the
brace operator, { ... |
class |
TupleFunDef
TupleFunDef implements the '(...)' operator which builds
tuples, as in ([Time].CurrentMember,
[Stores].[USA].[California]) . |
class |
ValidMeasureFunDef
Definition of the
ValidMeasure MDX function. |
class |
VisualTotalsFunDef
Definition of the
VisualTotals MDX function. |
Modifier and Type | Method and Description |
---|---|
protected abstract FunDef |
MultiResolver.createFunDef(Exp[] args,
FunDef dummyFunDef) |
protected FunDef |
ParameterFunDef.ParameterResolver.createFunDef(Exp[] args,
FunDef dummyFunDef) |
protected FunDef |
ParameterFunDef.ParamRefResolver.createFunDef(Exp[] args,
FunDef dummyFunDef) |
protected FunDef |
ReflectiveMultiResolver.createFunDef(Exp[] args,
FunDef dummyFunDef) |
FunDef |
UdfResolver.getFunDef() |
FunDef |
MultiResolver.getFunDef() |
FunDef |
Resolver.getFunDef()
Returns a representative example of the function which this Resolver
can produce, for purposes of describing the function set.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static List<FunDef> |
JavaFunDef.scan(Class clazz)
Scans a java class and returns a list of function definitions, one for
each static method which is suitable to become an MDX function.
|
Modifier and Type | Method and Description |
---|---|
protected abstract FunDef |
MultiResolver.createFunDef(Exp[] args,
FunDef dummyFunDef) |
protected FunDef |
ParameterFunDef.ParameterResolver.createFunDef(Exp[] args,
FunDef dummyFunDef) |
protected FunDef |
ParameterFunDef.ParamRefResolver.createFunDef(Exp[] args,
FunDef dummyFunDef) |
protected FunDef |
ReflectiveMultiResolver.createFunDef(Exp[] args,
FunDef dummyFunDef) |
static RuntimeException |
FunUtil.newEvalException(FunDef funDef,
String message)
Creates an exception which indicates that an error has occurred while
executing a given 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.
|
Constructor and Description |
---|
AbstractAggregateFunDef(FunDef dummyFunDef) |
AggregateFunDef(FunDef dummyFunDef)
Creates an AggregateFunDef.
|
CrossJoinFunDef(FunDef dummyFunDef) |
InterceptFunDef(FunDef funDef) |
LinReg(FunDef funDef,
int regType) |
NativizeSetFunDef(FunDef dummyFunDef) |
NonEmptyCrossJoinFunDef(FunDef dummyFunDef) |
PointFunDef(FunDef funDef) |
R2FunDef(FunDef funDef) |
RankFunDef(FunDef dummyFunDef) |
SlopeFunDef(FunDef funDef) |
VarianceFunDef(FunDef funDef) |
VisualTotalsFunDef(FunDef dummyFunDef) |
Constructor and Description |
---|
CustomizedFunctionTable(Set<String> builtinFunctions,
Set<FunDef> specialFunctions) |
Modifier and Type | Class and Description |
---|---|
class |
CachedExistsFunDef
CachedExistsFunDef is a replacement for the Exists MDX function that Analyzer uses for projecting tuples for
subtotals, Top10 and other calculations.
|
class |
CalculatedChildFunDef
Definition of the
CalculatedChild MDX function. |
class |
NthQuartileFunDef
Definition of the
FirstQ and ThirdQ MDX extension
functions. |
Constructor and Description |
---|
NthQuartileFunDef(FunDef dummyFunDef) |
Modifier and Type | Method and Description |
---|---|
NativeEvaluator |
RolapNativeRegistry.createEvaluator(RolapEvaluator evaluator,
FunDef fun,
Exp[] args)
Returns the matching NativeEvaluator or null if
fun can not
be executed in SQL for the given context and arguments. |
NativeEvaluator |
RolapSchemaReader.getNativeSetEvaluator(FunDef fun,
Exp[] args,
Evaluator evaluator,
Calc calc) |
Modifier and Type | Method and Description |
---|---|
List<CrossJoinArg[]> |
CrossJoinArgFactory.checkCrossJoin(RolapEvaluator evaluator,
FunDef fun,
Exp[] args,
boolean returnAny)
Checks for
CrossJoin(<set1>, <set2>) , where
set1 and set2 are one of
member.children , level.members or
member.descendants . |
Copyright © 2020 Hitachi Vantara. All rights reserved.