mondrian.rolap
Class FastBatchingCellReader.Batch
java.lang.Object
mondrian.rolap.FastBatchingCellReader.Batch
- All Implemented Interfaces:
- FastBatchingCellReader.Loadable
- Enclosing class:
- FastBatchingCellReader
class FastBatchingCellReader.Batch
- extends java.lang.Object
- implements FastBatchingCellReader.Loadable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
columns
final RolapStar.Column[] columns
measuresList
final java.util.List<RolapStar.Measure> measuresList
valueSets
final java.util.Set<StarColumnPredicate>[] valueSets
batchKey
final AggregationKey batchKey
FastBatchingCellReader.Batch
public FastBatchingCellReader.Batch(CellRequest request)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.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(java.util.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)
haveSameValues
boolean haveSameValues(FastBatchingCellReader.Batch other)
- Return whether have same values for overlapping columns or
has all children for others.