mondrian.rolap
Class RolapNativeFilter

java.lang.Object
  extended by mondrian.rolap.RolapNative
      extended by mondrian.rolap.RolapNativeSet
          extended by mondrian.rolap.RolapNativeFilter

public class RolapNativeFilter
extends RolapNativeSet

Computes a Filter(set, condition) in SQL.

Since:
Nov 21, 2005
Author:
av
 

Nested Class Summary
(package private) static class RolapNativeFilter.FilterConstraint
           
 
Nested classes/interfaces inherited from class mondrian.rolap.RolapNativeSet
RolapNativeSet.CrossJoinArg, RolapNativeSet.DescendantsCrossJoinArg, RolapNativeSet.MemberListCrossJoinArg, RolapNativeSet.SchemaReaderWithMemberReaderAvailable, RolapNativeSet.SetConstraint, RolapNativeSet.SetEvaluator
 
Nested classes/interfaces inherited from class mondrian.rolap.RolapNative
RolapNative.Listener, RolapNative.NativeEvent, RolapNative.TupleEvent
 
Field Summary
 
Fields inherited from class mondrian.rolap.RolapNativeSet
LOGGER
 
Fields inherited from class mondrian.rolap.RolapNative
listener
 
Constructor Summary
RolapNativeFilter()
           
 
Method Summary
(package private)  NativeEvaluator createEvaluator(RolapEvaluator evaluator, FunDef fun, Exp[] args)
          If function can be implemented in SQL, returns a NativeEvaluator that computes the result; otherwise returns null.
protected  boolean restrictMemberTypes()
          Returns whether certain member types(e.g.
 
Methods inherited from class mondrian.rolap.RolapNativeSet
checkCrossJoin, checkCrossJoinArg, checkDescendants, checkEnumeration, checkLevelMembers, checkMemberChildren, isPreferInterpreter, isSimpleLevel, overrideContext, useHardCache
 
Methods inherited from class mondrian.rolap.RolapNative
getListener, isEnabled, setEnabled, setListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolapNativeFilter

public RolapNativeFilter()
Method Detail

restrictMemberTypes

protected boolean restrictMemberTypes()
Description copied from class: RolapNativeSet
Returns whether certain member types(e.g. calculated members) should disable native SQL evaluation for expressions containing them.

If true, expressions containing calculated members will be evaluated by the interpreter, instead of using SQL. If false, calc members will be ignored and the computation will be done in SQL, returning more members than requested.

Specified by:
restrictMemberTypes in class RolapNativeSet

createEvaluator

NativeEvaluator createEvaluator(RolapEvaluator evaluator,
                                FunDef fun,
                                Exp[] args)
Description copied from class: RolapNative
If function can be implemented in SQL, returns a NativeEvaluator that computes the result; otherwise returns null.

Specified by:
createEvaluator in class RolapNative

SourceForge.net_Logo