mondrian.rolap.agg
Class AggregationKey

java.lang.Object
  extended by mondrian.rolap.agg.AggregationKey

public class AggregationKey
extends java.lang.Object

Column context that an Aggregation is computed for.

Column context has two components:

Any column is only used in either column context or compound context, not both.

Version:
$Id: //open/mondrian/src/main/mondrian/rolap/agg/AggregationKey.java#5 $
Author:
Rushan Chen

Constructor Summary
AggregationKey(CellRequest request)
          Creates an AggregationKey.
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.List<StarPredicate> getCompoundPredicateList()
          Returns the list of compound predicates.
 BitKey getConstrainedColumnsBitKey()
          Returns the bitkey of columns that constrain this aggregation.
 RolapStar getStar()
          Returns the star.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggregationKey

public AggregationKey(CellRequest request)
Creates an AggregationKey.

Parameters:
request - Cell request
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getConstrainedColumnsBitKey

public final BitKey getConstrainedColumnsBitKey()
Returns the bitkey of columns that constrain this aggregation.

Returns:
Bitkey of contraining columns

getStar

public final RolapStar getStar()
Returns the star.

Returns:
Star

getCompoundPredicateList

public java.util.List<StarPredicate> getCompoundPredicateList()
Returns the list of compound predicates.

Returns:
list of predicates

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads