| Package | Description | 
|---|---|
| mondrian.rolap | 
 Implements the data access layer for the olap package. 
 | 
| mondrian.rolap.agg | 
 Manages a cache of aggregates containing cell values. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
StarColumnPredicate | 
StarColumnPredicate.Overlap.remaining  | 
| Modifier and Type | Method and 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 the
  
columnOrdinalth column. | 
StarColumnPredicate | 
RolapCacheRegion.getPredicate(String columnName)
Returns the predicate associated with the
  
columnName, 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<StarColumnPredicate> | 
RolapCacheRegion.getColumnPredicates()
Returns the list of all column predicates. 
 | 
| Modifier and Type | Method and 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. 
 | 
| Constructor and Description | 
|---|
Overlap(boolean matched,
       StarColumnPredicate remaining,
       float selectivity)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractColumnPredicate
A  
AbstractColumnPredicate is an abstract implementation for
 StarColumnPredicate. | 
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
A  
StarPredicate 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. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
StarColumnPredicate[] | 
Segment.predicates
An array of axes, one for each constraining column, containing the values
 returned for that constraining column. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StarColumnPredicate | 
MinusStarPredicate.cloneWithColumn(RolapStar.Column column)  | 
StarColumnPredicate | 
ListColumnPredicate.cloneWithColumn(RolapStar.Column column)  | 
StarColumnPredicate | 
MemberColumnPredicate.cloneWithColumn(RolapStar.Column column)  | 
StarColumnPredicate | 
ValueColumnPredicate.cloneWithColumn(RolapStar.Column column)  | 
StarColumnPredicate | 
LiteralStarPredicate.cloneWithColumn(RolapStar.Column column)  | 
StarColumnPredicate | 
RangeColumnPredicate.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. 
 | 
static StarColumnPredicate | 
AbstractColumnPredicate.Factory.equal(ValueColumnPredicate predicate)
Returns a predicate which tests whether the column's
 value is equal to column predicate's value. 
 | 
StarColumnPredicate | 
QuerySpec.getColumnPredicate(int i)
Returns the predicate on the  
ith column. | 
StarColumnPredicate[] | 
GroupingSet.getPredicates()  | 
StarColumnPredicate | 
CellRequest.getValueAt(int index)
Return the predicate value associated with the given index. 
 | 
StarColumnPredicate | 
MinusStarPredicate.minus(StarPredicate predicate)  | 
StarColumnPredicate | 
ListColumnPredicate.minus(StarPredicate predicate)  | 
StarColumnPredicate | 
ValueColumnPredicate.minus(StarPredicate predicate)  | 
StarColumnPredicate | 
LiteralStarPredicate.minus(StarPredicate predicate)  | 
StarColumnPredicate | 
RangeColumnPredicate.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 | 
ListColumnPredicate.orColumn(StarColumnPredicate predicate)  | 
StarColumnPredicate | 
AbstractColumnPredicate.orColumn(StarColumnPredicate predicate)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected static List<StarColumnPredicate> | 
AbstractColumnPredicate.cloneListWithColumn(RolapStar.Column column,
                   List<StarColumnPredicate> list)  | 
List<StarColumnPredicate> | 
ListColumnPredicate.getPredicates()
Returns the list of child predicates. 
 | 
| Modifier and Type | Method and 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 | 
MinusStarPredicate.intersect(StarColumnPredicate predicate)  | 
StarColumnPredicate.Overlap | 
ListColumnPredicate.intersect(StarColumnPredicate predicate)  | 
StarColumnPredicate.Overlap | 
ValueColumnPredicate.intersect(StarColumnPredicate predicate)  | 
StarColumnPredicate.Overlap | 
LiteralStarPredicate.intersect(StarColumnPredicate predicate)  | 
StarColumnPredicate.Overlap | 
RangeColumnPredicate.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 | 
ListColumnPredicate.orColumn(StarColumnPredicate predicate)  | 
StarColumnPredicate | 
AbstractColumnPredicate.orColumn(StarColumnPredicate predicate)  | 
static List<SegmentColumn> | 
SegmentBuilder.toConstrainedColumns(StarColumnPredicate[] predicates)  | 
| Modifier and Type | Method and 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)  | 
| Constructor and 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 a  
Segment; it's not loaded yet. | 
SegmentAxis(StarColumnPredicate predicate,
           SortedSet<Comparable> keySet,
           boolean hasNull)
Creates a SegmentAxis populated with a set of key values. 
 | 
| Constructor and Description | 
|---|
ListColumnPredicate(RolapStar.Column column,
                   List<StarColumnPredicate> list)
Creates a ListColumnPredicate 
 | 
Copyright © 2017 Hitachi Vantara. All rights reserved.