Uses of Interface
mondrian.calc.TupleList
Packages that use TupleList
Package
Description
Provides compiled expressions.
Provides implementation classes for compiled expressions.
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
Defines the set of MDX built-in functions.
Implements the data access layer for the olap package.
Mondrian utilities.
-
Uses of TupleList in mondrian.calc
Methods in mondrian.calc that return TupleListModifier and TypeMethodDescriptionstatic TupleListTupleCollections.asTupleList(List list) Converts an old-style list (members or member arrays) to aTupleList.TupleList.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.ListCalc.evaluateList(Evaluator evaluator) Evaluates an expression to yield a list of tuples.TupleList.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.TupleList.project(int[] destIndices) TupleList.subList(int fromIndex, int toIndex) static TupleListTupleCollections.unmodifiableList(TupleList list) Creates an unmodifiable TupleList backed by a given list.TupleList.withPositionCallback(TupleList.PositionCallback positionCallback) Methods in mondrian.calc with parameters of type TupleListModifier and TypeMethodDescriptionTupleCollections.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 TupleListModifier and TypeClassDescriptionclassAbstract implementation ofTupleList.classImplementation ofTupleListthat stores tuples end-to-end in an array.classImplementation ofTupleListbased on a list ofList<Member>tuples.classImplementation ofTupleListthat stores tuples end-to-end in a backing list.classMethods in mondrian.calc.impl that return TupleListModifier and TypeMethodDescriptionArrayTupleList.cloneList(int capacity) DelegatingTupleList.cloneList(int capacity) ListTupleList.cloneList(int capacity) UnaryTupleList.cloneList(int capacity) GenericIterCalc.evaluateList(Evaluator evaluator) IterableListCalc.evaluateList(Evaluator evaluator) AbstractTupleList.fix()UnaryTupleList.fix()DelegatingTupleList.project(int[] destIndices) UnaryTupleList.project(int[] destIndices) abstract TupleListAbstractTupleList.subList(int fromIndex, int toIndex) DelegatingTupleList.subList(int fromIndex, int toIndex) UnaryTupleList.subList(int fromIndex, int toIndex) DelegatingTupleList.withPositionCallback(TupleList.PositionCallback positionCallback) UnaryTupleList.withPositionCallback(TupleList.PositionCallback positionCallback) -
Uses of TupleList in mondrian.olap
Methods in mondrian.olap with parameters of type TupleList -
Uses of TupleList in mondrian.olap.fun
Methods in mondrian.olap.fun that return TupleListModifier and TypeMethodDescriptionNativizeSetFunDef.CrossJoinAnalyzer.adaptList(TupleList sourceList, int destSize, int[] destIndices) NativizeSetFunDef.NativeListCalc.computeTuples(Evaluator evaluator) protected static TupleListAbstractAggregateFunDef.evaluateCurrentList(ListCalc listCalc, Evaluator evaluator) Evaluates the list of members or tuples used in computing the aggregate.NativizeSetFunDef.NativeListCalc.evaluateList(Evaluator evaluator) SetFunDef.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 TupleListModifier and TypeMethodDescriptionNativizeSetFunDef.CrossJoinAnalyzer.adaptList(TupleList sourceList, int destSize, int[] destIndices) static ObjectComputes an expression for each element of a list, and aggregates the result according to the evaluation context's current aggregation strategy.static Objectmondrian.olap.fun.NativizeSetFunDef.ReassemblyGuideNativizeSetFunDef.CrossJoinAnalyzer.classifyMembers(TupleList simplifiedList, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap) static ObjectAggregateFunDef.AggregateCalc.membersVersusOccurencesInTuple(TupleList tupleList) Finds member occurrences in tuple and generates a map of Members versus their occurrences in tuples.static Objectstatic 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 doubleReturns 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 Objectstatic doubleMethod parameters in mondrian.olap.fun with type arguments of type TupleListModifier and TypeMethodDescriptionstatic TupleListCrossJoinFunDef.mutableCrossJoin(List<TupleList> lists) Constructors in mondrian.olap.fun with parameters of type TupleListModifierConstructorDescriptionCrossJoinAnalyzer(TupleList simplifiedList, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap) -
Uses of TupleList in mondrian.olap.fun.sort
Methods in mondrian.olap.fun.sort that return TupleListModifier and TypeMethodDescriptionstatic 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 TupleListModifier and TypeMethodDescriptionSorter.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.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 TupleListModifier and TypeMethodDescriptionprotected TupleListRolapNativeSet.SetEvaluator.executeList(SqlTupleReader tr) final TupleListRolapEvaluator.getOptimizedSlicerTuples(RolapCube baseCube) Returns an optimized list of tuples related to the slicer based on the current evaluator.final TupleListRolapEvaluator.getSlicerTuples()Return the list of compound slicer tuplesRolapAxis.getTupleList()HighCardSqlTupleReader.readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) Deprecated.SqlTupleReader.readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) TupleReader.readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) Performs the read.HighCardSqlTupleReader.readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult) Deprecated.SqlTupleReader.readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult) TupleReader.readTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) Performs the read.Methods in mondrian.rolap that return types with arguments of type TupleListMethods in mondrian.rolap with parameters of type TupleListModifier and TypeMethodDescriptionvoidTupleConstraintStruct.addTupleList(TupleList tupleList) 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) HighCardSqlTupleReader.readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) Deprecated.SqlTupleReader.readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) TupleReader.readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) Performs the read.HighCardSqlTupleReader.readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult) Deprecated.SqlTupleReader.readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult) TupleReader.readTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) Performs the read.final 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 TupleListModifier and TypeMethodDescriptionvoidTupleConstraintStruct.setDisjoinedTupleLists(List<TupleList> disjoinedTupleLists) Constructors in mondrian.rolap with parameters of type TupleListModifierConstructorDescriptionCompoundSlicerRolapMember(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) -
Uses of TupleList in mondrian.util
Fields in mondrian.util declared as TupleList