Package mondrian.rolap.agg
Class AggregationKey
java.lang.Object
mondrian.rolap.agg.AggregationKey
Column context that an Aggregation is computed for.
Column context has two components:
- The column constraints which define the dimentionality of an Aggregation
- An orthogonal context for which the measures are defined. This context
is sometimes referred to as the compound member predicates, and usually of
the shape:
OR(AND(column predicates))
Any column is only used in either column context or compound context, not both.
- Author:
- Rushan Chen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
static int
computeHashCode
(BitKey constrainedColumnsBitKey, RolapStar star, Collection<BitKey> compoundPredicateBitKeys) boolean
Returns the list of compound predicates.final BitKey
Returns the bitkey of columns that constrain this aggregation.final RolapStar
getStar()
Returns the star.int
hashCode()
toString()
-
Constructor Details
-
AggregationKey
Creates an AggregationKey.- Parameters:
request
- Cell request
-
-
Method Details
-
computeHashCode
public final int computeHashCode() -
computeHashCode
public static int computeHashCode(BitKey constrainedColumnsBitKey, RolapStar star, Collection<BitKey> compoundPredicateBitKeys) -
hashCode
public int hashCode() -
equals
-
toString
-
getConstrainedColumnsBitKey
Returns the bitkey of columns that constrain this aggregation.- Returns:
- Bitkey of contraining columns
-
getStar
Returns the star.- Returns:
- Star
-
getCompoundPredicateList
Returns the list of compound predicates.- Returns:
- list of predicates
-