Uses of Interface
mondrian.rolap.BitKey
-
Packages that use BitKey Package Description mondrian.rolap Implements the data access layer for the olap package.mondrian.rolap.agg Manages a cache of aggregates containing cell values.mondrian.rolap.aggmatcher Defines a 'matcher' which scans the schema to find candidate aggregate tables.mondrian.rolap.cache Provides primitives for policy-based caching.mondrian.spi Contains the server-provider interfaces (SPIs) which user-defined extensions to Mondrian should implement. -
-
Uses of BitKey in mondrian.rolap
Classes in mondrian.rolap that implement BitKey Modifier and Type Class Description static class
BitKey.AbstractBitKey
Abstract implementation ofBitKey
.static class
BitKey.Big
Implementation ofBitKey
with more than 64 bits.static class
BitKey.Mid128
Implementation ofBitKey
good for sizes less than 128.static class
BitKey.Small
Implementation ofBitKey
for bit counts less than 64.Fields in mondrian.rolap declared as BitKey Modifier and Type Field Description static BitKey
BitKey. EMPTY
The BitKey with no bits set.Methods in mondrian.rolap that return BitKey Modifier and Type Method Description BitKey
BitKey. and(BitKey bitKey)
Returns the boolean AND of this bitkey and the given bitkey.BitKey
BitKey.Big. and(BitKey bitKey)
BitKey
BitKey.Mid128. and(BitKey bitKey)
BitKey
BitKey.Small. and(BitKey bitKey)
BitKey
BitKey. andNot(BitKey bitKey)
Returns aBitKey
containing all of the bits in thisBitSet
whose corresponding bit is NOT set in the specifiedBitSet
.BitKey
BitKey.Big. andNot(BitKey bitKey)
BitKey
BitKey.Mid128. andNot(BitKey bitKey)
BitKey
BitKey.Small. andNot(BitKey bitKey)
BitKey
BitKey.Big. copy()
BitKey
BitKey. copy()
Returns a copy of this BitKey.BitKey
BitKey.Mid128. copy()
BitKey
BitKey.Small. copy()
BitKey
BitKey.Big. emptyCopy()
BitKey
BitKey. emptyCopy()
Returns an empty BitKey of the same type.BitKey
BitKey.Mid128. emptyCopy()
BitKey
BitKey.Small. emptyCopy()
BitKey
CompoundPredicateInfo. getBitKey()
BitKey
RolapStar. getBitKey(String[] tableAlias, String[] columnName)
BitKey
StarPredicate. getConstrainedColumnBitKey()
Returns a bitmap of constrained columns to speed up comparisonBitKey
RolapCacheRegion. 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)
BitKey
BitKey.Big. or(BitKey bitKey)
BitKey
BitKey.Mid128. or(BitKey bitKey)
BitKey
BitKey. or(BitKey bitKey)
Or the parameterBitKey
withthis
.BitKey
BitKey.Small. or(BitKey bitKey)
BitKey
BitKey.Big. orNot(BitKey bitKey)
BitKey
BitKey.Mid128. orNot(BitKey bitKey)
BitKey
BitKey. orNot(BitKey bitKey)
XOr the parameterBitKey
withthis
.BitKey
BitKey.Small. orNot(BitKey bitKey)
Methods in mondrian.rolap with parameters of type BitKey Modifier and Type Method Description BitKey
BitKey. and(BitKey bitKey)
Returns the boolean AND of this bitkey and the given bitkey.BitKey
BitKey.Big. and(BitKey bitKey)
BitKey
BitKey.Mid128. and(BitKey bitKey)
BitKey
BitKey.Small. and(BitKey bitKey)
BitKey
BitKey. andNot(BitKey bitKey)
Returns aBitKey
containing all of the bits in thisBitSet
whose corresponding bit is NOT set in the specifiedBitSet
.BitKey
BitKey.Big. andNot(BitKey bitKey)
BitKey
BitKey.Mid128. andNot(BitKey bitKey)
BitKey
BitKey.Small. andNot(BitKey bitKey)
int
BitKey.Big. compareTo(BitKey bitKey)
int
BitKey.Mid128. compareTo(BitKey bitKey)
int
BitKey.Small. compareTo(BitKey bitKey)
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)
BitKey
BitKey.Big. or(BitKey bitKey)
BitKey
BitKey.Mid128. or(BitKey bitKey)
BitKey
BitKey. or(BitKey bitKey)
Or the parameterBitKey
withthis
.BitKey
BitKey.Small. or(BitKey bitKey)
BitKey
BitKey.Big. orNot(BitKey bitKey)
BitKey
BitKey.Mid128. orNot(BitKey bitKey)
BitKey
BitKey. orNot(BitKey bitKey)
XOr the parameterBitKey
withthis
.BitKey
BitKey.Small. orNot(BitKey bitKey)
-
Uses of BitKey in mondrian.rolap.agg
Fields in mondrian.rolap.agg declared as BitKey Modifier and Type Field Description protected BitKey
Segment. constrainedColumnsBitKey
Methods in mondrian.rolap.agg that return BitKey Modifier and Type Method Description BitKey
AndPredicate. checkInList(SqlQuery sqlQuery, BitKey inListLHSBitKey)
BitKey
ValueColumnPredicate. checkInList(BitKey inListLHSBitKey)
BitKey
AbstractColumnPredicate. getConstrainedColumnBitKey()
BitKey
ListPredicate. getConstrainedColumnBitKey()
BitKey
MemberTuplePredicate. getConstrainedColumnBitKey()
BitKey
Aggregation. getConstrainedColumnsBitKey()
Returns the BitKey for ALL columns (Measures and Levels) involved in the query.BitKey
AggregationKey. getConstrainedColumnsBitKey()
Returns the bitkey of columns that constrain this aggregation.BitKey
CellRequest. getConstrainedColumnsBitKey()
Returns the BitKey for the list of columns.BitKey
Segment. getConstrainedColumnsBitKey()
Returns the BitKey for ALL columns (Measures and Levels) involved in the query.BitKey
GroupingSet. getLevelBitKey()
BitKey
GroupingSet. getMeasureBitKey()
Methods in mondrian.rolap.agg with parameters of type BitKey Modifier and Type Method Description void
CellRequest. addAggregateList(BitKey compoundBitKey, StarPredicate compoundPredicate)
Add compound member (formed via aggregate function) constraint to the Cell.BitKey
AndPredicate. checkInList(SqlQuery sqlQuery, BitKey inListLHSBitKey)
BitKey
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.Method parameters in mondrian.rolap.agg with type arguments of type BitKey Modifier and Type Method Description static int
AggregationKey. computeHashCode(BitKey constrainedColumnsBitKey, RolapStar star, Collection<BitKey> compoundPredicateBitKeys)
Constructors in mondrian.rolap.agg with parameters of type BitKey Constructor Description GroupingSet(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
Methods in mondrian.rolap.aggmatcher that return BitKey Modifier and Type Method Description BitKey
AggStar. getBitKey()
Returns the BitKey.BitKey
AggStar. getDistinctMeasureBitKey()
Returns a BitKey containing only distinct measures.BitKey
AggStar. getForeignKeyBitKey()
BitKey
AggStar. getLevelBitKey()
Get the foreign-key/level BitKey.BitKey
AggStar. getMeasureBitKey()
Returns a BitKey of all measures.BitKey
AggStar.FactTable.Measure. getRollableLevelBitKey()
Returns aBitKey
of the levels which can be safely rolled up.Methods in mondrian.rolap.aggmatcher with parameters of type BitKey Modifier and Type Method Description boolean
AggStar. select(BitKey levelBitKey, BitKey coreLevelBitKey, BitKey measureBitKey)
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
Methods in mondrian.rolap.cache with parameters of type BitKey Modifier and Type Method Description List<List<SegmentHeader>>
SegmentCacheIndex. 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.List<List<SegmentHeader>>
SegmentCacheIndexImpl. findRollupCandidates(String schemaName, ByteString schemaChecksum, String cubeName, String measureName, String rolapStarFactTableName, BitKey constrainedColsBitKey, Map<String,Comparable> coordinates, List<String> compoundPredicates)
List<SegmentHeader>
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.List<SegmentHeader>
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
Fields in mondrian.spi declared as BitKey Modifier and Type Field Description BitKey
SegmentHeader. constrainedColsBitKey
Methods in mondrian.spi that return BitKey Modifier and Type Method Description BitKey
SegmentHeader. getConstrainedColumnsBitKey()
Constructors in mondrian.spi with parameters of type BitKey Constructor Description SegmentHeader(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.
-