Uses of Interface
mondrian.rolap.StarColumnPredicate
-
Packages that use StarColumnPredicate Package Description mondrian.rolap Implements the data access layer for the olap package.mondrian.rolap.agg Manages a cache of aggregates containing cell values. -
-
Uses of StarColumnPredicate in mondrian.rolap
Fields in mondrian.rolap declared as StarColumnPredicate Modifier and Type Field Description StarColumnPredicate
StarColumnPredicate.Overlap. remaining
Methods in mondrian.rolap that return StarColumnPredicate Modifier and Type Method Description StarColumnPredicate
StarColumnPredicate. cloneWithColumn(RolapStar.Column column)
This method is required because unfortunately some ColumnPredicate objects are created without a column.StarColumnPredicate
RolapCacheRegion. getPredicate(int columnOrdinal)
Returns the predicate associated with thecolumnOrdinal
th column.StarColumnPredicate
RolapCacheRegion. getPredicate(String columnName)
Returns the predicate associated with thecolumnName
, where column name is the generic SQL expression in the form of:StarColumnPredicate
StarColumnPredicate. minus(StarPredicate predicate)
StarColumnPredicate
StarColumnPredicate. orColumn(StarColumnPredicate predicate)
Returns this union of this Predicate with another.Methods in mondrian.rolap that return types with arguments of type StarColumnPredicate Modifier and Type Method Description Collection<StarColumnPredicate>
RolapCacheRegion. getColumnPredicates()
Returns the list of all column predicates.Methods in mondrian.rolap with parameters of type StarColumnPredicate Modifier and Type Method Description void
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.Overlap
StarColumnPredicate. intersect(StarColumnPredicate predicate)
Applies this predicate to a predicate from the axis of a segment, and tests for overlap.StarColumnPredicate
StarColumnPredicate. orColumn(StarColumnPredicate predicate)
Returns this union of this Predicate with another.Constructors in mondrian.rolap with parameters of type StarColumnPredicate Constructor Description Overlap(boolean matched, StarColumnPredicate remaining, float selectivity)
-
Uses of StarColumnPredicate in mondrian.rolap.agg
Classes in mondrian.rolap.agg that implement StarColumnPredicate Modifier and Type Class Description class
AbstractColumnPredicate
AAbstractColumnPredicate
is an abstract implementation forStarColumnPredicate
.class
ListColumnPredicate
Predicate which is the union of a list of predicates, each of which applies to the same, single column.class
LiteralStarPredicate
A constraint which always returns true or false.class
MemberColumnPredicate
Column constraint defined by a member.class
MinusStarPredicate
AStarPredicate
which evaluates to true if its first child evaluates to true and its second child evaluates to false.class
RangeColumnPredicate
Predicate constraining a column to be greater than or less than a given bound, or between a pair of bounds.class
ValueColumnPredicate
A constraint which requires a column to have a particular value.Fields in mondrian.rolap.agg declared as StarColumnPredicate Modifier and Type Field Description StarColumnPredicate[]
Segment. predicates
An array of axes, one for each constraining column, containing the values returned for that constraining column.Methods in mondrian.rolap.agg that return StarColumnPredicate Modifier and Type Method Description StarColumnPredicate
ListColumnPredicate. cloneWithColumn(RolapStar.Column column)
StarColumnPredicate
LiteralStarPredicate. cloneWithColumn(RolapStar.Column column)
StarColumnPredicate
MemberColumnPredicate. cloneWithColumn(RolapStar.Column column)
StarColumnPredicate
MinusStarPredicate. cloneWithColumn(RolapStar.Column column)
StarColumnPredicate
RangeColumnPredicate. cloneWithColumn(RolapStar.Column column)
StarColumnPredicate
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.StarColumnPredicate
QuerySpec. getColumnPredicate(int i)
Returns the predicate on thei
th column.StarColumnPredicate[]
GroupingSet. getPredicates()
StarColumnPredicate
CellRequest. getValueAt(int index)
Return the predicate value associated with the given index.StarColumnPredicate
ListColumnPredicate. minus(StarPredicate predicate)
StarColumnPredicate
LiteralStarPredicate. minus(StarPredicate predicate)
StarColumnPredicate
MinusStarPredicate. minus(StarPredicate predicate)
StarColumnPredicate
RangeColumnPredicate. minus(StarPredicate predicate)
StarColumnPredicate
ValueColumnPredicate. minus(StarPredicate predicate)
static StarColumnPredicate
StarPredicates. optimize(StarColumnPredicate predicate)
Optimizes a column predicate.StarColumnPredicate[]
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.StarColumnPredicate
AbstractColumnPredicate. orColumn(StarColumnPredicate predicate)
StarColumnPredicate
ListColumnPredicate. orColumn(StarColumnPredicate predicate)
Methods in mondrian.rolap.agg that return types with arguments of type StarColumnPredicate Modifier and Type Method Description protected static List<StarColumnPredicate>
AbstractColumnPredicate. cloneListWithColumn(RolapStar.Column column, List<StarColumnPredicate> list)
List<StarColumnPredicate>
ListColumnPredicate. getPredicates()
Returns the list of child predicates.Methods in mondrian.rolap.agg with parameters of type StarColumnPredicate Modifier and Type Method Description 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.StarColumnPredicate.Overlap
ListColumnPredicate. intersect(StarColumnPredicate predicate)
StarColumnPredicate.Overlap
LiteralStarPredicate. intersect(StarColumnPredicate predicate)
StarColumnPredicate.Overlap
MinusStarPredicate. intersect(StarColumnPredicate predicate)
StarColumnPredicate.Overlap
RangeColumnPredicate. intersect(StarColumnPredicate predicate)
StarColumnPredicate.Overlap
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.StarColumnPredicate[]
Aggregation. optimizePredicates(RolapStar.Column[] columns, StarColumnPredicate[] predicates)
Drops predicates, where the list of values is close to the values which would be returned anyway.StarColumnPredicate
AbstractColumnPredicate. orColumn(StarColumnPredicate predicate)
StarColumnPredicate
ListColumnPredicate. orColumn(StarColumnPredicate predicate)
static List<SegmentColumn>
SegmentBuilder. toConstrainedColumns(StarColumnPredicate[] predicates)
Method parameters in mondrian.rolap.agg with type arguments of type StarColumnPredicate Modifier and Type Method Description protected 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)
Constructors in mondrian.rolap.agg with parameters of type StarColumnPredicate Constructor Description GroupingSet(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.Constructor parameters in mondrian.rolap.agg with type arguments of type StarColumnPredicate Constructor Description ListColumnPredicate(RolapStar.Column column, List<StarColumnPredicate> list)
Creates a ListColumnPredicate
-