GenericResultDescription
public interface ResultDescription
Modifier and Type | Method | Description |
---|---|---|
int |
findColumnInsenstive(java.lang.String name) |
Return the position of the column matching the
passed in names following the JDBC rules for
ResultSet.getXXX and updateXXX.
|
int |
getColumnCount() |
Returns the number of columns in the result set.
|
ResultColumnDescriptor |
getColumnDescriptor(int position) |
Returns a ResultColumnDescriptor for the column, given the ordiinal
position of the column.
|
ResultColumnDescriptor[] |
getColumnInfo() |
Return information about all the columns.
|
ResultColumnDescriptor |
getColumnInfo(int idx) |
Return the information about a single column (0-based indexing)
|
java.sql.ResultSetMetaData |
getMetaData() |
Get the saved JDBC ResultSetMetaData.
|
java.lang.String |
getStatementType() |
Returns an identifier that tells what type of statement has been
executed.
|
void |
setMetaData(java.sql.ResultSetMetaData rsmd) |
Set the JDBC ResultSetMetaData for this ResultDescription.
|
ResultDescription |
truncateColumns(int truncateFrom) |
Get a new result description that has been truncated
from input column number.
|
java.lang.String getStatementType()
int getColumnCount()
ResultColumnDescriptor[] getColumnInfo()
ResultColumnDescriptor getColumnInfo(int idx)
ResultColumnDescriptor getColumnDescriptor(int position)
position
- The oridinal position of a column in the
ResultSet.ResultDescription truncateColumns(int truncateFrom)
truncateFrom
- the starting column to remove,
1-based.void setMetaData(java.sql.ResultSetMetaData rsmd)
java.sql.ResultSetMetaData getMetaData()
int findColumnInsenstive(java.lang.String name)
name
- Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.