|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResultInterface
The result interface is used by the LocalResult and ResultRemote class. A result may contain rows, or just an update count.
Method Summary | |
---|---|
void |
close()
Close the result and delete any temporary files |
Value[] |
currentRow()
Get the current row. |
java.lang.String |
getAlias(int i)
Get the column alias name for the column. |
java.lang.String |
getColumnName(int i)
Get the column name. |
long |
getColumnPrecision(int i)
Get the precision for this column. |
int |
getColumnScale(int i)
Get the scale for this column. |
int |
getColumnType(int i)
Get the column data type. |
int |
getDisplaySize(int i)
Get the display size for this column. |
int |
getFetchSize()
Get the current fetch size for this result set. |
int |
getNullable(int i)
Check if this column is nullable. |
int |
getRowCount()
Get the number of rows in this object. |
int |
getRowId()
Get the current row id, starting with 0. |
java.lang.String |
getSchemaName(int i)
Get the schema name for the column, if one exists. |
java.lang.String |
getTableName(int i)
Get the table name for the column, if one exists. |
int |
getVisibleColumnCount()
Get the number of visible columns. |
boolean |
isAutoIncrement(int i)
Check if this is an auto-increment column. |
boolean |
next()
Go to the next row. |
void |
reset()
Go to the beginning of the result, that means before the first row. |
void |
setFetchSize(int fetchSize)
Set the fetch size for this result set. |
Method Detail |
---|
void reset() throws java.sql.SQLException
java.sql.SQLException
Value[] currentRow()
boolean next() throws java.sql.SQLException
java.sql.SQLException
int getRowId()
int getVisibleColumnCount()
int getRowCount()
void close()
java.lang.String getAlias(int i)
i
- the column number (starting with 0)
java.lang.String getSchemaName(int i)
i
- the column number (starting with 0)
java.lang.String getTableName(int i)
i
- the column number (starting with 0)
java.lang.String getColumnName(int i)
i
- the column number (starting with 0)
int getColumnType(int i)
i
- the column number (starting with 0)
long getColumnPrecision(int i)
i
- the column number (starting with 0)
int getColumnScale(int i)
i
- the column number (starting with 0)
int getDisplaySize(int i)
i
- the column number (starting with 0)
boolean isAutoIncrement(int i)
i
- the column number (starting with 0)
int getNullable(int i)
i
- the column number (starting with 0)
void setFetchSize(int fetchSize)
fetchSize
- the new fetch sizeint getFetchSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |