Package mondrian.rolap
Class RolapNativeRegistry
- java.lang.Object
-
- mondrian.rolap.RolapNative
-
- mondrian.rolap.RolapNativeRegistry
-
public class RolapNativeRegistry extends RolapNative
Composite ofRolapNative
s. Uses chain of responsibility to select the appropriateRolapNative
evaluator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mondrian.rolap.RolapNative
RolapNative.Listener, RolapNative.NativeEvent, RolapNative.TupleEvent
-
-
Field Summary
-
Fields inherited from class mondrian.rolap.RolapNative
listener
-
-
Constructor Summary
Constructors Constructor Description RolapNativeRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NativeEvaluator
createEvaluator(RolapEvaluator evaluator, FunDef fun, Exp[] args)
Returns the matching NativeEvaluator or null iffun
can not be executed in SQL for the given context and arguments.(package private) void
flushAllNativeSetCache()
void
register(String funName, RolapNative rn)
(package private) void
setListener(RolapNative.Listener listener)
for testing(package private) void
useHardCache(boolean hard)
for testing-
Methods inherited from class mondrian.rolap.RolapNative
getListener, isEnabled, setEnabled
-
-
-
-
Method Detail
-
createEvaluator
public NativeEvaluator createEvaluator(RolapEvaluator evaluator, FunDef fun, Exp[] args)
Returns the matching NativeEvaluator or null iffun
can not be executed in SQL for the given context and arguments.- Specified by:
createEvaluator
in classRolapNative
-
register
public void register(String funName, RolapNative rn)
-
setListener
void setListener(RolapNative.Listener listener)
for testing- Overrides:
setListener
in classRolapNative
-
useHardCache
void useHardCache(boolean hard)
for testing- Specified by:
useHardCache
in classRolapNative
-
flushAllNativeSetCache
void flushAllNativeSetCache()
-
-