Uses of Class
mondrian.rolap.RolapCube
Packages that use RolapCube
Package
Description
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
Implements the data access layer for the olap package.
Manages a cache of aggregates containing cell values.
Defines a 'matcher' which scans the schema to find candidate aggregate tables.
Database-independent library for generating SQL.
-
Uses of RolapCube in mondrian.olap
Methods in mondrian.olap that return types with arguments of type RolapCubeModifier and TypeMethodDescriptionQuery.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 RolapCubeModifier and TypeMethodDescriptionvoidQuery.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 RolapCubeModifier and TypeMethodDescriptionstatic RolapCubeRolapCell.chooseDrillThroughCube(Member[] currentMembers, RolapCube defaultCube) RolapCalculatedMember.getBaseCube()CompoundPredicateInfo.getCube()RolapBaseCubeMeasure.getCube()RolapCubeDimension.getCube()final RolapCubeRolapCubeHierarchy.getCube()final RolapCubeRolapCubeLevel.getCube()Returns the (non virtual) cube this level belongs to.final RolapCubeRolapCubeMember.getCube()final RolapCubeRolapEvaluator.getCube()RolapMemberInCube.getCube()Returns the cube this cube member belongs to.final RolapCubeRolapResult.getCube()RolapStoredMeasure.getCube()Returns the cube this measure belongs to.RolapVirtualCubeMeasure.getCube()RolapEvaluator.getMeasureCube()protected RolapCubeRolapSchema.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 RolapCubeModifier and TypeMethodDescriptionRolapCube.getBaseCubes()Returns the list of base cubes associated with this cube if this one is a virtual cube, otherwise return just this cubeRolapSchema.getCubeList()RolapSchema.getCubesWithStar(RolapStar star) Methods in mondrian.rolap with parameters of type RolapCubeModifier and TypeMethodDescriptionvoidDefaultTupleConstraint.addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar) voidRolapNativeSet.SetConstraint.addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar) voidSqlContextConstraint.addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar) Called from LevelMembers: restricts the SQL resultset to the current context.static voidSqlConstraintUtils.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 voidAdds a cube to the cube name map.voidDefaultMemberChildrenConstraint.addLevelConstraint(SqlQuery query, RolapCube baseCube, AggStar aggStar, RolapLevel level) voidDefaultTupleConstraint.addLevelConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapLevel level) voidSqlContextConstraint.addLevelConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapLevel level) protected voidSqlTupleReader.addLevelMemberSql(SqlQuery sqlQuery, RolapLevel level, RolapCube baseCube, mondrian.rolap.SqlTupleReader.WhichSelect whichSelect, AggStar aggStar) Generates the SQL statement to access members oflevel.voidDefaultMemberChildrenConstraint.addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, List<RolapMember> parents) voidDefaultMemberChildrenConstraint.addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent) static voidSqlConstraintUtils.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 voidSqlConstraintUtils.addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent, boolean restrictMemberTypes) Creates a "WHERE parent = value" constraint.voidSqlContextConstraint.addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, List<RolapMember> parents) Addsparentsto the current context and restricts the SQL resultset to that new context.voidSqlContextConstraint.addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent) Called from MemberChildren: addsparentto the current context and restricts the SQL resultset to that new context.static RolapCubeRolapCell.chooseDrillThroughCube(Member[] currentMembers, RolapCube defaultCube) intstatic StringSqlConstraintUtils.constrainLevel(RolapLevel level, SqlQuery query, RolapCube baseCube, AggStar aggStar, String[] columnValue, boolean caseSensitive) Generates a sql expression constraining a level by some valuestatic StringSqlConstraintUtils.constrainLevel(RolapLevel level, SqlQuery query, RolapCube baseCube, AggStar aggStar, String columnValue, boolean caseSensitive) static voidRolapUtil.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.RolapCubeLevel.getBaseStarKeyColumn(RolapCube baseCube) this method returns the RolapStar.Column if non-virtual, if virtual, find the base cube level and return it's columnfinal TupleListRolapEvaluator.getOptimizedSlicerTuples(RolapCube baseCube) Returns an optimized list of tuples related to the slicer based on the current evaluator.static voidSqlConstraintUtils.joinLevelTableToFactTable(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, Evaluator e, RolapCubeLevel level) Ensures that the table oflevelis joined to the fact tablestatic DrillThroughCellRequestRolapAggregationManager.makeDrillThroughRequest(Member[] members, boolean extendedContext, RolapCube cube, List<OlapElement> returnClauseMembers) Creates a request for the fact-table rows underlying the cell identified bymembers.voidRolapCalculatedMember.setBaseCube(RolapCube baseCube) Constructors in mondrian.rolap with parameters of type RolapCubeModifierConstructorDescriptionFastBatchingCellReader(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 RolapCubeModifierConstructorDescriptionMemberTuplePredicate(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 RolapCubeModifier and TypeMethodDescriptionExplicitRules.Group.getCube()Get the RolapCube associated with this Group.Methods in mondrian.rolap.aggmatcher with parameters of type RolapCubeModifier and TypeMethodDescriptionstatic ExplicitRules.GroupExplicitRules.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 -
Uses of RolapCube in mondrian.rolap.sql
Methods in mondrian.rolap.sql with parameters of type RolapCubeModifier and TypeMethodDescriptionvoidCrossJoinArg.addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar) voidDescendantsCrossJoinArg.addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar) voidMemberKeyConstraint.addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar) voidMemberListCrossJoinArg.addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar) voidTupleConstraint.addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar) Modifies a Level.Members query.voidMemberChildrenConstraint.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.voidMemberKeyConstraint.addLevelConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapLevel level) voidTupleConstraint.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.voidMemberChildrenConstraint.addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, List<RolapMember> parents) Modifies aMember.Childrenquery so that (all or some) children of all parent members contained inparentswill be returned in the result set.voidMemberChildrenConstraint.addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent) Modifies aMember.Childrenquery so that only the children ofparentwill be returned in the result set.