Package | Description |
---|---|
mondrian.olap |
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
|
mondrian.rolap |
Implements the data access layer for the olap package.
|
mondrian.rolap.agg |
Manages a cache of aggregates containing cell values.
|
mondrian.rolap.aggmatcher |
Defines a 'matcher' which scans the schema to find candidate aggregate tables.
|
mondrian.rolap.sql |
Database-independent library for generating SQL.
|
Modifier and Type | Method and Description |
---|---|
List<RolapCube> |
Query.getBaseCubes()
return the set of base cubes associated with the virtual cube referenced
in this query
|
Modifier and Type | Method and Description |
---|---|
void |
Query.setBaseCubes(List<RolapCube> baseCubes)
Saves away the base cubes related to the virtual cube
referenced in this query
|
Modifier and Type | Method and Description |
---|---|
static RolapCube |
RolapCell.chooseDrillThroughCube(Member[] currentMembers,
RolapCube defaultCube) |
RolapCube |
RolapCalculatedMember.getBaseCube() |
RolapCube |
RolapStoredMeasure.getCube()
Returns the cube this measure belongs to.
|
RolapCube |
CompoundPredicateInfo.getCube() |
RolapCube |
RolapVirtualCubeMeasure.getCube() |
RolapCube |
RolapCubeHierarchy.getCube() |
RolapCube |
RolapResult.getCube() |
RolapCube |
RolapMemberInCube.getCube()
Returns the cube this cube member belongs to.
|
RolapCube |
RolapCubeLevel.getCube()
Returns the (non virtual) cube this level belongs to.
|
RolapCube |
RolapEvaluator.getCube() |
RolapCube |
RolapCubeMember.getCube() |
RolapCube |
RolapCubeDimension.getCube() |
RolapCube |
RolapBaseCubeMeasure.getCube() |
RolapCube |
RolapEvaluator.getMeasureCube() |
protected RolapCube |
RolapSchema.lookupCube(String cubeName)
Finds a cube called 'cube' in the current catalog, or return null if no
cube exists.
|
Modifier and Type | Method and Description |
---|---|
List<RolapCube> |
RolapCube.getBaseCubes()
Returns the list of base cubes associated with this cube
if this one is a virtual cube,
otherwise return just this cube
|
List<RolapCube> |
RolapSchema.getCubeList() |
List<RolapCube> |
RolapSchema.getCubesWithStar(RolapStar star) |
Modifier and Type | Method and Description |
---|---|
void |
RolapNativeSet.SetConstraint.addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar) |
void |
SqlContextConstraint.addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar)
Called from LevelMembers: restricts the SQL resultset to the current
context.
|
void |
DefaultTupleConstraint.addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar) |
static void |
SqlConstraintUtils.addContextConstraint(SqlQuery sqlQuery,
AggStar aggStar,
Evaluator evaluator,
RolapCube baseCube,
boolean restrictMemberTypes)
For every restricting member in the current context, generates
a WHERE condition and a join to the fact table.
|
protected void |
RolapSchema.addCube(RolapCube cube)
Adds a cube to the cube name map.
|
void |
SqlContextConstraint.addLevelConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapLevel level) |
void |
DefaultTupleConstraint.addLevelConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapLevel level) |
void |
DefaultMemberChildrenConstraint.addLevelConstraint(SqlQuery query,
RolapCube baseCube,
AggStar aggStar,
RolapLevel level) |
protected void |
SqlTupleReader.addLevelMemberSql(SqlQuery sqlQuery,
RolapLevel level,
RolapCube baseCube,
mondrian.rolap.SqlTupleReader.WhichSelect whichSelect,
AggStar aggStar)
Generates the SQL statement to access members of
level . |
void |
SqlContextConstraint.addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
List<RolapMember> parents)
Adds
parents to the current
context and restricts the SQL resultset to that new context. |
void |
DefaultMemberChildrenConstraint.addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
List<RolapMember> parents) |
static void |
SqlConstraintUtils.addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
List<RolapMember> members,
boolean restrictMemberTypes,
boolean crossJoin,
boolean exclude)
Creates a "WHERE exp IN (...)" condition containing the values
of all parents.
|
void |
SqlContextConstraint.addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapMember parent)
Called from MemberChildren: adds
parent to the current
context and restricts the SQL resultset to that new context. |
void |
DefaultMemberChildrenConstraint.addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapMember parent) |
static void |
SqlConstraintUtils.addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapMember parent,
boolean restrictMemberTypes)
Creates a "WHERE parent = value" constraint.
|
static RolapCube |
RolapCell.chooseDrillThroughCube(Member[] currentMembers,
RolapCube defaultCube) |
int |
RolapCube.CubeComparator.compare(RolapCube c1,
RolapCube c2) |
static String |
SqlConstraintUtils.constrainLevel(RolapLevel level,
SqlQuery query,
RolapCube baseCube,
AggStar aggStar,
String[] columnValue,
boolean caseSensitive)
Generates a sql expression constraining a level by some value
|
static String |
SqlConstraintUtils.constrainLevel(RolapLevel level,
SqlQuery query,
RolapCube baseCube,
AggStar aggStar,
String columnValue,
boolean caseSensitive) |
static void |
RolapUtil.constraintBitkeyForLimitedMembers(Evaluator evaluator,
Member[] members,
RolapCube cube,
BitKey levelBitKey)
Modifies a bitkey so that it includes the proper bits
for members in an array which should be considered
as a limited rollup member.
|
RolapStar.Column |
RolapCubeLevel.getBaseStarKeyColumn(RolapCube baseCube)
this method returns the RolapStar.Column if non-virtual,
if virtual, find the base cube level and return it's
column
|
TupleList |
RolapEvaluator.getOptimizedSlicerTuples(RolapCube baseCube)
Returns an optimized list of tuples related to the slicer based on the
current evaluator.
|
static void |
SqlConstraintUtils.joinLevelTableToFactTable(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
Evaluator e,
RolapCubeLevel level)
Ensures that the table of
level is joined to the fact
table |
static DrillThroughCellRequest |
RolapAggregationManager.makeDrillThroughRequest(Member[] members,
boolean extendedContext,
RolapCube cube,
List<OlapElement> returnClauseMembers)
Creates a request for the fact-table rows underlying the cell identified
by
members . |
void |
RolapCalculatedMember.setBaseCube(RolapCube baseCube) |
Constructor and Description |
---|
FastBatchingCellReader(Execution execution,
RolapCube cube,
AggregationManager aggMgr)
Creates a FastBatchingCellReader.
|
RolapCubeDimension(RolapCube cube,
mondrian.rolap.RolapDimension rolapDim,
MondrianDef.CubeDimension cubeDim,
String name,
int cubeOrdinal,
List<RolapHierarchy> hierarchyList,
boolean highCardinality)
Creates a RolapCubeDimension.
|
RolapCubeHierarchy(RolapCubeDimension cubeDimension,
MondrianDef.CubeDimension cubeDim,
RolapHierarchy rolapHierarchy,
String subName,
int ordinal,
RolapCube factCube)
Creates a RolapCubeHierarchy.
|
Constructor and Description |
---|
MemberTuplePredicate(RolapCube baseCube,
RolapCubeMember member)
Creates a MemberTuplePredicate which evaluates to true for a given
member.
|
MemberTuplePredicate(RolapCube baseCube,
RolapMember lower,
boolean lowerStrict,
RolapMember upper,
boolean upperStrict)
Creates a MemberTuplePredicate which evaluates to true for a given
range of members.
|
Modifier and Type | Method and Description |
---|---|
RolapCube |
ExplicitRules.Group.getCube()
Get the RolapCube associated with this Group.
|
Modifier and Type | Method and Description |
---|---|
static ExplicitRules.Group |
ExplicitRules.Group.make(RolapCube cube,
MondrianDef.Cube xmlCube)
Make an ExplicitRules.Group for a given RolapCube given the
MondrianDef.Cube associated with that cube.
|
Constructor and Description |
---|
Group(RolapCube cube) |
Modifier and Type | Method and Description |
---|---|
void |
CrossJoinArg.addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar) |
void |
TupleConstraint.addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar)
Modifies a Level.Members query.
|
void |
MemberKeyConstraint.addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar) |
void |
MemberListCrossJoinArg.addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar) |
void |
DescendantsCrossJoinArg.addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar) |
void |
MemberChildrenConstraint.addLevelConstraint(SqlQuery query,
RolapCube baseCube,
AggStar aggStar,
RolapLevel level)
Will be called once for the level that contains the
children of a Member.Children query.
|
void |
TupleConstraint.addLevelConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapLevel level)
Will be called multiple times for every "group by" level in
Level.Members query, i.e.
|
void |
MemberKeyConstraint.addLevelConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapLevel level) |
void |
MemberChildrenConstraint.addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
List<RolapMember> parents)
Modifies a
Member.Children query so that (all or some)
children of all parent members contained in parents
will be returned in the result set. |
void |
MemberChildrenConstraint.addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapMember parent)
Modifies a
Member.Children query so that only the children
of parent will be returned in the result set. |
Copyright © 2019 Hitachi Vantara. All rights reserved.