mondrian.rolap
Class FastBatchingCellReader.Batch
java.lang.Object
mondrian.rolap.FastBatchingCellReader.Batch
- All Implemented Interfaces:
- FastBatchingCellReader.Loadable
- Enclosing class:
- FastBatchingCellReader
class FastBatchingCellReader.Batch
- extends Object
- implements FastBatchingCellReader.Loadable
-
-
columns
final RolapStar.Column[] columns
measuresList
final List<RolapStar.Measure> measuresList
valueSets
final Set<StarColumnPredicate>[] valueSets
batchKey
final AggregationKey batchKey
FastBatchingCellReader.Batch
public FastBatchingCellReader.Batch(CellRequest request)
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)