|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.execution2.IQOlapDrillPath
public class IQOlapDrillPath
The IQOlapDrillPath represents the user's drill path into an OLAP result set.
The list of current drill path's can be retrieved from the IQ result set, ResultSetInterface.
The drill level holds the following metadata about an tuple element and its ancestors:
| Constructor Summary | |
|---|---|
IQOlapDrillPath(com.sas.storage.olap.LevelInterface level,
com.sas.storage.olap.HierarchyInterface hierarchy,
com.sas.storage.olap.DimensionInterface dimension,
com.sas.storage.olap.TupleElementInterface tuple,
com.sas.storage.olap.MemberInterface member)
Create a new IQ OLAP drill path object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDimensionLabel()
Return the dimension label for this drill path. |
java.lang.String |
getHierarchyLabel()
Return the hierarchy label for this drill path. |
java.lang.String |
getLevelLabel()
Return the label of this drill path's level - the label of the current Level. |
java.lang.String |
getLevelName()
Return the name of this drill path's level - the name of the current Level. |
java.lang.String |
getLevelUniqueName()
Return the unique name of this drill path's level - the unique name of the current Level. |
java.lang.String |
getMemberLabel()
Return the label of the member's drill path. |
java.lang.String |
getMemberName()
Return the name of the member's drill path. |
java.lang.String |
getMemberUniqueName()
Return the unique name of the member's drill path. |
com.sas.storage.olap.TupleElementInterface |
getTupleElement()
Return the tuple element |
boolean |
isAllLevel()
Return true if the top level of the dimension containing the specified element is an "All" level, otherwise return false. |
java.lang.String |
toString()
|
| Constructor Detail |
|---|
public IQOlapDrillPath(com.sas.storage.olap.LevelInterface level,
com.sas.storage.olap.HierarchyInterface hierarchy,
com.sas.storage.olap.DimensionInterface dimension,
com.sas.storage.olap.TupleElementInterface tuple,
com.sas.storage.olap.MemberInterface member)
throws com.sas.storage.olap.OLAPException
level - the LevelInterface for this tuple elementhierarchy - the HierarchyInterface for this tuple elementdimension - the DimensionInterface for this tuple elementmemberInterface - the tuple element itself
com.sas.storage.olap.OLAPException| Method Detail |
|---|
public java.lang.String getLevelName()
DrillPathLevel.
For example, the name of the "product line" level is "Product_Line".
getLevelName in interface DrillPathDrillPath.getLevelName()public java.lang.String getLevelLabel()
DrillPathLevel.
The label is for display purposes and may be localized.
For example, the label of the "product line" level is "Product Line".
getLevelLabel in interface DrillPathDrillPath.getLevelLabel()public java.lang.String getLevelUniqueName()
DrillPathLevel.
For example, the unique name of the "product line" level is "[Product].[Product_Line]".
getLevelUniqueName in interface DrillPathDrillPath.getLevelUniqueName()public java.lang.String getDimensionLabel()
DrillPathFor example, the label for the product dimension is "Product".
getDimensionLabel in interface DrillPathDrillPath.getDimensionLabel()public java.lang.String getHierarchyLabel()
DrillPath
getHierarchyLabel in interface DrillPathDrillPath.getHierarchyLabel()public boolean isAllLevel()
DrillPathCan only have if cube values and cube totals are turned on at the same time.
isAllLevel in interface DrillPathtrue if the top element of the dimension containing the
specified tuple is an "All" level, otherwise return false.DrillPath.isAllLevel()public java.lang.String getMemberName()
DrillPathFor example, the member name of the "Children" member is "Children".
getMemberName in interface DrillPathDrillPath.getMemberName()public java.lang.String getMemberLabel()
DrillPathFor example, the member name of the "Children" member is "Children".
getMemberLabel in interface DrillPathDrillPath.getMemberLabel()public java.lang.String getMemberUniqueName()
DrillPathFor example, the unique name of the "Children" member is "[Product].[All Product].[Children]".
getMemberUniqueName in interface DrillPathDrillPath.getMemberUniqueName()public com.sas.storage.olap.TupleElementInterface getTupleElement()
DrillPath
getTupleElement in interface DrillPathDrillPath.getTupleElement()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||