Uses of Interface
mondrian.calc.TupleList
-
Packages that use TupleList Package Description mondrian.calc Provides compiled expressions.mondrian.calc.impl Provides implementation classes for compiled 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.sort mondrian.rolap Implements the data access layer for the olap package.mondrian.util Mondrian utilities. -
-
Uses of TupleList in mondrian.calc
Methods in mondrian.calc that return TupleList Modifier and Type Method Description static TupleListTupleCollections. asTupleList(List list)Converts an old-style list (members or member arrays) to aTupleList.TupleListTupleList. cloneList(int capacity)Creates a copy of this list that has the same type and has a given capacity.static TupleListTupleCollections. createList(int arity)Creates a list of given arity.static TupleListTupleCollections. createList(int arity, int initialCapacity)Creates a list of given arity and initial capacity.static TupleListTupleCollections. emptyList(int arity)Returns an empty TupleList of given arity.TupleListListCalc. evaluateList(Evaluator evaluator)Evaluates an expression to yield a list of tuples.TupleListTupleList. fix()Fixes the tuples of this list, so that their contents will not change even if elements of the list are reordered or removed.static TupleListTupleCollections. materialize(TupleIterable tupleIterable, boolean eager)Converts aTupleIterableinto aTupleList.TupleListTupleList. project(int[] destIndices)TupleListTupleList. subList(int fromIndex, int toIndex)static TupleListTupleCollections. unmodifiableList(TupleList list)Creates an unmodifiable TupleList backed by a given list.TupleListTupleList. withPositionCallback(TupleList.PositionCallback positionCallback)Methods in mondrian.calc with parameters of type TupleList Modifier and Type Method Description static List<Member[]>TupleCollections. asMemberArrayList(TupleList tupleList)Converts aTupleListto an old-style list of member arrays.static TupleListTupleCollections. unmodifiableList(TupleList list)Creates an unmodifiable TupleList backed by a given list. -
Uses of TupleList in mondrian.calc.impl
Classes in mondrian.calc.impl that implement TupleList Modifier and Type Class Description classAbstractTupleListAbstract implementation ofTupleList.classArrayTupleListImplementation ofTupleListthat stores tuples end-to-end in an array.classDelegatingTupleListImplementation ofTupleListbased on a list ofList<Member>tuples.classListTupleListImplementation ofTupleListthat stores tuples end-to-end in a backing list.classUnaryTupleListMethods in mondrian.calc.impl that return TupleList Modifier and Type Method Description TupleListArrayTupleList. cloneList(int capacity)TupleListDelegatingTupleList. cloneList(int capacity)TupleListListTupleList. cloneList(int capacity)TupleListUnaryTupleList. cloneList(int capacity)TupleListGenericIterCalc. evaluateList(Evaluator evaluator)TupleListIterableListCalc. evaluateList(Evaluator evaluator)TupleListAbstractTupleList. fix()TupleListUnaryTupleList. fix()TupleListDelegatingTupleList. project(int[] destIndices)TupleListUnaryTupleList. project(int[] destIndices)abstract TupleListAbstractTupleList. subList(int fromIndex, int toIndex)TupleListDelegatingTupleList. subList(int fromIndex, int toIndex)TupleListUnaryTupleList. subList(int fromIndex, int toIndex)TupleListDelegatingTupleList. withPositionCallback(TupleList.PositionCallback positionCallback)TupleListUnaryTupleList. withPositionCallback(TupleList.PositionCallback positionCallback) -
Uses of TupleList in mondrian.olap
Methods in mondrian.olap with parameters of type TupleList Modifier and Type Method Description ObjectAggregator. aggregate(Evaluator evaluator, TupleList members, Calc calc)Applies this aggregator to an expression over a set of members and returns the result. -
Uses of TupleList in mondrian.olap.fun
Methods in mondrian.olap.fun that return TupleList Modifier and Type Method Description TupleListNativizeSetFunDef.CrossJoinAnalyzer. adaptList(TupleList sourceList, int destSize, int[] destIndices)TupleListNativizeSetFunDef.NativeListCalc. computeTuples(Evaluator evaluator)protected static TupleListAbstractAggregateFunDef. evaluateCurrentList(ListCalc listCalc, Evaluator evaluator)Evaluates the list of members or tuples used in computing the aggregate.TupleListNativizeSetFunDef.NativeListCalc. evaluateList(Evaluator evaluator)TupleListSetFunDef.SetListCalc. evaluateList(Evaluator evaluator)static TupleListCrossJoinFunDef. mutableCrossJoin(List<TupleList> lists)static TupleListCrossJoinFunDef. mutableCrossJoin(TupleList list1, TupleList list2)protected TupleListCrossJoinFunDef. nonEmptyList(Evaluator evaluator, TupleList list, ResolvedFunCall call)This is the entry point to the crossjoin non-empty optimizer code.protected TupleListCrossJoinFunDef. nonEmptyOptimizeList(Evaluator evaluator, TupleList list, ResolvedFunCall call)static TupleListAggregateFunDef.AggregateCalc. optimizeChildren(TupleList tuples, SchemaReader reader, Cube baseCubeForMeasure)In distinct Count aggregation, if tuple list is a result m.children * n.children then it can be optimized to m * nstatic TupleListAggregateFunDef.AggregateCalc. optimizeTupleList(Evaluator evaluator, TupleList tupleList, boolean checkSize)static TupleListAbstractAggregateFunDef. processUnrelatedDimensions(TupleList tuplesForAggregation, Evaluator evaluator)Pushes unrelated dimensions to the top level member from the given list of tuples if the ignoreUnrelatedDimensions property is set on the base cube usage in the virtual cube.static TupleListAggregateFunDef.AggregateCalc. removeOverlappingTupleEntries(TupleList list)In case of distinct count aggregation if a tuple which is a super set of other tuples in the set exists then the child tuples can be ignored.Methods in mondrian.olap.fun with parameters of type TupleList Modifier and Type Method Description TupleListNativizeSetFunDef.CrossJoinAnalyzer. adaptList(TupleList sourceList, int destSize, int[] destIndices)static ObjectAggregateFunDef.AggregateCalc. aggregate(Calc calc, Evaluator evaluator, TupleList tupleList)Computes an expression for each element of a list, and aggregates the result according to the evaluation context's current aggregation strategy.static ObjectFunUtil. avg(Evaluator evaluator, TupleList members, Calc calc)mondrian.olap.fun.NativizeSetFunDef.ReassemblyGuideNativizeSetFunDef.CrossJoinAnalyzer. classifyMembers(TupleList simplifiedList, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap)static ObjectFunUtil. max(Evaluator evaluator, TupleList members, Calc exp)static Map<Member,Integer>[]AggregateFunDef.AggregateCalc. membersVersusOccurencesInTuple(TupleList tupleList)Finds member occurrences in tuple and generates a map of Members versus their occurrences in tuples.static ObjectFunUtil. min(Evaluator evaluator, TupleList members, Calc calc)static TupleListCrossJoinFunDef. mutableCrossJoin(TupleList list1, TupleList list2)protected TupleListCrossJoinFunDef. nonEmptyList(Evaluator evaluator, TupleList list, ResolvedFunCall call)This is the entry point to the crossjoin non-empty optimizer code.protected TupleListCrossJoinFunDef. nonEmptyOptimizeList(Evaluator evaluator, TupleList list, ResolvedFunCall call)static TupleListAggregateFunDef.AggregateCalc. optimizeChildren(TupleList tuples, SchemaReader reader, Cube baseCubeForMeasure)In distinct Count aggregation, if tuple list is a result m.children * n.children then it can be optimized to m * nstatic TupleListAggregateFunDef.AggregateCalc. optimizeTupleList(Evaluator evaluator, TupleList tupleList, boolean checkSize)static TupleListAbstractAggregateFunDef. processUnrelatedDimensions(TupleList tuplesForAggregation, Evaluator evaluator)Pushes unrelated dimensions to the top level member from the given list of tuples if the ignoreUnrelatedDimensions property is set on the base cube usage in the virtual cube.protected static doubleFunUtil. quartile(Evaluator evaluator, TupleList members, Calc exp, int range)Returns the member which lies upon a particular quartile according to a given expression.static TupleListAggregateFunDef.AggregateCalc. removeOverlappingTupleEntries(TupleList list)In case of distinct count aggregation if a tuple which is a super set of other tuples in the set exists then the child tuples can be ignored.static ObjectFunUtil. sum(Evaluator evaluator, TupleList members, Calc exp)static doubleFunUtil. sumDouble(Evaluator evaluator, TupleList members, Calc exp)Method parameters in mondrian.olap.fun with type arguments of type TupleList Modifier and Type Method Description static TupleListCrossJoinFunDef. mutableCrossJoin(List<TupleList> lists)Constructors in mondrian.olap.fun with parameters of type TupleList Constructor Description CrossJoinAnalyzer(TupleList simplifiedList, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap) -
Uses of TupleList in mondrian.olap.fun.sort
Methods in mondrian.olap.fun.sort that return TupleList Modifier and Type Method Description static TupleListSorter. hierarchizeTupleList(TupleList tupleList, boolean post)Sorts a list of tuples into hierarchical order.static TupleListSorter. sortTuples(Evaluator evaluator, TupleIterable tupleIter, TupleList tupleList, List<SortKeySpec> keySpecList, int arity)Helper function to sort a list of tuples according to a list of expressions and a list of sorting flags.static TupleListSorter. sortTuples(Evaluator evaluator, TupleIterable tupleIterable, TupleList tupleList, Calc exp, boolean desc, boolean brk, int arity)Sorts a list of Tuples by the value of an applied expression.Methods in mondrian.olap.fun.sort with parameters of type TupleList Modifier and Type Method Description static Map<List<Member>,Object>Sorter. evaluateTuples(Evaluator evaluator, Calc exp, TupleList tuples)For each tuple in a list, evaluates an expression and creates a map from tuples to values.static TupleListSorter. hierarchizeTupleList(TupleList tupleList, boolean post)Sorts a list of tuples into hierarchical order.static List<List<Member>>Sorter. partiallySortTuples(Evaluator evaluator, TupleList list, Calc exp, int limit, boolean desc)Partially sorts a list of Tuples by the value of an applied expression.static TupleListSorter. sortTuples(Evaluator evaluator, TupleIterable tupleIter, TupleList tupleList, List<SortKeySpec> keySpecList, int arity)Helper function to sort a list of tuples according to a list of expressions and a list of sorting flags.static TupleListSorter. sortTuples(Evaluator evaluator, TupleIterable tupleIterable, TupleList tupleList, Calc exp, boolean desc, boolean brk, int arity)Sorts a list of Tuples by the value of an applied expression. -
Uses of TupleList in mondrian.rolap
Methods in mondrian.rolap that return TupleList Modifier and Type Method Description protected TupleListRolapNativeSet.SetEvaluator. executeList(SqlTupleReader tr)TupleListRolapEvaluator. getOptimizedSlicerTuples(RolapCube baseCube)Returns an optimized list of tuples related to the slicer based on the current evaluator.TupleListRolapEvaluator. getSlicerTuples()Return the list of compound slicer tuplesTupleListRolapAxis. getTupleList()TupleListHighCardSqlTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)Deprecated.TupleListSqlTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)TupleListTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)Performs the read.TupleListHighCardSqlTupleReader. readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)Deprecated.TupleListSqlTupleReader. readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)TupleListTupleReader. readTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)Performs the read.Methods in mondrian.rolap that return types with arguments of type TupleList Modifier and Type Method Description List<TupleList>TupleConstraintStruct. getDisjoinedTupleLists()Methods in mondrian.rolap with parameters of type TupleList Modifier and Type Method Description voidTupleConstraintStruct. addTupleList(TupleList tupleList)ObjectRolapAggregator.BaseAggor. aggregate(Evaluator evaluator, TupleList members, Calc exp)static booleanSqlConstraintUtils. isDisjointTuple(TupleList tupleList)protected voidHighCardSqlTupleReader. prepareTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult, List<TargetBase> targetGroup)Deprecated.protected voidSqlTupleReader. prepareTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult, List<TargetBase> targetGroup)TupleListHighCardSqlTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)Deprecated.TupleListSqlTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)TupleListTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)Performs the read.TupleListHighCardSqlTupleReader. readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)Deprecated.TupleListSqlTupleReader. readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)TupleListTupleReader. readTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)Performs the read.voidRolapEvaluator. setSlicerTuples(TupleList tuples)Sets the slicer tuple object, used later by native evaluation and non-empty crossjoins.Method parameters in mondrian.rolap with type arguments of type TupleList Modifier and Type Method Description voidTupleConstraintStruct. setDisjoinedTupleLists(List<TupleList> disjoinedTupleLists)Constructors in mondrian.rolap with parameters of type TupleList Constructor Description CompoundSlicerRolapMember(RolapMember placeholderMember, Calc calc, mondrian.rolap.RolapResult.ValueFormatter formatter, TupleList tupleList)ResultLoader(int enumTargetCount, List<TargetBase> targets, SqlStatement stmt, boolean execQuery, TupleList partialResult, List<List<RolapMember>> newPartialResult)RolapAxis(TupleList list) -
Uses of TupleList in mondrian.util
Fields in mondrian.util declared as TupleList Modifier and Type Field Description TupleListIdentifierParser.TupleListBuilder. tupleList
-