Package mondrian.rolap
Class RolapNativeRegistry
- java.lang.Object
-
- mondrian.rolap.RolapNative
-
- mondrian.rolap.RolapNativeRegistry
-
public class RolapNativeRegistry extends RolapNative
Composite ofRolapNatives. Uses chain of responsibility to select the appropriateRolapNativeevaluator.
-
-
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 NativeEvaluatorcreateEvaluator(RolapEvaluator evaluator, FunDef fun, Exp[] args)Returns the matching NativeEvaluator or null iffuncan not be executed in SQL for the given context and arguments.(package private) voidflushAllNativeSetCache()voidregister(String funName, RolapNative rn)(package private) voidsetListener(RolapNative.Listener listener)for testing(package private) voiduseHardCache(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 iffuncan not be executed in SQL for the given context and arguments.- Specified by:
createEvaluatorin classRolapNative
-
register
public void register(String funName, RolapNative rn)
-
setListener
void setListener(RolapNative.Listener listener)
for testing- Overrides:
setListenerin classRolapNative
-
useHardCache
void useHardCache(boolean hard)
for testing- Specified by:
useHardCachein classRolapNative
-
flushAllNativeSetCache
void flushAllNativeSetCache()
-
-