Uses of Interface
mondrian.spi.SegmentBody
-
Packages that use SegmentBody 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. -
-
Uses of SegmentBody in mondrian.rolap.agg
Methods in mondrian.rolap.agg that return SegmentBody Modifier and Type Method 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.Methods in mondrian.rolap.agg that return types with arguments of type SegmentBody Modifier and Type Method 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.Methods in mondrian.rolap.agg with parameters of type SegmentBody Modifier and Type Method Description static SegmentWithData
SegmentBuilder. addData(Segment segment, SegmentBody sb)
Converts a segment plus aSegmentBody
into 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.Method parameters in mondrian.rolap.agg with type arguments of type SegmentBody Modifier and Type Method 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. -
Uses of SegmentBody in mondrian.rolap.cache
Methods in mondrian.rolap.cache that return SegmentBody Modifier and Type Method Description SegmentBody
MemorySegmentCache. get(SegmentHeader header)
Methods in mondrian.rolap.cache that return types with arguments of type SegmentBody Modifier and Type Method 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)
Methods in mondrian.rolap.cache with parameters of type SegmentBody Modifier and Type Method 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)
-
Uses of SegmentBody in mondrian.spi
Methods in mondrian.spi that return SegmentBody Modifier and Type Method 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.Methods in mondrian.spi with parameters of type SegmentBody Modifier and Type Method Description boolean
SegmentCache. put(SegmentHeader header, SegmentBody body)
Stores a segment data in the cache.
-