|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.FastBatchingCellReader.Batch
class FastBatchingCellReader.Batch
| 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 |
haveSameClosureColumns(FastBatchingCellReader.Batch other)
Returns whether this batch has the same closure columns as another. |
(package private) boolean |
haveSameStarAndAggregation(FastBatchingCellReader.Batch other)
|
(package private) boolean |
haveSameValues(FastBatchingCellReader.Batch other)
Return whether have same values for overlapping columns or has all children for others. |
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 |
|---|
final RolapStar.Column[] columns
final List<RolapStar.Measure> measuresList
final Set<StarColumnPredicate>[] valueSets
final AggregationKey batchKey
| Constructor Detail |
|---|
public FastBatchingCellReader.Batch(CellRequest request)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic final void add(CellRequest request)
public BitKey getConstrainedColumnsBitKey()
public final void loadAggregation()
loadAggregation in interface FastBatchingCellReader.Loadablefinal void loadAggregation(GroupingSetsCollector groupingSetsCollector)
final RolapStar.Measure getFirstDistinctMeasure(List<RolapStar.Measure> measuresList)
boolean canBatch(FastBatchingCellReader.Batch other)
This is possible if:
boolean hasOverlappingBitKeys(FastBatchingCellReader.Batch other)
boolean hasDistinctCountMeasure()
boolean hasSameCompoundPredicate(FastBatchingCellReader.Batch other)
boolean haveSameStarAndAggregation(FastBatchingCellReader.Batch other)
boolean haveSameClosureColumns(FastBatchingCellReader.Batch other)
Ensures that we do not group together a batch that includes a level of a parent-child closure dimension with a batch that does not. It is not safe to roll up from a parent-child closure level; due to multiple accounting, the 'all' level is less than the sum of the members of the closure level.
other - Other batch
boolean haveSameValues(FastBatchingCellReader.Batch other)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||