***  This class is subject to change.  ***

com.sas.iquery.dataretrieval.convenience.olap
Class ShowDetail

com.sas.iquery.dataretrieval.convenience.olap.ShowDetail

public class ShowDetail

Contains utility methods that can be used to acquire detail data for a particular member or cell on an OLAP result set.


Field Summary
static int FORMAT_FORMATTED
          Value for Flattened Result Set to show the formatted value in the detail drilled table.
static int FORMAT_FORMATTEDNOEMPTY
          Value for Flattened Result Set to show the formatted value (including empty) in the detail drilled table.
static int FORMAT_RAW
          Value for Flattened Result Set to show the raw value in the detail drilled table.
static int FORMAT_RAWANDFORMATTED
          Value for Flattened Result Set to show the formatted raw value in the detail drilled table.
static int FORMAT_RAWANDFORMATTEDNOEMPTY
          Value for Flattened Result Set to show the formatted raw value (including empty) in the detail drilled table.
static int FORMAT_RAWNOEMPTY
          Value for Flattened Result Set to show the raw value (including empty) in the detail drilled table.
 
Constructor Summary
ShowDetail()
           
 
Method Summary
static java.sql.ResultSet getDetailData(com.sas.storage.olap.OLAPDataSetInterface model, com.sas.storage.olap.TupleElementInterface[] tupleElements)
          This method is used to retrieve detail data based on the member/tupleElement in a table.
static java.sql.ResultSet getDetailData(com.sas.storage.olap.OLAPDataSetInterface model, com.sas.storage.olap.TupleElementInterface[] tupleElements, int formatType)
          This method is used to retrieve detail data based on the member/tupleElement in a table.
 

Field Detail

FORMAT_FORMATTED

public static final int FORMAT_FORMATTED
Value for Flattened Result Set to show the formatted value in the detail drilled table.

See Also:
Constant Field Values

FORMAT_FORMATTEDNOEMPTY

public static final int FORMAT_FORMATTEDNOEMPTY
Value for Flattened Result Set to show the formatted value (including empty) in the detail drilled table.

See Also:
Constant Field Values

FORMAT_RAW

public static final int FORMAT_RAW
Value for Flattened Result Set to show the raw value in the detail drilled table.

See Also:
Constant Field Values

FORMAT_RAWANDFORMATTED

public static final int FORMAT_RAWANDFORMATTED
Value for Flattened Result Set to show the formatted raw value in the detail drilled table.

See Also:
Constant Field Values

FORMAT_RAWANDFORMATTEDNOEMPTY

public static final int FORMAT_RAWANDFORMATTEDNOEMPTY
Value for Flattened Result Set to show the formatted raw value (including empty) in the detail drilled table.

See Also:
Constant Field Values

FORMAT_RAWNOEMPTY

public static final int FORMAT_RAWNOEMPTY
Value for Flattened Result Set to show the raw value (including empty) in the detail drilled table.

See Also:
Constant Field Values
Constructor Detail

ShowDetail

public ShowDetail()
Method Detail

getDetailData

public static java.sql.ResultSet getDetailData(com.sas.storage.olap.OLAPDataSetInterface model,
                                               com.sas.storage.olap.TupleElementInterface[] tupleElements)
This method is used to retrieve detail data based on the member/tupleElement in a table. This method looks at any filtered out value in the viewer before retrieving the detail data

Parameters:
model - OLAPDataSetInterface object
tupleElements - The elements for which the detail data is displayed.
Returns:
a JDBC resultset

getDetailData

public static java.sql.ResultSet getDetailData(com.sas.storage.olap.OLAPDataSetInterface model,
                                               com.sas.storage.olap.TupleElementInterface[] tupleElements,
                                               int formatType)
This method is used to retrieve detail data based on the member/tupleElement in a table. This method looks at any filtered out value in the viewer before retrieving the detail data

Parameters:
model - OLAPDataSetInterface object
tupleElements - The elements for which the detail data is displayed.
isFormatted - Apply a formatting type to the flattened resultset as defined as either:
  • FORMAT_RAW - Value for Flattened Result Set to show the raw value in the detail drilled table.
  • FORMAT_FORMATTED - Value for Flattened Result Set to show the formatted value in the detail drilled table.
  • FORMAT_RAWANDFORMATTED - Value for Flattened Result Set to show the formatted raw value in the detail drilled table.
  • FORMAT_RAWNOEMPTY - Value for Flattened Result Set to show the raw value (including empty) in the detail drilled table.
  • FORMAT_FORMATTEDNOEMPTY - Value for Flattened Result Set to show the formatted value (including empty) in the detail drilled table.
  • FORMAT_RAWANDFORMATTEDNOEMPTY - Value for Flattened Result Set to show the formatted raw value (including empty) in the detail drilled table.
Returns:
a JDBC resultset

***  This class is subject to change.  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.