public final class ResultRemote extends FetchedResult
| 构造器和说明 |
|---|
ResultRemote(SessionRemote session,
Transfer transfer,
int id,
int columnCount,
int fetchSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Close the result and delete any temporary files
|
String |
getAlias(int i)
Get the column alias name for the column.
|
String |
getColumnName(int i)
Get the column name.
|
TypeInfo |
getColumnType(int i)
Get the column data type.
|
int |
getFetchSize()
Get the current fetch size for this result set.
|
int |
getNullable(int i)
Check if this column is nullable.
|
long |
getRowCount()
Get the number of rows in this object.
|
String |
getSchemaName(int i)
Get the schema name for the column, if one exists.
|
String |
getTableName(int i)
Get the table name for the column, if one exists.
|
int |
getVisibleColumnCount()
Get the number of visible columns.
|
boolean |
hasNext()
Check if this result has more rows to fetch.
|
boolean |
isClosed()
Check if this result set is closed.
|
boolean |
isIdentity(int i)
Check if this is an identity column.
|
boolean |
isLazy()
Check if this a lazy execution result.
|
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.
|
String |
toString() |
createShallowCopy, currentRow, getRowId, isAfterLast, needToClose, nextpublic ResultRemote(SessionRemote session, Transfer transfer, int id, int columnCount, int fetchSize) throws IOException
IOExceptionpublic boolean isLazy()
ResultInterfacepublic String getAlias(int i)
ResultInterfacei - the column number (starting with 0)public String getSchemaName(int i)
ResultInterfacei - the column number (starting with 0)public String getTableName(int i)
ResultInterfacei - the column number (starting with 0)public String getColumnName(int i)
ResultInterfacei - the column number (starting with 0)public TypeInfo getColumnType(int i)
ResultInterfacei - the column number (starting with 0)public boolean isIdentity(int i)
ResultInterfacei - the column number (starting with 0)public int getNullable(int i)
ResultInterfacei - the column number (starting with 0)public void reset()
ResultInterfacepublic int getVisibleColumnCount()
ResultInterfacepublic long getRowCount()
ResultInterfacepublic boolean hasNext()
ResultInterfacepublic void close()
ResultInterfacepublic int getFetchSize()
ResultInterfacepublic void setFetchSize(int fetchSize)
ResultInterfacefetchSize - the new fetch sizepublic boolean isClosed()
ResultInterfaceCopyright © 2022. All rights reserved.