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.rolap |
Implements the data access layer for the olap package.
|
mondrian.util |
Mondrian utilities.
|
Modifier and Type | Method and Description |
---|---|
static TupleList |
TupleCollections.asTupleList(List list)
Converts an old-style list (members or member arrays) to a
TupleList . |
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 a
TupleIterable into a TupleList . |
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) |
Modifier and Type | Method and Description |
---|---|
static List<Member[]> |
TupleCollections.asMemberArrayList(TupleList tupleList)
Converts a
TupleList to an old-style list of member
arrays. |
static TupleList |
TupleCollections.unmodifiableList(TupleList list)
Creates an unmodifiable TupleList backed by a given list.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTupleList
Abstract implementation of
TupleList . |
class |
ArrayTupleList
Implementation of
TupleList that stores tuples end-to-end in an
array. |
class |
DelegatingTupleList
Implementation of
TupleList based on a list of
List<Member> tuples. |
class |
ListTupleList
Implementation of
TupleList that stores tuples
end-to-end in a backing list. |
class |
UnaryTupleList
|
Modifier and Type | Method and Description |
---|---|
TupleList |
ArrayTupleList.cloneList(int capacity) |
TupleList |
UnaryTupleList.cloneList(int capacity) |
TupleList |
ListTupleList.cloneList(int capacity) |
TupleList |
DelegatingTupleList.cloneList(int capacity) |
TupleList |
GenericIterCalc.evaluateList(Evaluator evaluator) |
TupleList |
IterableListCalc.evaluateList(Evaluator evaluator) |
TupleList |
UnaryTupleList.fix() |
TupleList |
AbstractTupleList.fix() |
TupleList |
UnaryTupleList.project(int[] destIndices) |
TupleList |
DelegatingTupleList.project(int[] destIndices) |
TupleList |
UnaryTupleList.subList(int fromIndex,
int toIndex) |
TupleList |
DelegatingTupleList.subList(int fromIndex,
int toIndex) |
abstract TupleList |
AbstractTupleList.subList(int fromIndex,
int toIndex) |
TupleList |
UnaryTupleList.withPositionCallback(TupleList.PositionCallback positionCallback) |
TupleList |
DelegatingTupleList.withPositionCallback(TupleList.PositionCallback positionCallback) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 |
SetFunDef.SetListCalc.evaluateList(Evaluator evaluator) |
TupleList |
NativizeSetFunDef.NativeListCalc.evaluateList(Evaluator evaluator) |
static TupleList |
FunUtil.hierarchizeTupleList(TupleList tupleList,
boolean post)
Sorts a list of tuples into hierarchical order.
|
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 * n
|
static 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.
|
static TupleList |
FunUtil.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 Type | Method and 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 TupleList |
FunUtil.hierarchizeTupleList(TupleList tupleList,
boolean post)
Sorts a list of tuples into hierarchical order.
|
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 * n
|
static TupleList |
AggregateFunDef.AggregateCalc.optimizeTupleList(Evaluator evaluator,
TupleList tupleList,
boolean checkSize) |
static List<List<Member>> |
FunUtil.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 |
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 TupleList |
FunUtil.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.
|
static Object |
FunUtil.sum(Evaluator evaluator,
TupleList members,
Calc exp) |
static double |
FunUtil.sumDouble(Evaluator evaluator,
TupleList members,
Calc exp) |
Modifier and Type | Method and Description |
---|---|
static TupleList |
CrossJoinFunDef.mutableCrossJoin(List<TupleList> lists) |
Constructor and Description |
---|
CrossJoinAnalyzer(TupleList simplifiedList,
mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap) |
Modifier and Type | Method and 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 tuples
|
TupleList |
RolapAxis.getTupleList() |
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.readMembers(DataSource dataSource,
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.
|
TupleList |
HighCardSqlTupleReader.readTuples(DataSource jdbcConnection,
TupleList partialResult,
List<List<RolapMember>> newPartialResult)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<TupleList> |
TupleConstraintStruct.getDisjoinedTupleLists() |
Modifier and Type | Method and Description |
---|---|
void |
TupleConstraintStruct.addTupleList(TupleList tupleList) |
Object |
RolapAggregator.BaseAggor.aggregate(Evaluator evaluator,
TupleList members,
Calc exp) |
static boolean |
SqlConstraintUtils.isDisjointTuple(TupleList tupleList) |
protected void |
SqlTupleReader.prepareTuples(DataSource dataSource,
TupleList partialResult,
List<List<RolapMember>> newPartialResult,
List<TargetBase> targetGroup) |
protected void |
HighCardSqlTupleReader.prepareTuples(DataSource dataSource,
TupleList partialResult,
List<List<RolapMember>> newPartialResult,
List<TargetBase> targetGroup)
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.readMembers(DataSource dataSource,
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.
|
TupleList |
HighCardSqlTupleReader.readTuples(DataSource jdbcConnection,
TupleList partialResult,
List<List<RolapMember>> newPartialResult)
Deprecated.
|
void |
RolapEvaluator.setSlicerTuples(TupleList tuples)
Sets the slicer tuple object, used later by native evaluation and
non-empty crossjoins.
|
Modifier and Type | Method and Description |
---|---|
void |
TupleConstraintStruct.setDisjoinedTupleLists(List<TupleList> disjoinedTupleLists) |
Constructor and Description |
---|
ResultLoader(int enumTargetCount,
List<TargetBase> targets,
SqlStatement stmt,
boolean execQuery,
TupleList partialResult,
List<List<RolapMember>> newPartialResult) |
RolapAxis(TupleList list) |
Modifier and Type | Field and Description |
---|---|
TupleList |
IdentifierParser.TupleListBuilder.tupleList |
Copyright © 2020 Hitachi Vantara. All rights reserved.