mondrian.rolap
Class RolapNativeRegistry
java.lang.Object
mondrian.rolap.RolapNative
mondrian.rolap.RolapNativeRegistry
public class RolapNativeRegistry
- extends RolapNative
Composite of RolapNative
s. Uses chain of responsibility
to select the appropriate RolapNative
evaluator.
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RolapNativeRegistry
public RolapNativeRegistry()
createEvaluator
public NativeEvaluator createEvaluator(RolapEvaluator evaluator,
FunDef fun,
Exp[] args)
- Returns the matching NativeEvaluator or null if
fun
can not
be executed in SQL for the given context and arguments.
- Specified by:
createEvaluator
in class RolapNative
register
public void register(String funName,
RolapNative rn)
setListener
void setListener(RolapNative.Listener listener)
- for testing
- Overrides:
setListener
in class RolapNative
useHardCache
void useHardCache(boolean hard)
- for testing
- Specified by:
useHardCache
in class RolapNative