Package mondrian.olap.fun
Interface Resolver.Conversion
-
- Enclosing interface:
- Resolver
public static interface Resolver.Conversion
Description of an implicit conversion that occurred while resolving an operator call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(Validator validator, List<Exp> args)
Applies this conversion to its argument, modifying the argument list in place.void
checkValid()
Checks the viability of implicit conversions.int
getCost()
Returns the cost of the conversion.
-
-
-
Method Detail
-
getCost
int getCost()
Returns the cost of the conversion. If there are several matching overloads, the one with the lowest overall cost will be preferred.- Returns:
- Cost of conversion
-
checkValid
void checkValid()
Checks the viability of implicit conversions. Converting from a dimension to a hierarchy is valid if is only one hierarchy.
-
-