|
Oracle Reports Java API Reference 10g (9.0.4) B12019-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the extended result set meta data used by the Reports Plugin Data Source. It contains the Reports column meta data information that is not defined in JDBC, such as sort order, sort column, and so on. Refer to PluginTypes for a list of data types supported by the Reports Plugin API.
The following methods of ResultSetMetaData are used by the Reports Plugin API.
getColumnCount() getColumnName(int column) getColumnLabel(int column) getColumnType(int column) getPrecision(int column) getScale(int column) getDisplaySize(int column)
Refer to PluginResultSetMetaDataTemplate for sample implementation of PluginResultSetMetaData.
Field Summary | |
static int |
SORT_ASCENDING Specifies that the column needs to be sorted in ascending order. |
static int |
SORT_DESCENDING Specifies that the column needs to be sorted in descending order. |
static int |
SORT_NONE Specifies that the column is not used for sorting. |
Fields inherited from interface java.sql.ResultSetMetaData |
columnNoNulls, columnNullable, columnNullableUnknown |
Method Summary | |
int |
getSortOrder(int colIdx) Returns the column's sort order. |
int |
sortColumnOf(int colIdx) Returns the base column index of the column if it is a sort column. |
Methods inherited from interface java.sql.ResultSetMetaData |
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable |
Field Detail |
public static final int SORT_NONE
public static final int SORT_ASCENDING
public static final int SORT_DESCENDING
Method Detail |
public int getSortOrder(int colIdx) throws PluginException
SORT_NONE: column value is not used for sorting at all
SORT_ASCENDING: column value needs to be sorted ascendingly
SORT_DESCENDING: column value needs to be sorted decendingly
The sort order only takes effect when the column is in a break group. Note that a break group should have at least one break column (SORT_ASCENDING or SORT_DECENDING).
colIdx
- The column index, the first column is 1, the second is 2, and so on.public int sortColumnOf(int colIdx) throws PluginException
colIdx
- The column index, the first column is 1, the second is 2, and so on.
|
Oracle Reports Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |