|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.execution2.IQOlapResultSetMetaData
public class IQOlapResultSetMetaData
IQOlapResultSetMetadata is an OLAP implementation of IQResultSetMetaData.
Being an IQResultSetMetaData, we provide the ability to retrieve the
data items that were used to create the underlying result set.
In the case of OLAP, we also provide the mechanism to drill.
| Constructor Summary | |
|---|---|
IQOlapResultSetMetaData(com.sas.storage.olap.OLAPDataSetInterface olapDataSet,
BusinessQuery businessQuery)
Create an IQOlapResultSetMetadata object, based on metadata
derived from the underlying, concrete, OLAPDataSetInterface object
and information provided by the IQ model through the input BusinessQuery. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.Integer,java.util.List<DrillPath>> |
getAllDrillPaths()
The IQOlapResultSetMetadata implementation of #getDrillPaths(int)
returns a list of drill path objects; OLAP result set metadata can be drilled. |
DataItem |
getDataItem(java.lang.Object uniquePhysicalObject)
Returns the data item associated with this physical object. |
java.util.List<DrillPath> |
getDrillPaths(DataItem dataItem)
The IQOlapResultSetMetadata implementation of #getDrillPaths(DataItem)
returns a list of drill path objects; OLAP result set metadata can be drilled. |
java.util.List<DrillPath> |
getDrillPaths(int axis)
The IQOlapResultSetMetadata implementation of #getDrillPaths(int)
returns a list of drill path objects; OLAP result set metadata can be drilled. |
java.util.List<com.sas.storage.olap.HierarchyInterface> |
getPhysicalHierarchies()
Returns a list of physical hierarchies HierarchyInterface associated
to the OLAP result set. |
java.util.List<com.sas.storage.olap.MeasureInterface> |
getPhysicalMeasures()
Returns a list of physical measures MeasureInterface associated
to the OLAP result set. |
boolean |
isDrillable()
The IQOlapResultSetMetadata implementation of #isDrillable
returns true - OLAP result set metadata can be drilled. |
| Methods inherited from class com.sas.iquery.execution2.AbstractIQResultSetMetaData |
|---|
addStringToDataItem, getDataItems, getUniqueNames, stringToDataItem |
| Constructor Detail |
|---|
public IQOlapResultSetMetaData(@NonNull
com.sas.storage.olap.OLAPDataSetInterface olapDataSet,
@NonNull
BusinessQuery businessQuery)
throws ExecutionException
IQOlapResultSetMetadata object, based on metadata
derived from the underlying, concrete, OLAPDataSetInterface object
and information provided by the IQ model through the input BusinessQuery.
olapDataSet - the concrete OLAP data setbq - the business query used to create the OLAP result set
ExecutionException| Method Detail |
|---|
public java.util.Map<java.lang.Integer,java.util.List<DrillPath>> getAllDrillPaths()
throws ExecutionException
IQOlapResultSetMetadata implementation of #getDrillPaths(int)
returns a list of drill path objects; OLAP result set metadata can be drilled.
The IQResultSetMetaData implementation of #getAllDrillPaths()
throws an UnsupportedOperationException.
Subclasses that support drilling should provide their own implementation.
Return a map, in which the key is the axis and the value is a list of drill path objects for each axis.
getAllDrillPaths in interface IQResultSetMetaDatagetAllDrillPaths in class AbstractIQResultSetMetaDataExecutionExceptionpublic DataItem getDataItem(java.lang.Object uniquePhysicalObject)
IQResultSetMetaData
getDataItem in interface IQResultSetMetaDatagetDataItem in class AbstractIQResultSetMetaDatauniquePhysicalObject - which can be a String object (either tuple unique name,
level name, or member name), a MeasureInterface object, a HierarchyInterface object, or
some other, yet to be defined, object.
DataItem associated with this physical objectAbstractIQResultSetMetaData.getDataItem(java.lang.Object)@NonNull public java.util.List<DrillPath> getDrillPaths(DataItem dataItem)
IQOlapResultSetMetadata implementation of #getDrillPaths(DataItem)
returns a list of drill path objects; OLAP result set metadata can be drilled.
The IQResultSetMetaData implementation of #getDrillPaths(DataItem)
throws an UnsupportedOperationException.
Subclasses that support drilling should provide their own implementation.
Return the list of drill paths for this data item.
getDrillPaths in interface IQResultSetMetaDatagetDrillPaths in class AbstractIQResultSetMetaDataDrillPath objects.
ExecutionException
@NonNull
public java.util.List<DrillPath> getDrillPaths(int axis)
throws ExecutionException
IQOlapResultSetMetadata implementation of #getDrillPaths(int)
returns a list of drill path objects; OLAP result set metadata can be drilled.
The IQResultSetMetaData implementation of #getDrillPaths(int)
throws an UnsupportedOperationException.
Subclasses that support drilling should provide their own implementation.
Return a list of drill path objects, representing the user's current drill state into the result set.
getDrillPaths in interface IQResultSetMetaDatagetDrillPaths in class AbstractIQResultSetMetaDataaxis - the axis as defined in AxisInterface
ExecutionException@NonNull public java.util.List<com.sas.storage.olap.HierarchyInterface> getPhysicalHierarchies()
HierarchyInterface associated
to the OLAP result set.
HierarchyInterface associated
to the OLAP result set. The list may be empty, but is never null.@NonNull public java.util.List<com.sas.storage.olap.MeasureInterface> getPhysicalMeasures()
MeasureInterface associated
to the OLAP result set.
MeasureInterface associated
to the OLAP result set. The list may be empty, but is never null.public boolean isDrillable()
IQOlapResultSetMetadata implementation of #isDrillable
returns true - OLAP result set metadata can be drilled.
The AbstractIQResultSetMetadata implementation of #isDrillable
returns false.
Subclasses that support drilling will return true.
Return true if this result set metadata supports drilling. If drilling is not supported,
methods such getDrillPaths() will throw an UnsupportedOperationException.
isDrillable in interface IQResultSetMetaDataisDrillable in class AbstractIQResultSetMetaDataExecutionException
{@link - UnsupportedOperationException} if the subclass does not support drilling
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||