|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.execution2.IQOlapAppliedFilter
@Immutable public class IQOlapAppliedFilter
The IQOlapAppliedFilter represents any filters that the user has
applied to an OLAP result set.
The list of current applied filters can be retrieved from the IQ result set,
using the convenience class AppliedFilter.
Not yet completely implemented.
| Constructor Summary | |
|---|---|
IQOlapAppliedFilter(java.util.List<com.sas.iquery.metadata.business.QualifiedLevel> levels,
BusinessModel parent,
java.lang.String displayedText)
Create a new IQ OLAP applied filter object, based on the supplied levels and parent business model. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDisplayedText()
Return the displayed readable text for this filter. |
java.util.List<com.sas.iquery.metadata.business.QualifiedLevel> |
getLevels()
Return a list of levels represented in the applied filter. |
BusinessModel |
getParent()
Returns the parent business model for this applied filter. |
java.lang.String |
toString()
|
| Constructor Detail |
|---|
public IQOlapAppliedFilter(java.util.List<com.sas.iquery.metadata.business.QualifiedLevel> levels,
BusinessModel parent,
java.lang.String displayedText)
throws com.sas.storage.olap.OLAPException
levels - the level associated with this filterparent - the parent business modeldisplayedText - the human readable text for this applied filter
com.sas.storage.olap.OLAPException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.util.List<com.sas.iquery.metadata.business.QualifiedLevel> getLevels()
IQAppliedFilterExample:
[Product].[All Product].[Children].[Children Sports].[A-Team, Kids].[210200100001],
[Product].[All Product].[Children].[Children Sports].[A-Team, Kids]
In the above case, a selection was made from the level Product Group and another selection from Product Id. The lowest level was Product id. Therefore, the list that is returned contains the following levels (including ancestors) - Product_Line, Product_Category, Product_Group, and Product_ID.
getLevels in interface IQAppliedFilterQualifiedLevel objectsIQAppliedFilter.getLevels()public java.lang.String getDisplayedText()
IQAppliedFilterExample 1: The label of the "[PRODUCT].[CATEGORY].[CHILDREN]" is "Product Equal to Children".
Example 2: The label for the top 5 items on the column axis is "Columns, Top 2 Count (excluding ties)"
getDisplayedText in interface IQAppliedFilterIQAppliedFilter.getDisplayedText()public BusinessModel getParent()
IQAppliedFilter
getParent in interface IQAppliedFilterBusinessModelIQAppliedFilter.getParent()
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||