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 StarColumnPredicateStarColumnPredicate.Overlap. remainingMethods in mondrian.rolap that return StarColumnPredicate Modifier and Type Method Description StarColumnPredicateStarColumnPredicate. cloneWithColumn(RolapStar.Column column)This method is required because unfortunately some ColumnPredicate objects are created without a column.StarColumnPredicateRolapCacheRegion. getPredicate(int columnOrdinal)Returns the predicate associated with thecolumnOrdinalth column.StarColumnPredicateRolapCacheRegion. getPredicate(String columnName)Returns the predicate associated with thecolumnName, where column name is the generic SQL expression in the form of:StarColumnPredicateStarColumnPredicate. minus(StarPredicate predicate)StarColumnPredicateStarColumnPredicate. 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 voidRolapCacheRegion. addPredicate(RolapStar.Column column, StarColumnPredicate predicate)Adds a predicate which applies to a single column.static StringRolapStar.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.OverlapStarColumnPredicate. intersect(StarColumnPredicate predicate)Applies this predicate to a predicate from the axis of a segment, and tests for overlap.StarColumnPredicateStarColumnPredicate. 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 classAbstractColumnPredicateAAbstractColumnPredicateis an abstract implementation forStarColumnPredicate.classListColumnPredicatePredicate which is the union of a list of predicates, each of which applies to the same, single column.classLiteralStarPredicateA constraint which always returns true or false.classMemberColumnPredicateColumn constraint defined by a member.classMinusStarPredicateAStarPredicatewhich evaluates to true if its first child evaluates to true and its second child evaluates to false.classRangeColumnPredicatePredicate constraining a column to be greater than or less than a given bound, or between a pair of bounds.classValueColumnPredicateA 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. predicatesAn 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 StarColumnPredicateListColumnPredicate. cloneWithColumn(RolapStar.Column column)StarColumnPredicateLiteralStarPredicate. cloneWithColumn(RolapStar.Column column)StarColumnPredicateMemberColumnPredicate. cloneWithColumn(RolapStar.Column column)StarColumnPredicateMinusStarPredicate. cloneWithColumn(RolapStar.Column column)StarColumnPredicateRangeColumnPredicate. cloneWithColumn(RolapStar.Column column)StarColumnPredicateValueColumnPredicate. cloneWithColumn(RolapStar.Column column)static StarColumnPredicateAbstractColumnPredicate.Factory. equal(ValueColumnPredicate predicate)Returns a predicate which tests whether the column's value is equal to column predicate's value.static StarColumnPredicateAbstractColumnPredicate.Factory. equal(RolapStar.Column column, Object value)Returns a predicate which tests whether the column's value is equal to a given constant.StarColumnPredicateQuerySpec. getColumnPredicate(int i)Returns the predicate on theith column.StarColumnPredicate[]GroupingSet. getPredicates()StarColumnPredicateCellRequest. getValueAt(int index)Return the predicate value associated with the given index.StarColumnPredicateListColumnPredicate. minus(StarPredicate predicate)StarColumnPredicateLiteralStarPredicate. minus(StarPredicate predicate)StarColumnPredicateMinusStarPredicate. minus(StarPredicate predicate)StarColumnPredicateRangeColumnPredicate. minus(StarPredicate predicate)StarColumnPredicateValueColumnPredicate. minus(StarPredicate predicate)static StarColumnPredicateStarPredicates. 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 StarColumnPredicateAbstractColumnPredicate.Factory. or(RolapStar.Column column, List<StarColumnPredicate> list)Returns predicate which is the OR of a list of predicates.StarColumnPredicateAbstractColumnPredicate. orColumn(StarColumnPredicate predicate)StarColumnPredicateListColumnPredicate. 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 voidCellRequest. addConstrainedColumn(RolapStar.Column column, StarColumnPredicate predicate)Adds a constraint to this request.intSegmentAxis. getMatchCount(StarColumnPredicate predicate)Returns how many of this SegmentAxis's keys match a given constraint.StarColumnPredicate.OverlapListColumnPredicate. intersect(StarColumnPredicate predicate)StarColumnPredicate.OverlapLiteralStarPredicate. intersect(StarColumnPredicate predicate)StarColumnPredicate.OverlapMinusStarPredicate. intersect(StarColumnPredicate predicate)StarColumnPredicate.OverlapRangeColumnPredicate. intersect(StarColumnPredicate predicate)StarColumnPredicate.OverlapValueColumnPredicate. intersect(StarColumnPredicate predicate)voidAggregation. 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 voidAggregationManager. 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 StarColumnPredicateStarPredicates. 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.StarColumnPredicateAbstractColumnPredicate. orColumn(StarColumnPredicate predicate)StarColumnPredicateListColumnPredicate. 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 StarColumnPredicateAbstractColumnPredicate.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
-