mondrian.rolap.agg
Class AggregationKey

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

public class AggregationKey
extends Object

This class defines the 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
AggregationKey(CellRequest request)
           
 
Method Summary
 boolean equals(Object other)
           
 List<StarPredicate> getCompoundPredicateList()
          Get the set of compound predicates
 BitKey getConstrainedColumnsBitKey()
           
 RolapStar getStar()
           
 int hashCode()
           
 boolean hasSameCompoundPredicate(AggregationKey otherKey)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggregationKey

public AggregationKey(CellRequest request)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasSameCompoundPredicate

public boolean hasSameCompoundPredicate(AggregationKey otherKey)

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getConstrainedColumnsBitKey

public BitKey getConstrainedColumnsBitKey()

getStar

public RolapStar getStar()

getCompoundPredicateList

public List<StarPredicate> getCompoundPredicateList()
Get the set of compound predicates

Returns:
list of predicates

SourceForge.net_Logo