public class RolapNativeRegistry extends RolapNative
RolapNative
s. Uses chain of responsibility
to select the appropriate RolapNative
evaluator.RolapNative.Listener, RolapNative.NativeEvent, RolapNative.TupleEvent
listener
Constructor and Description |
---|
RolapNativeRegistry() |
Modifier and Type | Method and Description |
---|---|
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. |
(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
|
getListener, isEnabled, setEnabled
public NativeEvaluator createEvaluator(RolapEvaluator evaluator, FunDef fun, Exp[] args)
fun
can not
be executed in SQL for the given context and arguments.createEvaluator
in class RolapNative
public void register(String funName, RolapNative rn)
void setListener(RolapNative.Listener listener)
setListener
in class RolapNative
void useHardCache(boolean hard)
useHardCache
in class RolapNative
void flushAllNativeSetCache()