Uses of Interface
mondrian.rolap.BitKey
Packages that use 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
Classes in mondrian.rolap that implement BitKeyModifier and TypeClassDescriptionstatic classAbstract implementation ofBitKey.static classImplementation ofBitKeywith more than 64 bits.static classImplementation ofBitKeygood for sizes less than 128.static classImplementation ofBitKeyfor bit counts less than 64.Fields in mondrian.rolap declared as BitKeyMethods in mondrian.rolap that return BitKeyModifier and TypeMethodDescriptionReturns the boolean AND of this bitkey and the given bitkey.Returns aBitKeycontaining all of the bits in thisBitSetwhose 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 BitKeyBitKey.Factory.makeBitKey(int size) Creates aBitKeywith a capacity for a given number of bits.static BitKeyBitKey.Factory.makeBitKey(int size, boolean init) Creates aBitKeywith a capacity for a given number of bits.static BitKeyBitKey.Factory.makeBitKey(BitSet bitSet) Or the parameterBitKeywiththis.XOr the parameterBitKeywiththis.Methods in mondrian.rolap with parameters of type BitKeyModifier and TypeMethodDescriptionReturns the boolean AND of this bitkey and the given bitkey.Returns aBitKeycontaining all of the bits in thisBitSetwhose corresponding bit is NOT set in the specifiedBitSet.intintintstatic voidRolapUtil.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 IllegalArgumentExceptionBitKey.AbstractBitKey.createException(BitKey bitKey) booleanBitKey.Big.intersects(BitKey bitKey) booleanBitKey.intersects(BitKey bitKey) Returns whether this BitKey has any bits in common with a given BitKey.booleanBitKey.Mid128.intersects(BitKey bitKey) booleanBitKey.Small.intersects(BitKey bitKey) booleanBitKey.Big.isSuperSetOf(BitKey bitKey) booleanBitKey.isSuperSetOf(BitKey bitKey) Is every bit set in the parameterbitKeyalso set inthis.booleanBitKey.Mid128.isSuperSetOf(BitKey bitKey) booleanBitKey.Small.isSuperSetOf(BitKey bitKey) Or the parameterBitKeywiththis.XOr the parameterBitKeywiththis. -
Uses of BitKey in mondrian.rolap.agg
Fields in mondrian.rolap.agg declared as BitKeyMethods in mondrian.rolap.agg that return BitKeyModifier 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 BitKeyAggregationKey.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()Methods in mondrian.rolap.agg with parameters of type BitKeyModifier and TypeMethodDescriptionvoidCellRequest.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 intAggregationKey.computeHashCode(BitKey constrainedColumnsBitKey, RolapStar star, Collection<BitKey> compoundPredicateBitKeys) static AggStarAggregationManager.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.voidAndPredicate.toInListSql(SqlQuery sqlQuery, StringBuilder buf, BitKey inListRHSBitKey) Generate value list for this predicate to be used in an IN-list sql predicate.static SegmentSegmentBuilder.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 BitKeyModifier and TypeMethodDescriptionstatic intAggregationKey.computeHashCode(BitKey constrainedColumnsBitKey, RolapStar star, Collection<BitKey> compoundPredicateBitKeys) Constructors in mondrian.rolap.agg with parameters of type BitKeyModifierConstructorDescriptionGroupingSet(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 BitKeyModifier 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 aBitKeyof the levels which can be safely rolled up.Methods in mondrian.rolap.aggmatcher with parameters of type BitKeyModifier and TypeMethodDescriptionbooleanReturn true if this AggStar's level BitKey equals thelevelBitKeyparameter and if this AggStar's measure BitKey is a super set (proper or not) of themeasureBitKeyparameter.booleanAggStar.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 BitKeyModifier 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
Fields in mondrian.spi declared as BitKeyMethods in mondrian.spi that return BitKeyConstructors in mondrian.spi with parameters of type BitKeyModifierConstructorDescriptionSegmentHeader(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.