mondrian.rolap
Class FastBatchingCellReader.Batch

java.lang.Object
  extended by mondrian.rolap.FastBatchingCellReader.Batch
All Implemented Interfaces:
FastBatchingCellReader.Loadable
Enclosing class:
FastBatchingCellReader

 class FastBatchingCellReader.Batch
extends Object
implements FastBatchingCellReader.Loadable

 

Field Summary
(package private)  AggregationKey batchKey
           
(package private)  RolapStar.Column[] columns
           
(package private)  List<RolapStar.Measure> measuresList
           
(package private)  Set<StarColumnPredicate>[] valueSets
           
 
Constructor Summary
FastBatchingCellReader.Batch(CellRequest request)
           
 
Method Summary
 void add(CellRequest request)
           
(package private)  boolean canBatch(FastBatchingCellReader.Batch other)
          Returns whether another Batch can be batched to this Batch.
 BitKey getConstrainedColumnsBitKey()
           
(package private)  RolapStar.Measure getFirstDistinctMeasure(List<RolapStar.Measure> measuresList)
          Returns the first measure based upon a distinct aggregation, or null if there is none.
(package private)  boolean hasDistinctCountMeasure()
           
(package private)  boolean hasOverlappingBitKeys(FastBatchingCellReader.Batch other)
           
(package private)  boolean hasSameCompoundPredicate(FastBatchingCellReader.Batch other)
           
(package private)  boolean haveSameStarAndAggregation(FastBatchingCellReader.Batch other)
           
(package private)  boolean haveSameValuesForOverlappingColumnsOrHasAllChildrenForOthers(FastBatchingCellReader.Batch other)
           
 void loadAggregation()
           
(package private)  void loadAggregation(GroupingSetsCollector groupingSetsCollector)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

columns

final RolapStar.Column[] columns

measuresList

final List<RolapStar.Measure> measuresList

valueSets

final Set<StarColumnPredicate>[] valueSets

batchKey

final AggregationKey batchKey
Constructor Detail

FastBatchingCellReader.Batch

public FastBatchingCellReader.Batch(CellRequest request)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

add

public final void add(CellRequest request)

getConstrainedColumnsBitKey

public BitKey getConstrainedColumnsBitKey()

loadAggregation

public final void loadAggregation()
Specified by:
loadAggregation in interface FastBatchingCellReader.Loadable

loadAggregation

final void loadAggregation(GroupingSetsCollector groupingSetsCollector)

getFirstDistinctMeasure

final RolapStar.Measure getFirstDistinctMeasure(List<RolapStar.Measure> measuresList)
Returns the first measure based upon a distinct aggregation, or null if there is none.


canBatch

boolean canBatch(FastBatchingCellReader.Batch other)
Returns whether another Batch can be batched to this Batch.

This is possible if:

  • columns list is super set of other batch's constraint columns; and
  • both have same Fact Table; and
  • matching columns of this and other batch has the same value; and
  • non matching columns of this batch have ALL VALUES


  • hasOverlappingBitKeys

    boolean hasOverlappingBitKeys(FastBatchingCellReader.Batch other)

    hasDistinctCountMeasure

    boolean hasDistinctCountMeasure()

    hasSameCompoundPredicate

    boolean hasSameCompoundPredicate(FastBatchingCellReader.Batch other)

    haveSameStarAndAggregation

    boolean haveSameStarAndAggregation(FastBatchingCellReader.Batch other)

    haveSameValuesForOverlappingColumnsOrHasAllChildrenForOthers

    boolean haveSameValuesForOverlappingColumnsOrHasAllChildrenForOthers(FastBatchingCellReader.Batch other)

    SourceForge.net_Logo