|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StepFilterInterface
Provides modeling for steps that filter data. A filtering step defines a set of members that are associated with a given step. The relationship between a filter and the current step is defined by the action type, which defines how the new set of members should be incorporated with the existing set of members. For example, the members might replace the existing set of members or they might be added to whatever is already there.
StepInterface
Field Summary | |
---|---|
static int |
APPEND_ACTION_TYPE
The members defined in this step are appended to the members of the previous step. |
static int |
DIFFERENCE_ACTION_TYPE
The members defined in this step are removed from the set of members defined in the previous step. |
static int |
INITIAL_ACTION_TYPE
This step represents the initial set of members or an operation that is meant to completely replace the pre-existing state of the DataItem (eg DrillDown). |
static int |
INSERT_ACTION_TYPE
The members defined in this step are inserted in the set of members defined in the previous step. |
static int |
INTERSECT_ACTION_TYPE
The members defined by the intersection of this step and the outcome of previous steps. |
static int |
PREPEND_ACTION_TYPE
The members defined in this step are prepended to the members of the previous step. |
static int |
SPECIAL_ACTION_TYPE
This action type is used specifically for expand and collapse |
static int |
UNION_ACTION_TYPE
The members defined by the union of this step and the outcome of previous steps. |
Fields inherited from interface com.sas.iquery.metadata.business.Base |
---|
EVENT_OBJECT_DEFINITION_CHANGED |
Method Summary | |
---|---|
int |
getActionType()
This method returns the action to be performed by this filter step. |
java.lang.String |
getLabel()
Returns a label for this step. |
void |
setActionType(int actionType)
This method defines the action to be performed by this filter step. |
void |
setLabel(java.lang.String label)
Set a label for this step. |
Methods inherited from interface com.sas.iquery.metadata.business.BusinessModelResourceReferencer |
---|
getResources |
Methods inherited from interface com.sas.iquery.metadata.PropertyChangeListenee |
---|
addListener, getListeners, removeListener |
Methods inherited from interface com.sas.iquery.metadata.business.UsabilityInterface |
---|
getReasonsUnusable, isUsableInQuery |
Field Detail |
---|
static final int INITIAL_ACTION_TYPE
Examples of how MDX for step is applied using action type.
Example 1:
Step 1: Navigation - drill down - generates MDX string of [CARS].[CAR].[CHILDREN] where initial MDX expression enters step. MDX generated from navigation step will enter as current expression for second step.
Step 2: Rank - top percent - generates TopPercent([CARS].[CAR].[CHILDREN]) where MDX uses expression from step 1 to complete.
Example 2:
Step 1: Rank - top percent - generates TopPercent([CARS].[CAR].Members) where MDX is using the initial MDX expression to complete MDX.
Step 2: Navigation - drill down generates MDX string of [CARS].[CAR].[CHILDREN] where MDX generated from navigation overrides any MDX generated in step 1
Example 3:
Step 1: Filter - filter based on data base range - generate ([CARS].[CAR].[Ford]: [CARS].[CAR].[Toyota]) where initial MDX enters this step. MDX generated from filter step will enter as current expression for second step.
Step 2: Rank top percent - generates TopPercent([CARS].[CAR].[Ford]: [CARS].[CAR].[Toyota]) where MDX uses expression from step to complete.
Example 4:
Step 1: Rank - top percent - generates TopPercent([CARS].[CAR].Members) where MDX is using the initial MDX expression to complete MDX.
Step 2: Filter -filter based on data base range - generate ([CARS].[CAR].[Ford]: [CARS].[CAR].[Toyota]) where MDX generated from filter overrides any MDX generated in step 1
static final int APPEND_ACTION_TYPE
static final int PREPEND_ACTION_TYPE
static final int INSERT_ACTION_TYPE
static final int DIFFERENCE_ACTION_TYPE
static final int INTERSECT_ACTION_TYPE
static final int SPECIAL_ACTION_TYPE
static final int UNION_ACTION_TYPE
Method Detail |
---|
void setActionType(int actionType)
actionType
- The action to be performedint getActionType()
java.lang.String getLabel()
void setLabel(java.lang.String label)
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |