|
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()
DrillPath
Level
.
For example, the name of the "product line" level is "Product_Line".
getLevelName
in interface DrillPath
DrillPath.getLevelName()
public java.lang.String getLevelLabel()
DrillPath
Level
.
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 DrillPath
DrillPath.getLevelLabel()
public java.lang.String getLevelUniqueName()
DrillPath
Level
.
For example, the unique name of the "product line" level is "[Product].[Product_Line]".
getLevelUniqueName
in interface DrillPath
DrillPath.getLevelUniqueName()
public java.lang.String getDimensionLabel()
DrillPath
For example, the label for the product dimension is "Product".
getDimensionLabel
in interface DrillPath
DrillPath.getDimensionLabel()
public java.lang.String getHierarchyLabel()
DrillPath
getHierarchyLabel
in interface DrillPath
DrillPath.getHierarchyLabel()
public boolean isAllLevel()
DrillPath
Can only have if cube values and cube totals are turned on at the same time.
isAllLevel
in interface DrillPath
true
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()
DrillPath
For example, the member name of the "Children" member is "Children".
getMemberName
in interface DrillPath
DrillPath.getMemberName()
public java.lang.String getMemberLabel()
DrillPath
For example, the member name of the "Children" member is "Children".
getMemberLabel
in interface DrillPath
DrillPath.getMemberLabel()
public java.lang.String getMemberUniqueName()
DrillPath
For example, the unique name of the "Children" member is "[Product].[All Product].[Children]".
getMemberUniqueName
in interface DrillPath
DrillPath.getMemberUniqueName()
public com.sas.storage.olap.TupleElementInterface getTupleElement()
DrillPath
getTupleElement
in interface DrillPath
DrillPath.getTupleElement()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |