Uses of Class
mondrian.rolap.RolapStar.Column
Package
Description
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.
-
Uses of RolapStar.Column in mondrian.rolap
Modifier and TypeClassDescriptionstatic class
Definition of a measure in a star schema.Modifier and TypeFieldDescriptionstatic final Comparator<RolapStar.Column>
RolapStar.Column.COMPARATOR
Modifier and TypeMethodDescriptionRolapCubeLevel.getBaseStarKeyColumn
(RolapCube baseCube) this method returns the RolapStar.Column if non-virtual, if virtual, find the base cube level and return it's columnRolapStar.getColumn
(int bitPos) Look up the column at the given bit position.StarColumnPredicate.getConstrainedColumn()
Returns the column constrained by this predicate.RolapStar.Column.getNameColumn()
RolapStar.Column.getParentColumn()
RolapCubeLevel.getStarKeyColumn()
This is the RolapStar.Column that is related to this RolapCubeLevelRolapStar.lookupColumn
(String tableAlias, String columnName) This is used by TestAggregationManager only.RolapStar.Table.lookupColumn
(String columnName) RolapStar.Table.lookupColumnByExpression
(MondrianDef.Expression xmlExpr) Given a MondrianDef.Expression return a column with that expression or null.RolapStar.lookupColumns
(String tableAlias, String columnName) Retrieves a named column, returns null if not found.RolapStar.Table.lookupColumns
(String columnName) Returns an array of all columns in this star with a given name.protected RolapStar.Column
RolapCube.makeColumns
(RolapStar.Table table, RolapCubeLevel level, RolapStar.Column parentColumn, String usagePrefix) Adds a column to the appropriate table in theRolapStar
.Modifier and TypeMethodDescriptionRolapStar.Table.getColumns()
Returns a list of this table'sRolapStar.Column
s.StarPredicate.getConstrainedColumnList()
Returns a list of constrained columns.Modifier and TypeMethodDescriptionvoid
RolapCacheRegion.addPredicate
(RolapStar.Column column, StarColumnPredicate predicate) Adds a predicate which applies to a single column.StarColumnPredicate.cloneWithColumn
(RolapStar.Column column) This method is required because unfortunately some ColumnPredicate objects are created without a column.int
RolapStar.ColumnComparator.compare
(RolapStar.Column o1, RolapStar.Column o2) boolean
RolapStar.Table.containsColumn
(RolapStar.Column column) static String
SqlConstraintUtils.getColumnExpr
(SqlQuery sqlQuery, AggStar aggStar, RolapStar.Column column) Get the column expression from the AggStar if provided or the regular table if not, and ensure table is in Fromprotected RolapStar.Column
RolapCube.makeColumns
(RolapStar.Table table, RolapCubeLevel level, RolapStar.Column parentColumn, String usagePrefix) Adds a column to the appropriate table in theRolapStar
.void
RolapCubeLevel.setStarKeyColumn
(RolapStar.Column column) Modifier and TypeMethodDescriptionstatic void
RolapStar.collectColumns
(Collection<RolapStar.Column> columnList, RolapStar.Table table, MondrianDef.Column joinColumn) Collects all columns in this table and its children.RolapStar.generateSql
(List<RolapStar.Column> columnList, List<String> columnNameList) Generates a SQL statement to read all instances of the given attributes. -
Uses of RolapStar.Column in mondrian.rolap.agg
Modifier and TypeFieldDescriptionprotected final RolapStar.Column[]
Segment.columns
This is set in the load method and is used during the processing of a particular aggregate load.protected final RolapStar.Column
AbstractColumnPredicate.constrainedColumn
Modifier and TypeMethodDescriptionGroupingSet.getColumns()
QuerySpec.getColumns()
Segment.getColumns()
Returns the constrained columns.AbstractColumnPredicate.getConstrainedColumn()
MinusStarPredicate.getConstrainedColumn()
CellRequest.getConstrainedColumns()
Modifier and TypeMethodDescriptionAbstractColumnPredicate.getConstrainedColumnList()
ListPredicate.getConstrainedColumnList()
MemberColumnPredicate.getConstrainedColumnList()
MemberTuplePredicate.getConstrainedColumnList()
Returns a list of constrained columns.Modifier and TypeMethodDescriptionfinal void
CellRequest.addConstrainedColumn
(RolapStar.Column column, StarColumnPredicate predicate) Adds a constraint to this request.void
DrillThroughCellRequest.addDrillThroughColumn
(RolapStar.Column column) protected static List<StarColumnPredicate>
AbstractColumnPredicate.cloneListWithColumn
(RolapStar.Column column, List<StarColumnPredicate> list) ListColumnPredicate.cloneWithColumn
(RolapStar.Column column) LiteralStarPredicate.cloneWithColumn
(RolapStar.Column column) MemberColumnPredicate.cloneWithColumn
(RolapStar.Column column) MinusStarPredicate.cloneWithColumn
(RolapStar.Column column) RangeColumnPredicate.cloneWithColumn
(RolapStar.Column column) ValueColumnPredicate.cloneWithColumn
(RolapStar.Column column) static StarColumnPredicate
AbstractColumnPredicate.Factory.equal
(RolapStar.Column column, Object value) Returns a predicate which tests whether the column's value is equal to a given constant.boolean
DrillThroughCellRequest.includeInSelect
(RolapStar.Column column) protected boolean
AbstractQuerySpec.isPartOfSelect
(RolapStar.Column col) Allows subclasses to specify if a given column must be returned as part of the result set, in the select clause.void
Aggregation.load
(SegmentCacheManager cacheMgr, int cellRequestCount, RolapStar.Column[] columns, List<RolapStar.Measure> measures, StarColumnPredicate[] predicates, GroupingSetsCollector groupingSetsCollector, List<Future<Map<Segment, SegmentWithData>>> segmentFutures) Loads a set of segments into this aggregation, one per measure, each constrained by the same set of column values, and each pinned once.static void
AggregationManager.loadAggregation
(SegmentCacheManager cacheMgr, int cellRequestCount, List<RolapStar.Measure> measures, RolapStar.Column[] columns, AggregationKey aggregationKey, StarColumnPredicate[] predicates, GroupingSetsCollector groupingSetsCollector, List<Future<Map<Segment, SegmentWithData>>> segmentFutures) Called by FastBatchingCellReader.load where the RolapStar creates an Aggregation if needed.Aggregation.optimizePredicates
(RolapStar.Column[] columns, StarColumnPredicate[] predicates) Drops predicates, where the list of values is close to the values which would be returned anyway.static StarColumnPredicate
AbstractColumnPredicate.Factory.or
(RolapStar.Column column, List<StarColumnPredicate> list) Returns predicate which is the OR of a list of predicates.static Segment
SegmentBuilder.toSegment
(SegmentHeader header, RolapStar star, BitKey constrainedColumnsBitKey, RolapStar.Column[] constrainedColumns, RolapStar.Measure measure, List<StarPredicate> compoundPredicates) Creates a segment from a SegmentHeader.ModifierConstructorDescriptionprotected
AbstractColumnPredicate
(RolapStar.Column constrainedColumn) Creates an AbstractColumnPredicate.GroupingSet
(List<Segment> segments, BitKey levelBitKey, BitKey measureBitKey, StarColumnPredicate[] predicates, RolapStar.Column[] columns) Creates a GroupingSet.ListColumnPredicate
(RolapStar.Column column, List<StarColumnPredicate> list) Creates a ListColumnPredicateLiteralStarPredicate
(RolapStar.Column column, boolean value) Creates a LiteralStarPredicate.MemberColumnPredicate
(RolapStar.Column column, RolapMember member) Creates a MemberColumnPredicateRangeColumnPredicate
(RolapStar.Column column, boolean lowerInclusive, ValueColumnPredicate lowerBound, boolean upperInclusive, ValueColumnPredicate upperBound) Creates a RangeColumnPredicate.Segment
(RolapStar star, BitKey constrainedColumnsBitKey, RolapStar.Column[] columns, RolapStar.Measure measure, StarColumnPredicate[] predicates, List<Segment.ExcludedRegion> excludedRegions, List<StarPredicate> compoundPredicateList) Creates aSegment
; it's not loaded yet.ValueColumnPredicate
(RolapStar.Column constrainedColumn, Object value) Creates a column constraint. -
Uses of RolapStar.Column in mondrian.rolap.aggmatcher
Modifier and TypeMethodDescriptionprotected String
AggGen.getRolapStarColumnName
(RolapStar.Column rColumn) ModifierConstructorDescriptionAggGen
(String cubeName, RolapStar star, RolapStar.Column[] columns)