public final class ResultRemote extends FetchedResult
| Constructor and Description |
|---|
ResultRemote(SessionRemote session,
Transfer transfer,
int id,
int columnCount,
int fetchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the result and delete any temporary files
|
java.lang.String |
getAlias(int i)
Get the column alias name for the column.
|
java.lang.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.
|
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 |
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.
|
java.lang.String |
toString() |
createShallowCopy, currentRow, getRowId, isAfterLast, needToClose, nextpublic ResultRemote(SessionRemote session, Transfer transfer, int id, int columnCount, int fetchSize) throws java.io.IOException
java.io.IOExceptionpublic boolean isLazy()
ResultInterfacepublic java.lang.String getAlias(int i)
ResultInterfacei - the column number (starting with 0)public java.lang.String getSchemaName(int i)
ResultInterfacei - the column number (starting with 0)public java.lang.String getTableName(int i)
ResultInterfacei - the column number (starting with 0)public java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic int getFetchSize()
ResultInterfacepublic void setFetchSize(int fetchSize)
ResultInterfacefetchSize - the new fetch sizepublic boolean isClosed()
ResultInterface