class BatchLoader extends Object
Modifier and Type | Class and Description |
---|---|
class |
BatchLoader.Batch |
(package private) static class |
BatchLoader.CompositeBatch
Set of Batches which can grouped together.
|
static class |
BatchLoader.LoadBatchCommand
Command that loads the segments required for a collection of cell
requests.
|
(package private) static class |
BatchLoader.LoadBatchResponse
Request sent from cache manager to a worker to load segments into
the cache, create segments by rolling up, and to wait for segments
being loaded via SQL.
|
static class |
BatchLoader.RollupInfo |
Constructor and Description |
---|
BatchLoader(Locus locus,
SegmentCacheManager cacheMgr,
Dialect dialect,
RolapCube cube) |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
addToCompositeBatch(Map<AggregationKey,BatchLoader.CompositeBatch> batchGroups,
BatchLoader.Batch detailedBatch,
BatchLoader.Batch summaryBatch) |
(package private) static List<BatchLoader.CompositeBatch> |
groupBatches(List<BatchLoader.Batch> batchList) |
(package private) BatchLoader.LoadBatchResponse |
load(List<CellRequest> cellRequests)
Determines which segments need to be loaded from external cache,
created using roll up, or created using SQL to satisfy a given list
of cell requests.
|
(package private) boolean |
shouldUseGroupingFunction() |
public BatchLoader(Locus locus, SegmentCacheManager cacheMgr, Dialect dialect, RolapCube cube)
final boolean shouldUseGroupingFunction()
BatchLoader.LoadBatchResponse load(List<CellRequest> cellRequests)
static List<BatchLoader.CompositeBatch> groupBatches(List<BatchLoader.Batch> batchList)
static void addToCompositeBatch(Map<AggregationKey,BatchLoader.CompositeBatch> batchGroups, BatchLoader.Batch detailedBatch, BatchLoader.Batch summaryBatch)