public abstract class RolapNativeSet extends RolapNative
TODO: the order of the result is different from the order of the enumeration. Should sort.
Modifier and Type | Class and Description |
---|---|
static interface |
RolapNativeSet.SchemaReaderWithMemberReaderAvailable |
protected static class |
RolapNativeSet.SetConstraint
Constraint for non empty {crossjoin, member.children,
member.descendants, level.members}
|
protected class |
RolapNativeSet.SetEvaluator |
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOGGER |
listener
Constructor and Description |
---|
RolapNativeSet() |
Modifier and Type | Method and Description |
---|---|
protected CrossJoinArgFactory |
crossJoinArgFactory() |
void |
flushCache() |
protected boolean |
isPreferInterpreter(CrossJoinArg[] args,
boolean joinArg)
Tests whether non-native evaluation is preferred for the
given arguments.
|
protected void |
overrideContext(RolapEvaluator evaluator,
CrossJoinArg[] cargs,
RolapStoredMeasure storedMeasure)
Overrides current members in position by default members in
hierarchies which are involved in this filter/topcount.
|
protected abstract boolean |
restrictMemberTypes()
Returns whether certain member types (e.g.
|
protected abstract boolean restrictMemberTypes()
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. This is ok, if the superflous members are filtered out in java code afterwards.
protected CrossJoinArgFactory crossJoinArgFactory()
protected boolean isPreferInterpreter(CrossJoinArg[] args, boolean joinArg)
joinArg
- true if evaluating a cross-join; false if
evaluating a single-input expression such as filterprotected void overrideContext(RolapEvaluator evaluator, CrossJoinArg[] cargs, RolapStoredMeasure storedMeasure)
The current context may contain a calculated measure, this measure was translated into an sql condition (filter/topcount). The measure is not used to constrain the result but only to access the star.
evaluator
- Evaluation context to modifycargs
- Cross join argumentsstoredMeasure
- Stored measureRolapAggregationManager.makeRequest(RolapEvaluator)
public void flushCache()
Copyright © 2020 Hitachi Vantara. All rights reserved.