Uses of Interface
mondrian.rolap.StarColumnPredicate
Package
Description
Implements the data access layer for the olap package.
Manages a cache of aggregates containing cell values.
-
Uses of StarColumnPredicate in mondrian.rolap
Modifier and TypeMethodDescriptionStarColumnPredicate.cloneWithColumn
(RolapStar.Column column) This method is required because unfortunately some ColumnPredicate objects are created without a column.RolapCacheRegion.getPredicate
(int columnOrdinal) Returns the predicate associated with thecolumnOrdinal
th column.RolapCacheRegion.getPredicate
(String columnName) Returns the predicate associated with thecolumnName
, where column name is the generic SQL expression in the form of:StarColumnPredicate.minus
(StarPredicate predicate) StarColumnPredicate.orColumn
(StarColumnPredicate predicate) Returns this union of this Predicate with another.Modifier and TypeMethodDescriptionRolapCacheRegion.getColumnPredicates()
Returns the list of all column predicates.Modifier and TypeMethodDescriptionvoid
RolapCacheRegion.addPredicate
(RolapStar.Column column, StarColumnPredicate predicate) Adds a predicate which applies to a single column.static String
RolapStar.Column.createInExpr
(String expr, StarColumnPredicate predicate, Dialect.Datatype datatype, SqlQuery sqlQuery) Generates a predicate that a column matches one of a list of values.StarColumnPredicate.intersect
(StarColumnPredicate predicate) Applies this predicate to a predicate from the axis of a segment, and tests for overlap.StarColumnPredicate.orColumn
(StarColumnPredicate predicate) Returns this union of this Predicate with another.ModifierConstructorDescriptionOverlap
(boolean matched, StarColumnPredicate remaining, float selectivity) -
Uses of StarColumnPredicate in mondrian.rolap.agg
Modifier and TypeClassDescriptionclass
AAbstractColumnPredicate
is an abstract implementation forStarColumnPredicate
.class
Predicate which is the union of a list of predicates, each of which applies to the same, single column.class
A constraint which always returns true or false.class
Column constraint defined by a member.class
AStarPredicate
which evaluates to true if its first child evaluates to true and its second child evaluates to false.class
Predicate constraining a column to be greater than or less than a given bound, or between a pair of bounds.class
A constraint which requires a column to have a particular value.Modifier and TypeFieldDescriptionfinal StarColumnPredicate[]
Segment.predicates
An array of axes, one for each constraining column, containing the values returned for that constraining column.Modifier and TypeMethodDescriptionListColumnPredicate.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
(ValueColumnPredicate predicate) Returns a predicate which tests whether the column's value is equal to column predicate's value.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.QuerySpec.getColumnPredicate
(int i) Returns the predicate on thei
th column.GroupingSet.getPredicates()
CellRequest.getValueAt
(int index) Return the predicate value associated with the given index.ListColumnPredicate.minus
(StarPredicate predicate) LiteralStarPredicate.minus
(StarPredicate predicate) MinusStarPredicate.minus
(StarPredicate predicate) RangeColumnPredicate.minus
(StarPredicate predicate) ValueColumnPredicate.minus
(StarPredicate predicate) static StarColumnPredicate
StarPredicates.optimize
(StarColumnPredicate predicate) Optimizes a column predicate.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.AbstractColumnPredicate.orColumn
(StarColumnPredicate predicate) ListColumnPredicate.orColumn
(StarColumnPredicate predicate) Modifier and TypeMethodDescriptionprotected static List<StarColumnPredicate>
AbstractColumnPredicate.cloneListWithColumn
(RolapStar.Column column, List<StarColumnPredicate> list) ListColumnPredicate.getPredicates()
Returns the list of child predicates.Modifier and TypeMethodDescriptionfinal void
CellRequest.addConstrainedColumn
(RolapStar.Column column, StarColumnPredicate predicate) Adds a constraint to this request.int
SegmentAxis.getMatchCount
(StarColumnPredicate predicate) Returns how many of this SegmentAxis's keys match a given constraint.ListColumnPredicate.intersect
(StarColumnPredicate predicate) LiteralStarPredicate.intersect
(StarColumnPredicate predicate) MinusStarPredicate.intersect
(StarColumnPredicate predicate) RangeColumnPredicate.intersect
(StarColumnPredicate predicate) ValueColumnPredicate.intersect
(StarColumnPredicate predicate) 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.static StarColumnPredicate
StarPredicates.optimize
(StarColumnPredicate predicate) Optimizes a column predicate.Aggregation.optimizePredicates
(RolapStar.Column[] columns, StarColumnPredicate[] predicates) Drops predicates, where the list of values is close to the values which would be returned anyway.AbstractColumnPredicate.orColumn
(StarColumnPredicate predicate) ListColumnPredicate.orColumn
(StarColumnPredicate predicate) static List<SegmentColumn>
SegmentBuilder.toConstrainedColumns
(StarColumnPredicate[] predicates) Modifier and TypeMethodDescriptionprotected static List<StarColumnPredicate>
AbstractColumnPredicate.cloneListWithColumn
(RolapStar.Column column, List<StarColumnPredicate> list) static StarColumnPredicate
AbstractColumnPredicate.Factory.or
(RolapStar.Column column, List<StarColumnPredicate> list) Returns predicate which is the OR of a list of predicates.static List<SegmentColumn>
SegmentBuilder.toConstrainedColumns
(Collection<StarColumnPredicate> predicates) ModifierConstructorDescriptionGroupingSet
(List<Segment> segments, BitKey levelBitKey, BitKey measureBitKey, StarColumnPredicate[] predicates, RolapStar.Column[] columns) Creates a GroupingSet.MinusStarPredicate
(StarColumnPredicate plus, StarColumnPredicate minus) Creates a MinusStarPredicate.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.SegmentAxis
(StarColumnPredicate predicate, SortedSet<Comparable> keySet, boolean hasNull) Creates a SegmentAxis populated with a set of key values.ModifierConstructorDescriptionListColumnPredicate
(RolapStar.Column column, List<StarColumnPredicate> list) Creates a ListColumnPredicate