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 FunDefResolvedFunCall. 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 FunDefValidator. 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 voidFunTable.Builder. define(FunDef funDef)Defines a function.NativeEvaluatorDelegatingSchemaReader. getNativeSetEvaluator(FunDef fun, Exp[] args, Evaluator evaluator, Calc calc)NativeEvaluatorSchemaReader. 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.booleanQuery. 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 classAbstractAggregateFunDefAbstract base class for all aggregate functions (Aggregate,Sum,Avg, et cetera).classAggregateFunDefDefinition of theAGGREGATEMDX function.classCacheFunDefDefinition of theCachesystem function, which is smart enough to evaluate its argument only once.classCastFunDefDefinition of theCASTMDX operator.classCoalesceEmptyFunDefDefinition of theCoalesceEmptyMDX function.classCrossJoinFunDefDefinition of theCrossJoinMDX function.classExistingFunDefExisting 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.classFunDefBaseFunDefBaseis the default implementation ofFunDef.classHierarchyCurrentMemberFunDefDefinition of the<Hierarchy>.CurrentMemberMDX builtin function.classHierarchyDimensionFunDefDefinition of the<Hierarchy>.DimensionMDX builtin function.classIifFunDefDefinition of theIifMDX function.classJavaFunDefMDX function which is implemented by a Java method.classLevelHierarchyFunDefDefinition of the<Level>.HierarchyMDX builtin function.classLevelMembersFunDefDefinition of the<Level>.MembersMDX function.classLinRegAbstract base class for definitions of linear regression functions.static classLinReg.InterceptFunDefDefinition of theLinRegInterceptMDX function.static classLinReg.PointFunDefDefinition of theLinRegPointMDX function.static classLinReg.R2FunDefDefinition of theLinRegR2MDX function.static classLinReg.SlopeFunDefDefinition of theLinRegSlopeMDX function.static classLinReg.VarianceFunDefDefinition of theLinRegVarianceMDX function.classMemberHierarchyFunDefDefinition of the<Member>.HierarchyMDX builtin function.classMemberLevelFunDefDefinition of the<Member>.LevelMDX builtin function.classMemberOrderKeyFunDefDefinition of the<Member>.OrderKeyMDX builtin function.classNamedSetCurrentFunDefDefinition of the<Named Set>.CurrentMDX builtin function.classNamedSetCurrentOrdinalFunDefDefinition of the<Named Set>.CurrentOrdinalMDX builtin function.classNativizeSetFunDefDefinition of theNativizeSetMDX function.classNonEmptyCrossJoinFunDefDefinition of theNonEmptyCrossJoinMDX function.classParameterFunDefAParameterFunDefis a pseudo-function describing calls toParameterandParamReffunctions.classParenthesesFunDefParenthesesFunDefimplements the parentheses operator as if it were a function.classRankFunDefDefinition of theRANKMDX function.classSetFunDefSetFunDefimplements the 'set' function (whose syntax is the brace operator,{ ...classTupleFunDefTupleFunDefimplements the '(...)' operator which builds tuples, as in([Time].CurrentMember, [Stores].[USA].[California]).classValidMeasureFunDefDefinition of theValidMeasureMDX function.classVisualTotalsFunDefDefinition of theVisualTotalsMDX function.Methods in mondrian.olap.fun that return FunDef Modifier and Type Method Description protected abstract FunDefMultiResolver. createFunDef(Exp[] args, FunDef dummyFunDef)protected FunDefParameterFunDef.ParameterResolver. createFunDef(Exp[] args, FunDef dummyFunDef)protected FunDefParameterFunDef.ParamRefResolver. createFunDef(Exp[] args, FunDef dummyFunDef)protected FunDefReflectiveMultiResolver. createFunDef(Exp[] args, FunDef dummyFunDef)FunDefMultiResolver. getFunDef()FunDefResolver. getFunDef()Returns a representative example of the function which this Resolver can produce, for purposes of describing the function set.FunDefUdfResolver. getFunDef()FunDefCacheFunDef.CacheFunResolver. resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions)FunDefMultiResolver. resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions)FunDefResolver. 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.FunDefUdfResolver. resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions)static FunDefFunUtil. 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 FunDefMultiResolver. createFunDef(Exp[] args, FunDef dummyFunDef)protected FunDefParameterFunDef.ParameterResolver. createFunDef(Exp[] args, FunDef dummyFunDef)protected FunDefParameterFunDef.ParamRefResolver. createFunDef(Exp[] args, FunDef dummyFunDef)protected FunDefReflectiveMultiResolver. createFunDef(Exp[] args, FunDef dummyFunDef)static RuntimeExceptionFunUtil. newEvalException(FunDef funDef, String message)Creates an exception which indicates that an error has occurred while executing a given function.static FunDefFunUtil. 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 classCachedExistsFunDefCachedExistsFunDef is a replacement for the Exists MDX function that Analyzer uses for projecting tuples for subtotals, Top10 and other calculations.classCalculatedChildFunDefDefinition of theCalculatedChildMDX function.classNthQuartileFunDefDefinition of theFirstQandThirdQMDX 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 NativeEvaluatorRolapNativeRegistry. createEvaluator(RolapEvaluator evaluator, FunDef fun, Exp[] args)Returns the matching NativeEvaluator or null iffuncan not be executed in SQL for the given context and arguments.NativeEvaluatorRolapSchemaReader. 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.membersormember.descendants.
-