Package mondrian.rolap.agg
Manages a cache of aggregates containing cell values.
-
Interface Summary Interface Description QuerySpec Contains the information necessary to generate a SQL statement to retrieve a set of cells.Segment.ExcludedRegion Definition of a region of values which are not in a segment.SegmentBuilder.SegmentConverter Functor to convert a segment header and body into aSegmentWithData
.SegmentCacheManager.Command<T> SegmentCacheManager.Message SegmentCacheManager.Visitor Visitor for messages (commands and events).SegmentDataset ASegmentDataset
holds the values in a segment.SegmentLoader.RowList.Handler -
Class Summary Class Description AbstractColumnPredicate AAbstractColumnPredicate
is an abstract implementation forStarColumnPredicate
.AbstractColumnPredicate.Factory Factory forStarPredicate
s andStarColumnPredicate
s.AbstractQuerySpec Base class forQuerySpec
implementations.AbstractSegmentBody Abstract implementation of a SegmentBody.AggQuerySpec An AggStar's version of theQuerySpec
.Aggregation AAggregation
is a pre-computed aggregation over a set of columns.AggregationKey Column context that an Aggregation is computed for.AggregationManager RolapAggregationManager
manages allAggregation
s in the system.AggregationManager.PinSetImpl Implementation ofRolapAggregationManager.PinSet
using aHashSet
.AggregationOnDistinctCountMeasuresTest AggregationOnDistinctCountMeasureTest
tests the Distinct Count functionality with tuples and members.AndPredicate Predicate which is the intersection of a list of predicates.CellRequest ACellRequest
contains the context necessary to get a cell value from a star.DenseDoubleSegmentBody Implementation of a segment body which stores the data inside a dense primitive array of double precision numbers.DenseDoubleSegmentBodyTest DenseDoubleSegmentDataset Implementation ofDenseSegmentDataset
that stores values of typedouble
.DenseIntSegmentBody Implementation of a segment body which stores the data inside a dense primitive array of integers.DenseIntSegmentBodyTest DenseIntSegmentDataset Implementation ofDenseSegmentDataset
that stores values of typeObject
.DenseNativeSegmentDataset Implementation ofDenseSegmentDataset
that stores values of typedouble
.DenseObjectSegmentBody Implementation of a segment body which stores the data inside a dense array of Java objects.DenseObjectSegmentDataset Implementation ofDenseSegmentDataset
that stores values of typeObject
.DenseSegmentBodyTestBase<T extends AbstractSegmentBody,V> This is a base class for two heirs.DenseSegmentDataset ADenseSegmentDataset
is a means of storing segment values which is suitable when most of the combinations of keys have a value present.DrillThroughCellRequest Subclass ofCellRequest
that allows to specify which columns and measures to return as part of the ResultSet which we return to the client.DrillThroughQuerySpec Provides the information necessary to generate SQL for a drill-through request.GroupingSet A collection ofSegment
s that can be represented as a GROUP BY GROUPING SET in a SQL query.GroupingSetsList Class for using GROUP BY GROUPING SETS sql query.GroupingSetsList.Cohort Collection ofSegmentDataset
that have the same dimensionality and identical axis values.ListColumnPredicate Predicate which is the union of a list of predicates, each of which applies to the same, single column.ListPredicate Base class forAndPredicate
andOrPredicate
.LiteralStarPredicate A constraint which always returns true or false.MemberColumnPredicate Column constraint defined by a member.MemberTuplePredicate Predicate which constrains a column to a particular member, or a range above or below a member, or a range between two members.MinusStarPredicate AStarPredicate
which evaluates to true if its first child evaluates to true and its second child evaluates to false.MockSegmentCache Mock implementation ofSegmentCache
that is used for automated testing.OrPredicate Predicate which is the union of a list of predicates.RangeColumnPredicate Predicate constraining a column to be greater than or less than a given bound, or between a pair of bounds.Segment ASegment
is a collection of cell values parameterized by a measure, and a set of (column, value) pairs.SegmentArrayQuerySpec Provides the information necessary to generate a SQL statement to retrieve a list of segments.SegmentAxis Collection of values of one of the columns that parameterizes aSegment
.SegmentBuilder Helper class that contains methods to convert betweenSegment
andSegmentHeader
, and alsoSegmentWithData
andSegmentBody
.SegmentBuilder.SegmentConverterImpl Implementation ofSegmentBuilder.SegmentConverter
that uses anAggregationKey
andCellRequest
as context to convert aSegmentHeader
.SegmentBuilder.StarSegmentConverter Implementation ofSegmentBuilder.SegmentConverter
that uses a star measure and a list ofStarPredicate
.SegmentBuilderTest Test forSegmentBuilder
.SegmentCacheManager Active object that maintains the "global cache" (in JVM, but shared between connections using a particular schema) and "external cache" (as implemented by aSegmentCache
.SegmentCacheManager.CompositeSegmentCache Makes a collection ofSegmentCacheWorker
objects (each of which is backed by aSegmentCache
appear to be a SegmentCache.SegmentCacheManager.FlushCommand Command to flush a particular region from cache.SegmentCacheManager.FlushResult Result of aSegmentCacheManager.FlushCommand
.SegmentCacheTest Test suite that runs theBasicQueryTest
but with theMockSegmentCache
active.SegmentCacheWorker Utility class to interact with theSegmentCache
.SegmentLoader TheSegmentLoader
queries database and loads the data into the given set of segments.SegmentLoader.RowList Collection of rows, each with a set of columns of type Object, double, or int.SegmentLoader.RowList.Column SegmentLoader.RowList.DoubleColumn SegmentLoader.RowList.IntColumn SegmentLoader.RowList.LongColumn SegmentLoader.RowList.NativeColumn SegmentLoader.RowList.ObjectColumn SegmentLoaderTest Test forSegmentLoader
SegmentLoaderTest.MyDelegatingInvocationHandler SegmentWithData Extension toSegment
with a data set.SparseSegmentBody Implementation of a segment body which stores the data of a sparse segment data set into a dense array of java objects.SparseSegmentDataset ASparseSegmentDataset
is a means of storing segment values which is suitable when few of the combinations of keys have a value present.StarPredicates Utilities forStarPredicate
s andStarColumnPredicate
s.ValueColumnPredicate A constraint which requires a column to have a particular value. -
Enum Summary Enum Description SegmentBuilderTest.Order -
Exception Summary Exception Description CellRequestQuantumExceededException Signals that there are enough outstanding cell requests that it is worth terminating this phase of execution and asking the segment cache for all of the cells that have been asked for.SegmentCacheManager.AbortException Exception which someone can throw to indicate to the Actor that whatever it was doing is not needed anymore.