Uses of Interface
mondrian.spi.SegmentBody
Packages that use 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
Methods in mondrian.rolap.agg that return SegmentBodyModifier 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.Methods in mondrian.rolap.agg that return types with arguments of type SegmentBodyModifier 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.Methods in mondrian.rolap.agg with parameters of type SegmentBodyModifier and TypeMethodDescriptionstatic SegmentWithDataSegmentBuilder.addData(Segment segment, SegmentBody sb) Converts a segment plus aSegmentBodyinto aSegmentWithData.SegmentBuilder.SegmentConverter.convert(SegmentHeader header, SegmentBody body) SegmentBuilder.SegmentConverterImpl.convert(SegmentHeader header, SegmentBody body) SegmentBuilder.StarSegmentConverter.convert(SegmentHeader header, SegmentBody body) voidSegmentCacheManager.loadSucceeded(RolapStar star, SegmentHeader header, SegmentBody body) Adds a segment to segment index.voidSegmentCacheWorker.put(SegmentHeader header, SegmentBody body) Places a segment in the cache.Method parameters in mondrian.rolap.agg with type arguments of type SegmentBodyModifier 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
Methods in mondrian.rolap.cache that return SegmentBodyMethods in mondrian.rolap.cache that return types with arguments of type SegmentBodyModifier 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) Methods in mondrian.rolap.cache with parameters of type SegmentBodyModifier and TypeMethodDescriptionvoidSegmentCacheIndex.loadSucceeded(SegmentHeader header, SegmentBody body) Changes the state of a header from loading to loaded.voidSegmentCacheIndexImpl.loadSucceeded(SegmentHeader header, SegmentBody body) booleanMemorySegmentCache.put(SegmentHeader header, SegmentBody body) -
Uses of SegmentBody in mondrian.spi
Methods in mondrian.spi that return SegmentBodyModifier 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.Methods in mondrian.spi with parameters of type SegmentBodyModifier and TypeMethodDescriptionbooleanSegmentCache.put(SegmentHeader header, SegmentBody body) Stores a segment data in the cache.