| Package | Description | 
|---|---|
| mondrian.rolap.agg | Manages a cache of aggregates containing cell values. | 
| mondrian.rolap.cache | Provides primitives for policy-based caching. | 
| mondrian.spi | Contains the server-provider interfaces (SPIs) which user-defined
extensions to Mondrian should implement. | 
| Modifier and Type | Method and Description | 
|---|---|
| SegmentBody | SegmentDataset. createSegmentBody(List<Pair<SortedSet<Comparable>,Boolean>> axes)Return an immutable, final and serializable implementation
 of a SegmentBody in order to cache this dataset. | 
| SegmentBody | SegmentCacheWorker. get(SegmentHeader header)Returns a segment body corresponding to a header. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Pair<SegmentHeader,SegmentBody> | SegmentBuilder. rollup(Map<SegmentHeader,SegmentBody> map,
      Set<String> keepColumns,
      BitKey targetBitkey,
      Aggregator rollupAggregator,
      Dialect.Datatype datatype)Given a collection of segments, all of the same dimensionality, rolls up
 to create a segment with reduced dimensionality. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SegmentWithData | SegmentBuilder. addData(Segment segment,
       SegmentBody sb)Converts a segment plus a  SegmentBodyinto aSegmentWithData. | 
| SegmentWithData | SegmentBuilder.SegmentConverter. convert(SegmentHeader header,
       SegmentBody body) | 
| SegmentWithData | SegmentBuilder.SegmentConverterImpl. convert(SegmentHeader header,
       SegmentBody body) | 
| SegmentWithData | SegmentBuilder.StarSegmentConverter. convert(SegmentHeader header,
       SegmentBody body) | 
| void | SegmentCacheManager. loadSucceeded(RolapStar star,
             SegmentHeader header,
             SegmentBody body)Adds a segment to segment index. | 
| void | SegmentCacheWorker. put(SegmentHeader header,
   SegmentBody body)Places a segment in the cache. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Pair<SegmentHeader,SegmentBody> | SegmentBuilder. rollup(Map<SegmentHeader,SegmentBody> map,
      Set<String> keepColumns,
      BitKey targetBitkey,
      Aggregator rollupAggregator,
      Dialect.Datatype datatype)Given a collection of segments, all of the same dimensionality, rolls up
 to create a segment with reduced dimensionality. | 
| Modifier and Type | Method and Description | 
|---|---|
| SegmentBody | MemorySegmentCache. get(SegmentHeader header) | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<SegmentBody> | SegmentCacheIndex. getFuture(Execution exec,
         SegmentHeader header)Returns a future slot for a segment body, if a segment is currently
 loading, otherwise null. | 
| Future<SegmentBody> | SegmentCacheIndexImpl. getFuture(Execution exec,
         SegmentHeader header) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SegmentCacheIndex. loadSucceeded(SegmentHeader header,
             SegmentBody body)Changes the state of a header from loading to loaded. | 
| void | SegmentCacheIndexImpl. loadSucceeded(SegmentHeader header,
             SegmentBody body) | 
| boolean | MemorySegmentCache. put(SegmentHeader header,
   SegmentBody body) | 
| Modifier and Type | Method and Description | 
|---|---|
| SegmentBody | SegmentCache. get(SegmentHeader header)Returns a SegmentBody once the
 cache has returned any results, or null if no
 segment corresponding to the header could be found. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | SegmentCache. put(SegmentHeader header,
   SegmentBody body)Stores a segment data in the cache. | 
Copyright © 2021 Hitachi Vantara. All rights reserved.