Uses of Interface
mondrian.olap.FunDef
-
Packages that use FunDef 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. -
-
Uses of FunDef in mondrian.mdx
Methods in mondrian.mdx that return FunDef Modifier and Type Method Description FunDef
ResolvedFunCall. getFunDef()
Returns the definition of the function which is being called.Constructors in mondrian.mdx with parameters of type FunDef Constructor Description ResolvedFunCall(FunDef funDef, Exp[] args, Type returnType)
Creates a function call. -
Uses of FunDef in mondrian.olap
Methods in mondrian.olap that return FunDef Modifier and Type Method Description FunDef
Validator. getDef(Exp[] args, String name, Syntax syntax)
Resolves a function call to a particular function.Methods in mondrian.olap with parameters of type FunDef Modifier and Type Method 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. -
Uses of FunDef in mondrian.olap.fun
Classes in mondrian.olap.fun that implement FunDef Modifier and Type Class Description class
AbstractAggregateFunDef
Abstract base class for all aggregate functions (Aggregate
,Sum
,Avg
, et cetera).class
AggregateFunDef
Definition of theAGGREGATE
MDX function.class
CacheFunDef
Definition of theCache
system function, which is smart enough to evaluate its argument only once.class
CastFunDef
Definition of theCAST
MDX operator.class
CoalesceEmptyFunDef
Definition of theCoalesceEmpty
MDX function.class
CrossJoinFunDef
Definition of theCrossJoin
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 ofFunDef
.class
HierarchyCurrentMemberFunDef
Definition of the<Hierarchy>.CurrentMember
MDX builtin function.class
HierarchyDimensionFunDef
Definition of the<Hierarchy>.Dimension
MDX builtin function.class
IifFunDef
Definition of theIif
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 theLinRegIntercept
MDX function.static class
LinReg.PointFunDef
Definition of theLinRegPoint
MDX function.static class
LinReg.R2FunDef
Definition of theLinRegR2
MDX function.static class
LinReg.SlopeFunDef
Definition of theLinRegSlope
MDX function.static class
LinReg.VarianceFunDef
Definition of theLinRegVariance
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 theNativizeSet
MDX function.class
NonEmptyCrossJoinFunDef
Definition of theNonEmptyCrossJoin
MDX function.class
ParameterFunDef
AParameterFunDef
is a pseudo-function describing calls toParameter
andParamRef
functions.class
ParenthesesFunDef
ParenthesesFunDef
implements the parentheses operator as if it were a function.class
RankFunDef
Definition of theRANK
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 theValidMeasure
MDX function.class
VisualTotalsFunDef
Definition of theVisualTotals
MDX function.Methods in mondrian.olap.fun that return FunDef Modifier and Type Method 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
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. getFunDef()
FunDef
CacheFunDef.CacheFunResolver. resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions)
FunDef
MultiResolver. 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.FunDef
UdfResolver. resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions)
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.Methods in mondrian.olap.fun that return types with arguments of type FunDef Modifier and Type Method 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.Methods in mondrian.olap.fun with parameters of type FunDef Modifier and Type Method 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.Constructors in mondrian.olap.fun with parameters of type FunDef Constructor 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)
-
Uses of FunDef in mondrian.olap.fun.extra
Classes in mondrian.olap.fun.extra that implement FunDef Modifier and Type Class 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 theCalculatedChild
MDX function.class
NthQuartileFunDef
Definition of theFirstQ
andThirdQ
MDX extension functions.Constructors in mondrian.olap.fun.extra with parameters of type FunDef Constructor Description NthQuartileFunDef(FunDef dummyFunDef)
-
Uses of FunDef in mondrian.rolap
Methods in mondrian.rolap with parameters of type FunDef Modifier and Type Method Description NativeEvaluator
RolapNativeRegistry. createEvaluator(RolapEvaluator evaluator, FunDef fun, Exp[] args)
Returns the matching NativeEvaluator or null iffun
can not be executed in SQL for the given context and arguments.NativeEvaluator
RolapSchemaReader. getNativeSetEvaluator(FunDef fun, Exp[] args, Evaluator evaluator, Calc calc)
-
Uses of FunDef in mondrian.rolap.sql
Methods in mondrian.rolap.sql with parameters of type FunDef Modifier and Type Method Description List<CrossJoinArg[]>
CrossJoinArgFactory. checkCrossJoin(RolapEvaluator evaluator, FunDef fun, Exp[] args, boolean returnAny)
Checks forCrossJoin(<set1>, <set2>)
, where set1 and set2 are one ofmember.children
,level.members
ormember.descendants
.
-