Uses of Interface
mondrian.calc.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
Modifier and TypeMethodDescriptionstatic TupleList
TupleCollections.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 TupleList
TupleCollections.createList
(int arity) Creates a list of given arity.static TupleList
TupleCollections.createList
(int arity, int initialCapacity) Creates a list of given arity and initial capacity.static TupleList
TupleCollections.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 TupleList
TupleCollections.materialize
(TupleIterable tupleIterable, boolean eager) Converts aTupleIterable
into aTupleList
.TupleList.project
(int[] destIndices) TupleList.subList
(int fromIndex, int toIndex) static TupleList
TupleCollections.unmodifiableList
(TupleList list) Creates an unmodifiable TupleList backed by a given list.TupleList.withPositionCallback
(TupleList.PositionCallback positionCallback) Modifier and TypeMethodDescriptionTupleCollections.asMemberArrayList
(TupleList tupleList) Converts aTupleList
to an old-style list of member arrays.static TupleList
TupleCollections.unmodifiableList
(TupleList list) Creates an unmodifiable TupleList backed by a given list. -
Uses of TupleList in mondrian.calc.impl
Modifier and TypeClassDescriptionclass
Abstract implementation ofTupleList
.class
Implementation ofTupleList
that stores tuples end-to-end in an array.class
Implementation ofTupleList
based on a list ofList<Member>
tuples.class
Implementation ofTupleList
that stores tuples end-to-end in a backing list.class
Modifier 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 TupleList
AbstractTupleList.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
-
Uses of TupleList in mondrian.olap.fun
Modifier and TypeMethodDescriptionNativizeSetFunDef.CrossJoinAnalyzer.adaptList
(TupleList sourceList, int destSize, int[] destIndices) NativizeSetFunDef.NativeListCalc.computeTuples
(Evaluator evaluator) protected static TupleList
AbstractAggregateFunDef.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 TupleList
CrossJoinFunDef.mutableCrossJoin
(List<TupleList> lists) static TupleList
CrossJoinFunDef.mutableCrossJoin
(TupleList list1, TupleList list2) protected TupleList
CrossJoinFunDef.nonEmptyList
(Evaluator evaluator, TupleList list, ResolvedFunCall call) This is the entry point to the crossjoin non-empty optimizer code.protected TupleList
CrossJoinFunDef.nonEmptyOptimizeList
(Evaluator evaluator, TupleList list, ResolvedFunCall call) static TupleList
AggregateFunDef.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 TupleList
AggregateFunDef.AggregateCalc.optimizeTupleList
(Evaluator evaluator, TupleList tupleList, boolean checkSize) static TupleList
AbstractAggregateFunDef.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 TupleList
AggregateFunDef.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.Modifier and TypeMethodDescriptionNativizeSetFunDef.CrossJoinAnalyzer.adaptList
(TupleList sourceList, int destSize, int[] destIndices) static Object
Computes an expression for each element of a list, and aggregates the result according to the evaluation context's current aggregation strategy.static Object
mondrian.olap.fun.NativizeSetFunDef.ReassemblyGuide
NativizeSetFunDef.CrossJoinAnalyzer.classifyMembers
(TupleList simplifiedList, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap) static Object
AggregateFunDef.AggregateCalc.membersVersusOccurencesInTuple
(TupleList tupleList) Finds member occurrences in tuple and generates a map of Members versus their occurrences in tuples.static Object
static TupleList
CrossJoinFunDef.mutableCrossJoin
(TupleList list1, TupleList list2) protected TupleList
CrossJoinFunDef.nonEmptyList
(Evaluator evaluator, TupleList list, ResolvedFunCall call) This is the entry point to the crossjoin non-empty optimizer code.protected TupleList
CrossJoinFunDef.nonEmptyOptimizeList
(Evaluator evaluator, TupleList list, ResolvedFunCall call) static TupleList
AggregateFunDef.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 TupleList
AggregateFunDef.AggregateCalc.optimizeTupleList
(Evaluator evaluator, TupleList tupleList, boolean checkSize) static TupleList
AbstractAggregateFunDef.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 double
Returns the member which lies upon a particular quartile according to a given expression.static TupleList
AggregateFunDef.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 Object
static double
Modifier and TypeMethodDescriptionstatic TupleList
CrossJoinFunDef.mutableCrossJoin
(List<TupleList> lists) ModifierConstructorDescriptionCrossJoinAnalyzer
(TupleList simplifiedList, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap) -
Uses of TupleList in mondrian.olap.fun.sort
Modifier and TypeMethodDescriptionstatic TupleList
Sorter.hierarchizeTupleList
(TupleList tupleList, boolean post) Sorts a list of tuples into hierarchical order.static TupleList
Sorter.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 TupleList
Sorter.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.Modifier 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 TupleList
Sorter.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 TupleList
Sorter.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 TupleList
Sorter.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
Modifier and TypeMethodDescriptionprotected TupleList
RolapNativeSet.SetEvaluator.executeList
(SqlTupleReader tr) final TupleList
RolapEvaluator.getOptimizedSlicerTuples
(RolapCube baseCube) Returns an optimized list of tuples related to the slicer based on the current evaluator.final TupleList
RolapEvaluator.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.Modifier and TypeMethodDescriptionvoid
TupleConstraintStruct.addTupleList
(TupleList tupleList) static boolean
SqlConstraintUtils.isDisjointTuple
(TupleList tupleList) protected void
HighCardSqlTupleReader.prepareTuples
(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult, List<TargetBase> targetGroup) Deprecated.protected void
SqlTupleReader.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 void
RolapEvaluator.setSlicerTuples
(TupleList tuples) Sets the slicer tuple object, used later by native evaluation and non-empty crossjoins.Modifier and TypeMethodDescriptionvoid
TupleConstraintStruct.setDisjoinedTupleLists
(List<TupleList> disjoinedTupleLists) ModifierConstructorDescriptionCompoundSlicerRolapMember
(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