Package mondrian.olap.fun
Defines the set of MDX built-in functions.
-
Interface Summary Interface Description Resolver AResolverconverts a function name, invocation type, and set of arguments into aFunDef.Resolver.Conversion Description of an implicit conversion that occurred while resolving an operator call.UdfResolver.UdfFactory Factory forUserDefinedFunction. -
Class Summary Class Description AbstractAggregateFunDef Abstract base class for all aggregate functions (Aggregate,Sum,Avg, et cetera).AddCalculatedMembersFunDef Definition of theAddCalculatedMembersMDX function.AggregateFunDef Definition of theAGGREGATEMDX function.AggregateFunDef.AggregateCalc AncestorFunDef Definition of theAncestorMDX function.AncestorsFunDef Definition of theAncestorsMDX function.AsFunDef Definition of theASMDX operator.AvgFunDef Definition of theAvgMDX function.BuiltinFunTable BuiltinFunTablecontains a list of all built-in MDX functions.CacheFunDef Definition of theCachesystem function, which is smart enough to evaluate its argument only once.CacheFunDef.CacheFunResolver CaseMatchFunDef Definition of the matchedCASEMDX operator.CaseTestFunDef Definition of the testedCASEMDX operator.CastFunDef Definition of theCASTMDX operator.CoalesceEmptyFunDef Definition of theCoalesceEmptyMDX function.CorrelationFunDef Definition of theCorrelationMDX function.CountFunDef Definition of theCountMDX function.CovarianceFunDef Definition of theCovarianceandCovarianceNMDX functions.CrossJoinFunDef Definition of theCrossJoinMDX function.CrossJoinTest CrossJointtests the collation order of positive and negative infinity, andDouble.NaN.CrossJoinTest.NullFunDef CrossJoinTest.TestFunDef CustomizedFunctionTable Interface to build a customized function table, selecting functions from the set of supported functions in an instance ofBuiltinFunTable.DescendantsFunDef Definition of theDescendantsMDX function.DimensionDimensionFunDef Definition of the<Dimension>.DimensionMDX builtin function.DimensionsNumericFunDef Definition of theDimensions(<Numeric Expression>)MDX builtin function.DimensionsStringFunDef Definition of theDimensions(<String Expression>)MDX builtin function.DistinctFunDef Definition of theDistinctMDX function.DistinctFunDef.CalcImpl DrilldownLevelFunDef Definition of theDrilldownLevelMDX function.DrilldownLevelTopBottomFunDef Definition of theDrilldownLevelTopandDrilldownLevelBottomMDX builtin functions.DrilldownMemberFunDef Definition of theDrilldownMemberMDX function.ExceptFunDef Definition of theExceptMDX function.ExistsFunDef Definition of theEXISTSMDX function.ExtractFunDef Definition of theExtractMDX function.FilterFunDef Definition of theFilterMDX function.FormatFunDef Definition of theFormatMDX function.FunctionTest FunctionTesttests the functions defined inBuiltinFunTable.FunDefBase FunDefBaseis the default implementation ofFunDef.FunInfo Support class for theCmdRunnerallowing one to view available functions and their syntax.FunTableImpl Abstract implementation ofFunTable.FunUtil FunUtilcontains a set of methods useful within themondrian.olap.funpackage.FunUtil.DescendingValueComparator Compares cell values, so that larger values compare first.FunUtil.ObjIntPair<T> Tuple consisting of an object and an integer.FunUtil.OrderKey FunUtil.Quicksorter<T> A functional forFunUtil.partialSort(T[], java.util.Comparator<T>, int).FunUtil.SetWrapper FunUtil.SortKeySpec FunUtil.TupleExpMemoComparator GenerateFunDef Definition of theGenerateMDX function.GlobalFunTable Global function table contains builtin functions and global user-defined functions.HeadTailFunDef Definition of theHeadandTailMDX builtin functions.HierarchizeFunDef Definition of theHierarchizeMDX function.HierarchyCurrentMemberFunDef Definition of the<Hierarchy>.CurrentMemberMDX builtin function.HierarchyCurrentMemberFunDef.CalcImpl Compiled implementation of the Hierarchy.CurrentMember function that evaluates the hierarchy expression first.HierarchyCurrentMemberFunDef.FixedCalcImpl Compiled implementation of the Hierarchy.CurrentMember function that uses a fixed hierarchy.HierarchyDimensionFunDef Definition of the<Hierarchy>.DimensionMDX builtin function.HierarchyDimensionFunDef.CalcImpl IifFunDef Definition of theIifMDX function.IntersectFunDef Definition of theINTERSECTMDX function.IsEmptyFunDef Definition of theIsEmptyMDX function.IsFunDef Definition of theISMDX function.IsNullFunDef Definition of theIS NULLMDX function.JavaFunDef MDX function which is implemented by a Java method.LastPeriodsFunDef Definition of theLastPeriodsMDX function.LeadLagFunDef Definition of theLeadandLagMDX functions.LevelDimensionFunDef Definition of the<Level>.DimensionMDX builtin function.LevelHierarchyFunDef Definition of the<Level>.HierarchyMDX builtin function.LevelHierarchyFunDef.CalcImpl LevelMembersFunDef Definition of the<Level>.MembersMDX function.LinReg Abstract base class for definitions of linear regression functions.LinReg.InterceptFunDef Definition of theLinRegInterceptMDX function.LinReg.PointFunDef Definition of theLinRegPointMDX function.LinReg.R2FunDef Definition of theLinRegR2MDX function.LinReg.SlopeFunDef Definition of theLinRegSlopeMDX function.LinReg.Value LinReg.VarianceFunDef Definition of theLinRegVarianceMDX function.MedianFunDef Definition of theMedianMDX functions.MemberDimensionFunDef Definition of the<Measure>.DimensionMDX builtin function.MemberExtractingVisitor Visitor which collects any non-measure base members encountered while traversing an expression.MemberHierarchyFunDef Definition of the<Member>.HierarchyMDX builtin function.MemberHierarchyFunDef.CalcImpl MemberLevelFunDef Definition of the<Member>.LevelMDX builtin function.MemberLevelFunDef.CalcImpl MemberOrderKeyFunDef Definition of the<Member>.OrderKeyMDX builtin function.MemberOrderKeyFunDef.CalcImpl MinMaxFunDef Definition of theMinandMaxMDX functions.MultiResolver AMultiResolverconsiders several overloadings of the same function.NamedSetCurrentFunDef Definition of the<Named Set>.CurrentMDX builtin function.NamedSetCurrentOrdinalFunDef Definition of the<Named Set>.CurrentOrdinalMDX builtin function.NativizeSetFunDef Definition of theNativizeSetMDX function.NativizeSetFunDef.AddFormulasVisitor NativizeSetFunDef.CrossJoinAnalyzer NativizeSetFunDef.FindLevelsVisitor NativizeSetFunDef.NativeListCalc NativizeSetFunDef.NonNativeCalc NativizeSetFunDef.NonNativeIterCalc NativizeSetFunDef.NonNativeListCalc NativizeSetFunDef.Range NativizeSetFunDef.RangeIterator NativizeSetFunDef.TransformFromFormulasVisitor NativizeSetFunDef.TransformToFormulasVisitor NativizeSetFunDefTest Unit test for theNativizeSetfunction.NonEmptyCrossJoinFunDef Definition of theNonEmptyCrossJoinMDX function.OpeningClosingPeriodFunDef Definition of theOpeningPeriodandClosingPeriodbuiltin functions.OrderFunDef Definition of theOrderMDX function.ParallelPeriodFunDef Definition of theParallelPeriodMDX function.ParameterFunDef AParameterFunDefis a pseudo-function describing calls toParameterandParamReffunctions.ParameterFunDef.ParameterResolver Resolves calls to theParameterMDX function.ParameterFunDef.ParamRefResolver Resolves calls to theParamRefMDX function.ParenthesesFunDef ParenthesesFunDefimplements the parentheses operator as if it were a function.PartialSortTest PartialSortTestis a unit test for the partial-sort algorithmFunUtil.partialSort(T[], java.util.Comparator<T>, int), which supports MDX functions like TopCount and BottomCount.PartialSortTest.Item PercentileFunDef Definition of thePercentileMDX function.PeriodsToDateFunDef Definition of thePeriodsToDateMDX function.PropertiesFunDef Definition of thePropertiesMDX function.RangeFunDef Definition of the MDX<Member> : <Member>operator, which returns the set of members between a given pair of members.RankFunDef Definition of theRANKMDX function.RankFunDef.RankedMemberList Data structure which contains a list and can return the position of an element in the list in O(log N).RankFunDef.RankedTupleList Data structure which contains a list and can return the position of an element in the list in O(log N).ReflectiveMultiResolver Resolver which uses reflection to instantiate aFunDef.ResolvedFunCallFinder Visitor class used to locate a resolved function call within an expressionResolverBase ResolverBaseprovides a skeleton implementation ofinterfaceResolverResultStyleCompiler TheResultStyleCompilercan be used to assure that the use of the container ResultStyle: ITERABLE, LIST and MUTABLE_LIST; can be requested by any Calc.ResultStyleCompiler.MultiCalc Calc with three child Calcs, one for ITERABLE, LIST and MUTABLE_LIST, which are evaluated during the normal evaluation process.SetFunDef SetFunDefimplements the 'set' function (whose syntax is the brace operator,{ ...SetFunDef.ExprIterCalc Compiled expression that evaluates one or more expressions, each of which yields a tuple or a set of tuples, and returns the result as a tuple iterator.SetFunDef.SetListCalc Compiled expression to implement the MDX set function,{ ...SetFunDefTest Unit test for the set constructor function{ ...SetItemFunDef Definition of the<Set>.ItemMDX function.SetToStrFunDef Definition of theSetToStrMDX function.SimpleResolver ASimpleResolverresolves a single, non-overloaded function.SortTest SortTesttests the collation order of positive and negative infinity, andDouble.NaN.StdevFunDef Definition of theStdevbuiltin MDX function, and its aliasStddev.StdevPFunDef Definition of theStdevPbuiltin MDX function, and its aliasStddevP.StrToMemberFunDef Definition of theStrToMemberMDX function.StrToSetFunDef Definition of theStrToSetMDX builtin function.StrToTupleFunDef Definition of theStrToTupleMDX function.SubsetFunDef Definition of theSubsetMDX function.SumFunDef Definition of theSumMDX function.TestMember Mock implementation ofMemberfor testing.ToggleDrillStateFunDef Definition of theToggleDrillStateMDX function.TopBottomCountFunDef Definition of theTopCountandBottomCountMDX builtin functions.TopBottomPercentSumFunDef Definition of theTopPercent,BottomPercent,TopSumandBottomSumMDX builtin functions.TupleFunDef TupleFunDefimplements the '(...)' operator which builds tuples, as in([Time].CurrentMember, [Stores].[USA].[California]).TupleFunDef.CalcImpl TupleItemFunDef Definition of the<Tuple>.ItemMDX function.TupleToStrFunDef Definition of theTupleToStrMDX function.UdfResolver Resolver for user-defined functions.UdfResolver.ClassUdfFactory Implementation ofUdfResolver.UdfFactorythat instantiates a given class using a public default constructor.UnionFunDef Definition of theUnionMDX function.UnionFunDefTest Tests for UnionFunDefUnorderFunDef Definition of theUnorderMDX function.ValidMeasureFunDef Definition of theValidMeasureMDX function.ValidMeasureFunDefTest Tests for ValidMeasureFunDef Created by Yury_Bakhmutski on 9/2/2015.ValueFunDef AValueFunDefis a pseudo-function to evaluate a member or a tuple.VarFunDef Definition of theVarMDX builtin function (and its synonymVariance).VarPFunDef Definition of theVarPMDX builtin function (and its synonymVarianceP).VisualTotalsFunDef Definition of theVisualTotalsMDX function.VisualTotalsFunDef.VisualTotalMember Calculated member forVisualTotalsfunction.VisualTotalsTest VisualTotalsTesttests the internal functions defined inVisualTotalsFunDef.XtdFunDef Definition ofYtd,Qtd,Mtd, andWtdMDX builtin functions. -
Enum Summary Enum Description DescendantsFunDef.Flag Enumeration of the flags allowed to theDESCENDANTSfunction.FunUtil.Flag Enumeration of the flags allowed to theORDERMDX function.NativizeSetFunDef.NativeElementType -
Exception Summary Exception Description MondrianEvaluationException Thrown while evaluating a cell expression -
Annotation Types Summary Annotation Type Description JavaFunDef.Description Annotation which allows you to tag a Java method with the description of the MDX function it implements.JavaFunDef.FunctionName Annotation which allows you to tag a Java method with the name of the MDX function it implements.JavaFunDef.Signature Annotation which allows you to tag a Java method with the signature of the MDX function it implements.JavaFunDef.SyntaxDef Annotation which allows you to tag a Java method with the syntax of the MDX function it implements.