Class RolapNativeFilter.FilterConstraint

    • Field Detail

      • filterExpr

        Exp filterExpr
    • Method Detail

      • isJoinRequired

        protected boolean isJoinRequired()
        Returns whether a join with the fact table is required. A join is required if the context contains members from dimensions other than level. If we are interested in the members of a level or a members children then it does not make sense to join only one dimension (the one that contains the requested members) with the fact table for NON EMPTY optimization.

        If there is a crossjoin, we need to join the fact table - even if the evaluator context is empty.

        Overriding isJoinRequired() for native filters because we have to force a join to the fact table if the filter expression references a measure.

        Overrides:
        isJoinRequired in class RolapNativeSet.SetConstraint