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 TupleList
TupleCollections. asTupleList(List list)
Converts an old-style list (members or member arrays) to aTupleList
.TupleList
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.TupleList
ListCalc. evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.TupleList
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
TupleList. project(int[] destIndices)
TupleList
TupleList. subList(int fromIndex, int toIndex)
static TupleList
TupleCollections. unmodifiableList(TupleList list)
Creates an unmodifiable TupleList backed by a given list.TupleList
TupleList. 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 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
Classes in mondrian.calc.impl that implement TupleList Modifier and Type Class Description class
AbstractTupleList
Abstract implementation ofTupleList
.class
ArrayTupleList
Implementation ofTupleList
that stores tuples end-to-end in an array.class
DelegatingTupleList
Implementation ofTupleList
based on a list ofList<Member>
tuples.class
ListTupleList
Implementation ofTupleList
that stores tuples end-to-end in a backing list.class
UnaryTupleList
Methods in mondrian.calc.impl that return TupleList Modifier and Type Method Description TupleList
ArrayTupleList. cloneList(int capacity)
TupleList
DelegatingTupleList. cloneList(int capacity)
TupleList
ListTupleList. cloneList(int capacity)
TupleList
UnaryTupleList. cloneList(int capacity)
TupleList
GenericIterCalc. evaluateList(Evaluator evaluator)
TupleList
IterableListCalc. evaluateList(Evaluator evaluator)
TupleList
AbstractTupleList. fix()
TupleList
UnaryTupleList. fix()
TupleList
DelegatingTupleList. project(int[] destIndices)
TupleList
UnaryTupleList. project(int[] destIndices)
abstract TupleList
AbstractTupleList. subList(int fromIndex, int toIndex)
TupleList
DelegatingTupleList. subList(int fromIndex, int toIndex)
TupleList
UnaryTupleList. subList(int fromIndex, int toIndex)
TupleList
DelegatingTupleList. withPositionCallback(TupleList.PositionCallback positionCallback)
TupleList
UnaryTupleList. withPositionCallback(TupleList.PositionCallback positionCallback)
-
Uses of TupleList in mondrian.olap
Methods in mondrian.olap with parameters of type TupleList Modifier and Type Method Description Object
Aggregator. 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 TupleList
NativizeSetFunDef.CrossJoinAnalyzer. adaptList(TupleList sourceList, int destSize, int[] destIndices)
TupleList
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.TupleList
NativizeSetFunDef.NativeListCalc. evaluateList(Evaluator evaluator)
TupleList
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.Methods in mondrian.olap.fun with parameters of type TupleList Modifier and Type Method Description TupleList
NativizeSetFunDef.CrossJoinAnalyzer. adaptList(TupleList sourceList, int destSize, int[] destIndices)
static Object
AggregateFunDef.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 Object
FunUtil. avg(Evaluator evaluator, TupleList members, Calc calc)
mondrian.olap.fun.NativizeSetFunDef.ReassemblyGuide
NativizeSetFunDef.CrossJoinAnalyzer. classifyMembers(TupleList simplifiedList, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap)
static Object
FunUtil. 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 Object
FunUtil. min(Evaluator evaluator, TupleList members, Calc calc)
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
FunUtil. quartile(Evaluator evaluator, TupleList members, Calc exp, int range)
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
FunUtil. sum(Evaluator evaluator, TupleList members, Calc exp)
static double
FunUtil. 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 TupleList
CrossJoinFunDef. 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 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.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 TupleList
Sorter. 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 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
Methods in mondrian.rolap that return TupleList Modifier and Type Method Description protected TupleList
RolapNativeSet.SetEvaluator. executeList(SqlTupleReader tr)
TupleList
RolapEvaluator. getOptimizedSlicerTuples(RolapCube baseCube)
Returns an optimized list of tuples related to the slicer based on the current evaluator.TupleList
RolapEvaluator. getSlicerTuples()
Return the list of compound slicer tuplesTupleList
RolapAxis. getTupleList()
TupleList
HighCardSqlTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Deprecated.TupleList
SqlTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
TupleList
TupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Performs the read.TupleList
HighCardSqlTupleReader. readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Deprecated.TupleList
SqlTupleReader. readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)
TupleList
TupleReader. 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 void
TupleConstraintStruct. addTupleList(TupleList tupleList)
Object
RolapAggregator.BaseAggor. aggregate(Evaluator evaluator, TupleList members, Calc exp)
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)
TupleList
HighCardSqlTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Deprecated.TupleList
SqlTupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
TupleList
TupleReader. readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Performs the read.TupleList
HighCardSqlTupleReader. readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Deprecated.TupleList
SqlTupleReader. readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)
TupleList
TupleReader. readTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Performs the read.void
RolapEvaluator. 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 void
TupleConstraintStruct. 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 TupleList
IdentifierParser.TupleListBuilder. tupleList
-