Uses of Interface
mondrian.spi.SegmentBody
Package
Description
Manages a cache of aggregates containing cell values.
Provides primitives for policy-based caching.
Contains the server-provider interfaces (SPIs) which user-defined
extensions to Mondrian should implement.
-
Uses of SegmentBody in mondrian.rolap.agg
Modifier and TypeMethodDescriptionSegmentDataset.createSegmentBody
(List<Pair<SortedSet<Comparable>, Boolean>> axes) Return an immutable, final and serializable implementation of a SegmentBody in order to cache this dataset.SegmentCacheWorker.get
(SegmentHeader header) Returns a segment body corresponding to a header.Modifier and TypeMethodDescriptionstatic 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 TypeMethodDescriptionstatic SegmentWithData
SegmentBuilder.addData
(Segment segment, SegmentBody sb) Converts a segment plus aSegmentBody
into aSegmentWithData
.SegmentBuilder.SegmentConverter.convert
(SegmentHeader header, SegmentBody body) SegmentBuilder.SegmentConverterImpl.convert
(SegmentHeader header, SegmentBody body) 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 TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionSegmentCacheIndex.getFuture
(Execution exec, SegmentHeader header) Returns a future slot for a segment body, if a segment is currently loading, otherwise null.SegmentCacheIndexImpl.getFuture
(Execution exec, SegmentHeader header) Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionSegmentCache.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 TypeMethodDescriptionboolean
SegmentCache.put
(SegmentHeader header, SegmentBody body) Stores a segment data in the cache.