|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.business.step.olap.DataItemTimeFilter
public abstract class DataItemTimeFilter
A step that filters a data item based on time members and time function arguments submitted. It is the superclass for all time-based filtering operations.
StepFilterInterface
,
BaseFilter
Field Summary | |
---|---|
static java.lang.String |
BACKWARD
Search direction that is going backward in time. |
static java.lang.String |
EVENT_NPERIODS_CHANGED
Deprecated. use EVENT_PERIODS_CHANGED |
static java.lang.String |
EVENT_PERIODS_CHANGED
Indicates a change in number of periods |
static java.lang.String |
EVENT_SEARCH_DIRECTION_CHANGED
Indicates a change in search direction |
static java.lang.String |
FORWARD
Search direction that is going forward in time |
Fields inherited from class com.sas.iquery.metadata.business.step.olap.BaseFilter |
---|
EVENT_ACTION_TYPE_CHANGED, EVENT_LOCALIZABLE_LABELS_CHANGED |
Fields inherited from interface com.sas.iquery.metadata.business.step.StepFilterInterface |
---|
APPEND_ACTION_TYPE, DIFFERENCE_ACTION_TYPE, INITIAL_ACTION_TYPE, INSERT_ACTION_TYPE, INTERSECT_ACTION_TYPE, PREPEND_ACTION_TYPE, SPECIAL_ACTION_TYPE, UNION_ACTION_TYPE |
Fields inherited from interface com.sas.iquery.metadata.business.Base |
---|
EVENT_OBJECT_DEFINITION_CHANGED |
Fields inherited from interface com.sas.iquery.metadata.business.ModelItem |
---|
EVENT_OBJECT_PROPERTY_CHANGED |
Constructor Summary | |
---|---|
DataItemTimeFilter()
|
Method Summary | |
---|---|
int |
getnPeriods()
Deprecated. use getPeriods |
ExpressionInterface |
getPeriods()
Get number of periods |
java.lang.String |
getSearchDirection()
Get search direction |
void |
setnPeriods(int nPeriods)
Deprecated. use setPeriods |
void |
setSearchDirection(java.lang.String searchDirection)
Set which direction to retrieve members |
Methods inherited from class com.sas.iquery.metadata.business.step.olap.BaseFilter |
---|
getActionType, getDisplayedText, getLevels, setActionType |
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 |
---|
public static final java.lang.String EVENT_SEARCH_DIRECTION_CHANGED
public static final java.lang.String EVENT_PERIODS_CHANGED
public static final java.lang.String EVENT_NPERIODS_CHANGED
public static final java.lang.String FORWARD
public static final java.lang.String BACKWARD
Constructor Detail |
---|
public DataItemTimeFilter()
Method Detail |
---|
public void setnPeriods(int nPeriods)
nPeriods
- number of periods being return in query.public void setSearchDirection(java.lang.String searchDirection) throws java.lang.IllegalArgumentException
searchDirection
- set path of processing - either BACKWARD or FORWARD in time
java.lang.IllegalArgumentException
public int getnPeriods()
public ExpressionInterface getPeriods()
public java.lang.String getSearchDirection()
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |