Uses of Class
mondrian.rolap.RolapCube
-
Packages that use RolapCube 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. -
-
Uses of RolapCube in mondrian.olap
Methods in mondrian.olap that return types with arguments of type RolapCube Modifier and Type Method Description List<RolapCube>
Query. getBaseCubes()
return the set of base cubes associated with the virtual cube referenced in this queryMethod parameters in mondrian.olap with type arguments of type RolapCube Modifier and Type Method Description void
Query. setBaseCubes(List<RolapCube> baseCubes)
Saves away the base cubes related to the virtual cube referenced in this query -
Uses of RolapCube in mondrian.rolap
Methods in mondrian.rolap that return RolapCube Modifier and Type Method Description static RolapCube
RolapCell. chooseDrillThroughCube(Member[] currentMembers, RolapCube defaultCube)
RolapCube
RolapCalculatedMember. getBaseCube()
RolapCube
CompoundPredicateInfo. getCube()
RolapCube
RolapBaseCubeMeasure. getCube()
RolapCube
RolapCubeDimension. getCube()
RolapCube
RolapCubeHierarchy. getCube()
RolapCube
RolapCubeLevel. getCube()
Returns the (non virtual) cube this level belongs to.RolapCube
RolapCubeMember. getCube()
RolapCube
RolapEvaluator. getCube()
RolapCube
RolapMemberInCube. getCube()
Returns the cube this cube member belongs to.RolapCube
RolapResult. getCube()
RolapCube
RolapStoredMeasure. getCube()
Returns the cube this measure belongs to.RolapCube
RolapVirtualCubeMeasure. 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.Methods in mondrian.rolap that return types with arguments of type RolapCube Modifier and Type Method 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 cubeList<RolapCube>
RolapSchema. getCubeList()
List<RolapCube>
RolapSchema. getCubesWithStar(RolapStar star)
Methods in mondrian.rolap with parameters of type RolapCube Modifier and Type Method Description void
DefaultTupleConstraint. addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
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.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
DefaultMemberChildrenConstraint. addLevelConstraint(SqlQuery query, RolapCube baseCube, AggStar aggStar, RolapLevel level)
void
DefaultTupleConstraint. addLevelConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapLevel level)
void
SqlContextConstraint. addLevelConstraint(SqlQuery sqlQuery, 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 oflevel
.void
DefaultMemberChildrenConstraint. addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, List<RolapMember> parents)
void
DefaultMemberChildrenConstraint. addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent)
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.static void
SqlConstraintUtils. addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent, boolean restrictMemberTypes)
Creates a "WHERE parent = value" constraint.void
SqlContextConstraint. addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, List<RolapMember> parents)
Addsparents
to the current context and restricts the SQL resultset to that new context.void
SqlContextConstraint. addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent)
Called from MemberChildren: addsparent
to the current context and restricts the SQL resultset to that new context.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 valuestatic 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 columnTupleList
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 oflevel
is joined to the fact tablestatic DrillThroughCellRequest
RolapAggregationManager. makeDrillThroughRequest(Member[] members, boolean extendedContext, RolapCube cube, List<OlapElement> returnClauseMembers)
Creates a request for the fact-table rows underlying the cell identified bymembers
.void
RolapCalculatedMember. setBaseCube(RolapCube baseCube)
Constructors in mondrian.rolap with parameters of type RolapCube Constructor 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. -
Uses of RolapCube in mondrian.rolap.agg
Constructors in mondrian.rolap.agg with parameters of type RolapCube Constructor 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. -
Uses of RolapCube in mondrian.rolap.aggmatcher
Methods in mondrian.rolap.aggmatcher that return RolapCube Modifier and Type Method Description RolapCube
ExplicitRules.Group. getCube()
Get the RolapCube associated with this Group.Methods in mondrian.rolap.aggmatcher with parameters of type RolapCube Modifier and Type Method 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.Constructors in mondrian.rolap.aggmatcher with parameters of type RolapCube Constructor Description Group(RolapCube cube)
-
Uses of RolapCube in mondrian.rolap.sql
Methods in mondrian.rolap.sql with parameters of type RolapCube Modifier and Type Method Description void
CrossJoinArg. addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
void
DescendantsCrossJoinArg. addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
void
MemberKeyConstraint. addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
void
MemberListCrossJoinArg. addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
void
TupleConstraint. addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
Modifies a Level.Members query.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
MemberKeyConstraint. addLevelConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapLevel level)
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
MemberChildrenConstraint. addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, List<RolapMember> parents)
Modifies aMember.Children
query so that (all or some) children of all parent members contained inparents
will be returned in the result set.void
MemberChildrenConstraint. addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent)
Modifies aMember.Children
query so that only the children ofparent
will be returned in the result set.
-