|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ResultDescription interface provides methods to get metadata on the results returned by a statement.
Method Summary | |
int |
getColumnCount()
Returns the number of columns in the result set. |
ResultColumnDescriptor |
getColumnDescriptor(int position)
Returns a ResultColumnDescriptor for the column, given the oridinal position of the column. |
ResultColumnDescriptor[] |
getColumnInfo()
Return information about all the columns. |
java.lang.String |
getStatementType()
Returns an identifier that tells what type of statement has been executed. |
ResultDescription |
truncateColumns(int truncateFrom)
Get a new result description that has been truncated from input column number. |
Method Detail |
public java.lang.String getStatementType()
public int getColumnCount()
public ResultColumnDescriptor[] getColumnInfo()
public ResultColumnDescriptor getColumnDescriptor(int position)
position
- The oridinal position of a column in the
ResultSet.
public ResultDescription truncateColumns(int truncateFrom)
truncateFrom
- the starting column to remove,
1-based.
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |