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 ASegmentDatasetholds the values in a segment.SegmentLoader.RowList.Handler -
Class Summary Class Description AbstractColumnPredicate AAbstractColumnPredicateis an abstract implementation forStarColumnPredicate.AbstractColumnPredicate.Factory Factory forStarPredicates andStarColumnPredicates.AbstractQuerySpec Base class forQuerySpecimplementations.AbstractSegmentBody Abstract implementation of a SegmentBody.AggQuerySpec An AggStar's version of theQuerySpec.Aggregation AAggregationis a pre-computed aggregation over a set of columns.AggregationKey Column context that an Aggregation is computed for.AggregationManager RolapAggregationManagermanages allAggregations in the system.AggregationManager.PinSetImpl Implementation ofRolapAggregationManager.PinSetusing aHashSet.AggregationOnDistinctCountMeasuresTest AggregationOnDistinctCountMeasureTesttests the Distinct Count functionality with tuples and members.AndPredicate Predicate which is the intersection of a list of predicates.CellRequest ACellRequestcontains 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 ofDenseSegmentDatasetthat stores values of typedouble.DenseIntSegmentBody Implementation of a segment body which stores the data inside a dense primitive array of integers.DenseIntSegmentBodyTest DenseIntSegmentDataset Implementation ofDenseSegmentDatasetthat stores values of typeObject.DenseNativeSegmentDataset Implementation ofDenseSegmentDatasetthat stores values of typedouble.DenseObjectSegmentBody Implementation of a segment body which stores the data inside a dense array of Java objects.DenseObjectSegmentDataset Implementation ofDenseSegmentDatasetthat stores values of typeObject.DenseSegmentBodyTestBase<T extends AbstractSegmentBody,V> This is a base class for two heirs.DenseSegmentDataset ADenseSegmentDatasetis a means of storing segment values which is suitable when most of the combinations of keys have a value present.DrillThroughCellRequest Subclass ofCellRequestthat 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 ofSegments 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 ofSegmentDatasetthat 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 forAndPredicateandOrPredicate.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 AStarPredicatewhich evaluates to true if its first child evaluates to true and its second child evaluates to false.MockSegmentCache Mock implementation ofSegmentCachethat 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 ASegmentis 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 betweenSegmentandSegmentHeader, and alsoSegmentWithDataandSegmentBody.SegmentBuilder.SegmentConverterImpl Implementation ofSegmentBuilder.SegmentConverterthat uses anAggregationKeyandCellRequestas context to convert aSegmentHeader.SegmentBuilder.StarSegmentConverter Implementation ofSegmentBuilder.SegmentConverterthat 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 ofSegmentCacheWorkerobjects (each of which is backed by aSegmentCacheappear 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 theBasicQueryTestbut with theMockSegmentCacheactive.SegmentCacheWorker Utility class to interact with theSegmentCache.SegmentLoader TheSegmentLoaderqueries 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 forSegmentLoaderSegmentLoaderTest.MyDelegatingInvocationHandler SegmentWithData Extension toSegmentwith 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 ASparseSegmentDatasetis a means of storing segment values which is suitable when few of the combinations of keys have a value present.StarPredicates Utilities forStarPredicates andStarColumnPredicates.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.