Package mondrian.olap.fun
Defines the set of MDX built-in functions.
-
Interface Summary Interface Description Resolver AResolver
converts 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 theAddCalculatedMembers
MDX function.AggregateFunDef Definition of theAGGREGATE
MDX function.AggregateFunDef.AggregateCalc AncestorFunDef Definition of theAncestor
MDX function.AncestorsFunDef Definition of theAncestors
MDX function.AsFunDef Definition of theAS
MDX operator.AvgFunDef Definition of theAvg
MDX function.BuiltinFunTable BuiltinFunTable
contains a list of all built-in MDX functions.CacheFunDef Definition of theCache
system function, which is smart enough to evaluate its argument only once.CacheFunDef.CacheFunResolver CaseMatchFunDef Definition of the matchedCASE
MDX operator.CaseTestFunDef Definition of the testedCASE
MDX operator.CastFunDef Definition of theCAST
MDX operator.CoalesceEmptyFunDef Definition of theCoalesceEmpty
MDX function.CorrelationFunDef Definition of theCorrelation
MDX function.CountFunDef Definition of theCount
MDX function.CovarianceFunDef Definition of theCovariance
andCovarianceN
MDX functions.CrossJoinFunDef Definition of theCrossJoin
MDX function.CrossJoinTest CrossJoint
tests 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 theDescendants
MDX function.DimensionDimensionFunDef Definition of the<Dimension>.Dimension
MDX builtin function.DimensionsNumericFunDef Definition of theDimensions(<Numeric Expression>)
MDX builtin function.DimensionsStringFunDef Definition of theDimensions(<String Expression>)
MDX builtin function.DistinctFunDef Definition of theDistinct
MDX function.DistinctFunDef.CalcImpl DrilldownLevelFunDef Definition of theDrilldownLevel
MDX function.DrilldownLevelTopBottomFunDef Definition of theDrilldownLevelTop
andDrilldownLevelBottom
MDX builtin functions.DrilldownMemberFunDef Definition of theDrilldownMember
MDX function.ExceptFunDef Definition of theExcept
MDX function.ExistsFunDef Definition of theEXISTS
MDX function.ExtractFunDef Definition of theExtract
MDX function.FilterFunDef Definition of theFilter
MDX function.FormatFunDef Definition of theFormat
MDX function.FunctionTest FunctionTest
tests the functions defined inBuiltinFunTable
.FunDefBase FunDefBase
is the default implementation ofFunDef
.FunInfo Support class for theCmdRunner
allowing one to view available functions and their syntax.FunTableImpl Abstract implementation ofFunTable
.FunUtil FunUtil
contains a set of methods useful within themondrian.olap.fun
package.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 theGenerate
MDX function.GlobalFunTable Global function table contains builtin functions and global user-defined functions.HeadTailFunDef Definition of theHead
andTail
MDX builtin functions.HierarchizeFunDef Definition of theHierarchize
MDX function.HierarchyCurrentMemberFunDef Definition of the<Hierarchy>.CurrentMember
MDX 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>.Dimension
MDX builtin function.HierarchyDimensionFunDef.CalcImpl IifFunDef Definition of theIif
MDX function.IntersectFunDef Definition of theINTERSECT
MDX function.IsEmptyFunDef Definition of theIsEmpty
MDX function.IsFunDef Definition of theIS
MDX function.IsNullFunDef Definition of theIS NULL
MDX function.JavaFunDef MDX function which is implemented by a Java method.LastPeriodsFunDef Definition of theLastPeriods
MDX function.LeadLagFunDef Definition of theLead
andLag
MDX functions.LevelDimensionFunDef Definition of the<Level>.Dimension
MDX builtin function.LevelHierarchyFunDef Definition of the<Level>.Hierarchy
MDX builtin function.LevelHierarchyFunDef.CalcImpl LevelMembersFunDef Definition of the<Level>.Members
MDX function.LinReg Abstract base class for definitions of linear regression functions.LinReg.InterceptFunDef Definition of theLinRegIntercept
MDX function.LinReg.PointFunDef Definition of theLinRegPoint
MDX function.LinReg.R2FunDef Definition of theLinRegR2
MDX function.LinReg.SlopeFunDef Definition of theLinRegSlope
MDX function.LinReg.Value LinReg.VarianceFunDef Definition of theLinRegVariance
MDX function.MedianFunDef Definition of theMedian
MDX functions.MemberDimensionFunDef Definition of the<Measure>.Dimension
MDX builtin function.MemberExtractingVisitor Visitor which collects any non-measure base members encountered while traversing an expression.MemberHierarchyFunDef Definition of the<Member>.Hierarchy
MDX builtin function.MemberHierarchyFunDef.CalcImpl MemberLevelFunDef Definition of the<Member>.Level
MDX builtin function.MemberLevelFunDef.CalcImpl MemberOrderKeyFunDef Definition of the<Member>.OrderKey
MDX builtin function.MemberOrderKeyFunDef.CalcImpl MinMaxFunDef Definition of theMin
andMax
MDX functions.MultiResolver AMultiResolver
considers several overloadings of the same function.NamedSetCurrentFunDef Definition of the<Named Set>.Current
MDX builtin function.NamedSetCurrentOrdinalFunDef Definition of the<Named Set>.CurrentOrdinal
MDX builtin function.NativizeSetFunDef Definition of theNativizeSet
MDX 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 theNativizeSet
function.NonEmptyCrossJoinFunDef Definition of theNonEmptyCrossJoin
MDX function.OpeningClosingPeriodFunDef Definition of theOpeningPeriod
andClosingPeriod
builtin functions.OrderFunDef Definition of theOrder
MDX function.ParallelPeriodFunDef Definition of theParallelPeriod
MDX function.ParameterFunDef AParameterFunDef
is a pseudo-function describing calls toParameter
andParamRef
functions.ParameterFunDef.ParameterResolver Resolves calls to theParameter
MDX function.ParameterFunDef.ParamRefResolver Resolves calls to theParamRef
MDX function.ParenthesesFunDef ParenthesesFunDef
implements the parentheses operator as if it were a function.PartialSortTest PartialSortTest
is 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 thePercentile
MDX function.PeriodsToDateFunDef Definition of thePeriodsToDate
MDX function.PropertiesFunDef Definition of theProperties
MDX function.RangeFunDef Definition of the MDX<Member> : <Member>
operator, which returns the set of members between a given pair of members.RankFunDef Definition of theRANK
MDX 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 ResolverBase
provides a skeleton implementation ofinterface
Resolver
ResultStyleCompiler TheResultStyleCompiler
can 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 SetFunDef
implements 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>.Item
MDX function.SetToStrFunDef Definition of theSetToStr
MDX function.SimpleResolver ASimpleResolver
resolves a single, non-overloaded function.SortTest SortTest
tests the collation order of positive and negative infinity, andDouble.NaN
.StdevFunDef Definition of theStdev
builtin MDX function, and its aliasStddev
.StdevPFunDef Definition of theStdevP
builtin MDX function, and its aliasStddevP
.StrToMemberFunDef Definition of theStrToMember
MDX function.StrToSetFunDef Definition of theStrToSet
MDX builtin function.StrToTupleFunDef Definition of theStrToTuple
MDX function.SubsetFunDef Definition of theSubset
MDX function.SumFunDef Definition of theSum
MDX function.TestMember Mock implementation ofMember
for testing.ToggleDrillStateFunDef Definition of theToggleDrillState
MDX function.TopBottomCountFunDef Definition of theTopCount
andBottomCount
MDX builtin functions.TopBottomPercentSumFunDef Definition of theTopPercent
,BottomPercent
,TopSum
andBottomSum
MDX builtin functions.TupleFunDef TupleFunDef
implements the '(...)' operator which builds tuples, as in([Time].CurrentMember, [Stores].[USA].[California])
.TupleFunDef.CalcImpl TupleItemFunDef Definition of the<Tuple>.Item
MDX function.TupleToStrFunDef Definition of theTupleToStr
MDX function.UdfResolver Resolver for user-defined functions.UdfResolver.ClassUdfFactory Implementation ofUdfResolver.UdfFactory
that instantiates a given class using a public default constructor.UnionFunDef Definition of theUnion
MDX function.UnionFunDefTest Tests for UnionFunDefUnorderFunDef Definition of theUnorder
MDX function.ValidMeasureFunDef Definition of theValidMeasure
MDX function.ValidMeasureFunDefTest Tests for ValidMeasureFunDef Created by Yury_Bakhmutski on 9/2/2015.ValueFunDef AValueFunDef
is a pseudo-function to evaluate a member or a tuple.VarFunDef Definition of theVar
MDX builtin function (and its synonymVariance
).VarPFunDef Definition of theVarP
MDX builtin function (and its synonymVarianceP
).VisualTotalsFunDef Definition of theVisualTotals
MDX function.VisualTotalsFunDef.VisualTotalMember Calculated member forVisualTotals
function.VisualTotalsTest VisualTotalsTest
tests the internal functions defined inVisualTotalsFunDef
.XtdFunDef Definition ofYtd
,Qtd
,Mtd
, andWtd
MDX builtin functions. -
Enum Summary Enum Description DescendantsFunDef.Flag Enumeration of the flags allowed to theDESCENDANTS
function.FunUtil.Flag Enumeration of the flags allowed to theORDER
MDX 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.