Uses of Interface
mondrian.rolap.BitKey
Package
Description
Implements the data access layer for the olap package.
Manages a cache of aggregates containing cell values.
Defines a 'matcher' which scans the schema to find candidate aggregate tables.
Provides primitives for policy-based caching.
Contains the server-provider interfaces (SPIs) which user-defined
extensions to Mondrian should implement.
-
Uses of BitKey in mondrian.rolap
Modifier and TypeClassDescriptionstatic class
Abstract implementation ofBitKey
.static class
Implementation ofBitKey
with more than 64 bits.static class
Implementation ofBitKey
good for sizes less than 128.static class
Implementation ofBitKey
for bit counts less than 64.Modifier and TypeMethodDescriptionReturns the boolean AND of this bitkey and the given bitkey.Returns aBitKey
containing all of the bits in thisBitSet
whose corresponding bit is NOT set in the specifiedBitSet
.BitKey.Big.copy()
BitKey.copy()
Returns a copy of this BitKey.BitKey.Mid128.copy()
BitKey.Small.copy()
BitKey.Big.emptyCopy()
BitKey.emptyCopy()
Returns an empty BitKey of the same type.BitKey.Mid128.emptyCopy()
BitKey.Small.emptyCopy()
CompoundPredicateInfo.getBitKey()
StarPredicate.getConstrainedColumnBitKey()
Returns a bitmap of constrained columns to speed up comparisonRolapCacheRegion.getConstrainedColumnsBitKey()
static BitKey
BitKey.Factory.makeBitKey
(int size) Creates aBitKey
with a capacity for a given number of bits.static BitKey
BitKey.Factory.makeBitKey
(int size, boolean init) Creates aBitKey
with a capacity for a given number of bits.static BitKey
BitKey.Factory.makeBitKey
(BitSet bitSet) Or the parameterBitKey
withthis
.XOr the parameterBitKey
withthis
.Modifier and TypeMethodDescriptionReturns the boolean AND of this bitkey and the given bitkey.Returns aBitKey
containing all of the bits in thisBitSet
whose corresponding bit is NOT set in the specifiedBitSet
.int
int
int
static void
RolapUtil.constraintBitkeyForLimitedMembers
(Evaluator evaluator, Member[] members, RolapCube cube, BitKey levelBitKey) Modifies a bitkey so that it includes the proper bits for members in an array which should be considered as a limited rollup member.protected IllegalArgumentException
BitKey.AbstractBitKey.createException
(BitKey bitKey) boolean
BitKey.Big.intersects
(BitKey bitKey) boolean
BitKey.intersects
(BitKey bitKey) Returns whether this BitKey has any bits in common with a given BitKey.boolean
BitKey.Mid128.intersects
(BitKey bitKey) boolean
BitKey.Small.intersects
(BitKey bitKey) boolean
BitKey.Big.isSuperSetOf
(BitKey bitKey) boolean
BitKey.isSuperSetOf
(BitKey bitKey) Is every bit set in the parameterbitKey
also set inthis
.boolean
BitKey.Mid128.isSuperSetOf
(BitKey bitKey) boolean
BitKey.Small.isSuperSetOf
(BitKey bitKey) Or the parameterBitKey
withthis
.XOr the parameterBitKey
withthis
. -
Uses of BitKey in mondrian.rolap.agg
Modifier and TypeMethodDescriptionAndPredicate.checkInList
(SqlQuery sqlQuery, BitKey inListLHSBitKey) ValueColumnPredicate.checkInList
(BitKey inListLHSBitKey) AbstractColumnPredicate.getConstrainedColumnBitKey()
ListPredicate.getConstrainedColumnBitKey()
MemberTuplePredicate.getConstrainedColumnBitKey()
Aggregation.getConstrainedColumnsBitKey()
Returns the BitKey for ALL columns (Measures and Levels) involved in the query.final BitKey
AggregationKey.getConstrainedColumnsBitKey()
Returns the bitkey of columns that constrain this aggregation.CellRequest.getConstrainedColumnsBitKey()
Returns the BitKey for the list of columns.Segment.getConstrainedColumnsBitKey()
Returns the BitKey for ALL columns (Measures and Levels) involved in the query.GroupingSet.getLevelBitKey()
GroupingSet.getMeasureBitKey()
Modifier and TypeMethodDescriptionvoid
CellRequest.addAggregateList
(BitKey compoundBitKey, StarPredicate compoundPredicate) Add compound member (formed via aggregate function) constraint to the Cell.AndPredicate.checkInList
(SqlQuery sqlQuery, BitKey inListLHSBitKey) ValueColumnPredicate.checkInList
(BitKey inListLHSBitKey) static int
AggregationKey.computeHashCode
(BitKey constrainedColumnsBitKey, RolapStar star, Collection<BitKey> compoundPredicateBitKeys) static AggStar
AggregationManager.findAgg
(RolapStar star, BitKey levelBitKey, BitKey measureBitKey, boolean[] rollup) Finds an aggregate table in the given star which has the desired levels and measures.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.void
AndPredicate.toInListSql
(SqlQuery sqlQuery, StringBuilder buf, BitKey inListRHSBitKey) Generate value list for this predicate to be used in an IN-list sql predicate.static Segment
SegmentBuilder.toSegment
(SegmentHeader header, RolapStar star, BitKey constrainedColumnsBitKey, RolapStar.Column[] constrainedColumns, RolapStar.Measure measure, List<StarPredicate> compoundPredicates) Creates a segment from a SegmentHeader.Modifier and TypeMethodDescriptionstatic int
AggregationKey.computeHashCode
(BitKey constrainedColumnsBitKey, RolapStar star, Collection<BitKey> compoundPredicateBitKeys) ModifierConstructorDescriptionGroupingSet
(List<Segment> segments, BitKey levelBitKey, BitKey measureBitKey, StarColumnPredicate[] predicates, RolapStar.Column[] columns) Creates a GroupingSet.Segment
(RolapStar star, BitKey constrainedColumnsBitKey, RolapStar.Column[] columns, RolapStar.Measure measure, StarColumnPredicate[] predicates, List<Segment.ExcludedRegion> excludedRegions, List<StarPredicate> compoundPredicateList) Creates aSegment
; it's not loaded yet. -
Uses of BitKey in mondrian.rolap.aggmatcher
Modifier and TypeMethodDescriptionAggStar.getBitKey()
Returns the BitKey.AggStar.getDistinctMeasureBitKey()
Returns a BitKey containing only distinct measures.AggStar.getForeignKeyBitKey()
AggStar.getLevelBitKey()
Get the foreign-key/level BitKey.AggStar.getMeasureBitKey()
Returns a BitKey of all measures.AggStar.FactTable.Measure.getRollableLevelBitKey()
Returns aBitKey
of the levels which can be safely rolled up.Modifier and TypeMethodDescriptionboolean
Return true if this AggStar's level BitKey equals thelevelBitKey
parameter and if this AggStar's measure BitKey is a super set (proper or not) of themeasureBitKey
parameter.boolean
AggStar.superSetMatch
(BitKey bitKey) Is this AggStar's BitKey a super set (proper or not) of the BitKey parameter. -
Uses of BitKey in mondrian.rolap.cache
Modifier and TypeMethodDescriptionSegmentCacheIndex.findRollupCandidates
(String schemaName, ByteString schemaChecksum, String cubeName, String measureName, String rolapStarFactTableName, BitKey constrainedColsBitKey, Map<String, Comparable> coordinates, List<String> compoundPredicates) Returns a list of segments that can be rolled up to satisfy a given cell request.SegmentCacheIndexImpl.findRollupCandidates
(String schemaName, ByteString schemaChecksum, String cubeName, String measureName, String rolapStarFactTableName, BitKey constrainedColsBitKey, Map<String, Comparable> coordinates, List<String> compoundPredicates) SegmentCacheIndex.locate
(String schemaName, ByteString schemaChecksum, String cubeName, String measureName, String rolapStarFactTableName, BitKey constrainedColsBitKey, Map<String, Comparable> coordinates, List<String> compoundPredicates) Identifies the segment headers that contain a given cell.SegmentCacheIndexImpl.locate
(String schemaName, ByteString schemaChecksum, String cubeName, String measureName, String rolapStarFactTableName, BitKey constrainedColsBitKey, Map<String, Comparable> coordinates, List<String> compoundPredicates) -
Uses of BitKey in mondrian.spi
ModifierConstructorDescriptionSegmentHeader
(String schemaName, ByteString schemaChecksum, String cubeName, String measureName, List<SegmentColumn> constrainedColumns, List<String> compoundPredicates, String rolapStarFactTableName, BitKey constrainedColsBitKey, List<SegmentColumn> excludedRegions) Creates a segment header.