|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.BatchLoader.Batch
public class BatchLoader.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 | |
|---|---|
BatchLoader.Batch(CellRequest request)
|
|
| Method Summary | |
|---|---|
void |
add(CellRequest request)
|
(package private) boolean |
canBatch(BatchLoader.Batch other)
Returns whether another Batch can be batched to this Batch. |
SegmentCacheManager |
getCacheMgr()
|
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(BatchLoader.Batch other)
|
(package private) boolean |
hasSameCompoundPredicate(BatchLoader.Batch other)
|
(package private) boolean |
haveSameClosureColumns(BatchLoader.Batch other)
Returns whether this batch has the same closure columns as another. |
(package private) boolean |
haveSameStarAndAggregation(BatchLoader.Batch other)
|
(package private) boolean |
haveSameValues(BatchLoader.Batch other)
Return whether have same values for overlapping columns or has all children for others. |
(package private) void |
loadAggregation(GroupingSetsCollector groupingSetsCollector,
List<Future<Map<Segment,SegmentWithData>>> segmentFutures)
|
void |
loadAggregation(List<Future<Map<Segment,SegmentWithData>>> segmentFutures)
|
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 BatchLoader.Batch(CellRequest request)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic final void add(CellRequest request)
public BitKey getConstrainedColumnsBitKey()
public SegmentCacheManager getCacheMgr()
public final void loadAggregation(List<Future<Map<Segment,SegmentWithData>>> segmentFutures)
final void loadAggregation(GroupingSetsCollector groupingSetsCollector,
List<Future<Map<Segment,SegmentWithData>>> segmentFutures)
final RolapStar.Measure getFirstDistinctMeasure(List<RolapStar.Measure> measuresList)
boolean canBatch(BatchLoader.Batch other)
This is possible if:
boolean hasOverlappingBitKeys(BatchLoader.Batch other)
boolean hasDistinctCountMeasure()
boolean hasSameCompoundPredicate(BatchLoader.Batch other)
boolean haveSameStarAndAggregation(BatchLoader.Batch other)
boolean haveSameClosureColumns(BatchLoader.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(BatchLoader.Batch other)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||