Package mondrian.rolap
Class CompoundPredicateInfo
- java.lang.Object
-
- mondrian.rolap.CompoundPredicateInfo
-
public class CompoundPredicateInfo extends Object
Constructs a Pairbased on an tuple list and measure, along with the string representation of the predicate. Also sets the isSatisfiable flag based on whether a predicate is compatible with the measure. This logic was extracted from RolapAggregationManager and AggregationKey.
-
-
Constructor Summary
Constructors Constructor Description CompoundPredicateInfo(List<List<Member>> tupleList, RolapMeasure measure, Evaluator evaluator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BitKey
getBitKey()
RolapCube
getCube()
StarPredicate
getPredicate()
String
getPredicateString()
static String
getPredicateString(RolapStar star, StarPredicate predicate)
Returns a string representation of the predicateboolean
isSatisfiable()
-
-
-
Constructor Detail
-
CompoundPredicateInfo
public CompoundPredicateInfo(List<List<Member>> tupleList, RolapMeasure measure, Evaluator evaluator)
-
-
Method Detail
-
getPredicate
public StarPredicate getPredicate()
-
getBitKey
public BitKey getBitKey()
-
getPredicateString
public String getPredicateString()
-
isSatisfiable
public boolean isSatisfiable()
-
getCube
public RolapCube getCube()
-
getPredicateString
public static String getPredicateString(RolapStar star, StarPredicate predicate)
Returns a string representation of the predicate
-
-