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.
|
Modifier and Type | Class and Description |
---|---|
static class |
BitKey.AbstractBitKey
Abstract implementation of
BitKey . |
static class |
BitKey.Big
Implementation of
BitKey with more than 64 bits. |
static class |
BitKey.Mid128
Implementation of
BitKey good for sizes less than 128. |
static class |
BitKey.Small
Implementation of
BitKey for bit counts less than 64. |
Modifier and Type | Field and Description |
---|---|
static BitKey |
BitKey.EMPTY
The BitKey with no bits set.
|
Modifier and Type | Method and Description |
---|---|
BitKey |
BitKey.and(BitKey bitKey)
Returns the boolean AND of this bitkey and the given bitkey.
|
BitKey |
BitKey.Small.and(BitKey bitKey) |
BitKey |
BitKey.Mid128.and(BitKey bitKey) |
BitKey |
BitKey.Big.and(BitKey bitKey) |
BitKey |
BitKey.andNot(BitKey bitKey)
Returns a
BitKey containing all of the bits in this
BitSet whose corresponding
bit is NOT set in the specified BitSet . |
BitKey |
BitKey.Small.andNot(BitKey bitKey) |
BitKey |
BitKey.Mid128.andNot(BitKey bitKey) |
BitKey |
BitKey.Big.andNot(BitKey bitKey) |
BitKey |
BitKey.copy()
Returns a copy of this BitKey.
|
BitKey |
BitKey.Small.copy() |
BitKey |
BitKey.Mid128.copy() |
BitKey |
BitKey.Big.copy() |
BitKey |
BitKey.emptyCopy()
Returns an empty BitKey of the same type.
|
BitKey |
BitKey.Small.emptyCopy() |
BitKey |
BitKey.Mid128.emptyCopy() |
BitKey |
BitKey.Big.emptyCopy() |
BitKey |
CompoundPredicateInfo.getBitKey() |
BitKey |
RolapStar.getBitKey(String[] tableAlias,
String[] columnName) |
BitKey |
StarPredicate.getConstrainedColumnBitKey()
Returns a bitmap of constrained columns to speed up comparison
|
BitKey |
RolapCacheRegion.getConstrainedColumnsBitKey() |
static BitKey |
BitKey.Factory.makeBitKey(BitSet bitSet)
|
static BitKey |
BitKey.Factory.makeBitKey(int size)
Creates a
BitKey with a capacity for a given number of bits. |
static BitKey |
BitKey.Factory.makeBitKey(int size,
boolean init)
Creates a
BitKey with a capacity for a given number of bits. |
BitKey |
BitKey.or(BitKey bitKey)
Or the parameter
BitKey with this . |
BitKey |
BitKey.Small.or(BitKey bitKey) |
BitKey |
BitKey.Mid128.or(BitKey bitKey) |
BitKey |
BitKey.Big.or(BitKey bitKey) |
BitKey |
BitKey.orNot(BitKey bitKey)
XOr the parameter
BitKey with this . |
BitKey |
BitKey.Small.orNot(BitKey bitKey) |
BitKey |
BitKey.Mid128.orNot(BitKey bitKey) |
BitKey |
BitKey.Big.orNot(BitKey bitKey) |
Modifier and Type | Method and Description |
---|---|
BitKey |
BitKey.and(BitKey bitKey)
Returns the boolean AND of this bitkey and the given bitkey.
|
BitKey |
BitKey.Small.and(BitKey bitKey) |
BitKey |
BitKey.Mid128.and(BitKey bitKey) |
BitKey |
BitKey.Big.and(BitKey bitKey) |
BitKey |
BitKey.andNot(BitKey bitKey)
Returns a
BitKey containing all of the bits in this
BitSet whose corresponding
bit is NOT set in the specified BitSet . |
BitKey |
BitKey.Small.andNot(BitKey bitKey) |
BitKey |
BitKey.Mid128.andNot(BitKey bitKey) |
BitKey |
BitKey.Big.andNot(BitKey bitKey) |
int |
BitKey.Small.compareTo(BitKey bitKey) |
int |
BitKey.Mid128.compareTo(BitKey bitKey) |
int |
BitKey.Big.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.intersects(BitKey bitKey)
Returns whether this BitKey has any bits in common with a given BitKey.
|
boolean |
BitKey.Small.intersects(BitKey bitKey) |
boolean |
BitKey.Mid128.intersects(BitKey bitKey) |
boolean |
BitKey.Big.intersects(BitKey bitKey) |
boolean |
BitKey.isSuperSetOf(BitKey bitKey)
Is every bit set in the parameter
bitKey also set in
this . |
boolean |
BitKey.Small.isSuperSetOf(BitKey bitKey) |
boolean |
BitKey.Mid128.isSuperSetOf(BitKey bitKey) |
boolean |
BitKey.Big.isSuperSetOf(BitKey bitKey) |
BitKey |
BitKey.or(BitKey bitKey)
Or the parameter
BitKey with this . |
BitKey |
BitKey.Small.or(BitKey bitKey) |
BitKey |
BitKey.Mid128.or(BitKey bitKey) |
BitKey |
BitKey.Big.or(BitKey bitKey) |
BitKey |
BitKey.orNot(BitKey bitKey)
XOr the parameter
BitKey with this . |
BitKey |
BitKey.Small.orNot(BitKey bitKey) |
BitKey |
BitKey.Mid128.orNot(BitKey bitKey) |
BitKey |
BitKey.Big.orNot(BitKey bitKey) |
Modifier and Type | Field and Description |
---|---|
protected BitKey |
Segment.constrainedColumnsBitKey |
Modifier and Type | Method and Description |
---|---|
BitKey |
ValueColumnPredicate.checkInList(BitKey inListLHSBitKey) |
BitKey |
AndPredicate.checkInList(SqlQuery sqlQuery,
BitKey inListLHSBitKey) |
BitKey |
ListPredicate.getConstrainedColumnBitKey() |
BitKey |
AbstractColumnPredicate.getConstrainedColumnBitKey() |
BitKey |
MemberTuplePredicate.getConstrainedColumnBitKey() |
BitKey |
Segment.getConstrainedColumnsBitKey()
Returns the BitKey for ALL columns (Measures and Levels) involved in the
query.
|
BitKey |
CellRequest.getConstrainedColumnsBitKey()
Returns the BitKey for the list of columns.
|
BitKey |
AggregationKey.getConstrainedColumnsBitKey()
Returns the bitkey of columns that constrain this aggregation.
|
BitKey |
Aggregation.getConstrainedColumnsBitKey()
Returns the BitKey for ALL columns (Measures and Levels) involved in the
query.
|
BitKey |
GroupingSet.getLevelBitKey() |
BitKey |
GroupingSet.getMeasureBitKey() |
Modifier and Type | Method and Description |
---|---|
void |
CellRequest.addAggregateList(BitKey compoundBitKey,
StarPredicate compoundPredicate)
Add compound member (formed via aggregate function) constraint to the
Cell.
|
BitKey |
ValueColumnPredicate.checkInList(BitKey inListLHSBitKey) |
BitKey |
AndPredicate.checkInList(SqlQuery sqlQuery,
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 Type | Method and Description |
---|---|
static int |
AggregationKey.computeHashCode(BitKey constrainedColumnsBitKey,
RolapStar star,
Collection<BitKey> compoundPredicateBitKeys) |
Constructor and 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 a
Segment ; it's not loaded yet. |
Modifier and Type | Method and 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 a
BitKey of the levels which can be
safely rolled up. |
Modifier and Type | Method and Description |
---|---|
boolean |
AggStar.select(BitKey levelBitKey,
BitKey coreLevelBitKey,
BitKey measureBitKey)
Return true if this AggStar's level BitKey equals the
levelBitKey parameter
and if this AggStar's measure BitKey is a super set
(proper or not) of the measureBitKey parameter. |
boolean |
AggStar.superSetMatch(BitKey bitKey)
Is this AggStar's BitKey a super set (proper or not) of the BitKey
parameter.
|
Modifier and Type | Method and Description |
---|---|
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<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<SegmentHeader> |
SegmentCacheIndexImpl.locate(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.
|
Modifier and Type | Field and Description |
---|---|
BitKey |
SegmentHeader.constrainedColsBitKey |
Modifier and Type | Method and Description |
---|---|
BitKey |
SegmentHeader.getConstrainedColumnsBitKey() |
Constructor and 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.
|
Copyright © 2020 Hitachi Vantara. All rights reserved.