| Modifier and Type | Field and Description |
|---|---|
| private final ResultInterface |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. Close the result and delete any temporary files |
| public ResultInterface | createShallowCopy(Session
the session of the copy targetSession)Implements org. Create a shallow copy of the result set. |
| public Value[] | |
| public static ResultInterface | Returns: wrapped result or original resultsource result source)Returns wrapped result if necessary, or original result if it does not contain visible CHAR columns. |
| public String | getAlias(int
the column number (starting with 0) i)Implements org. Get the column alias name for the column. |
| public String | getColumnName(int
the column number (starting with 0) i)Implements org. Get the column name. |
| public TypeInfo | getColumnType(int
the column number (starting with 0) i)Implements org. Get the column data type. |
| public int | getFetchSize()
Implements org. Get the current fetch size for this result set. |
| public int | getNullable(int
the column number (starting with 0) i)Implements org. Check if this column is nullable. |
| public long | getRowCount()
Implements org. Get the number of rows in this object. |
| public long | getRowId()
Implements org. Get the current row id, starting with 0. |
| public String | getSchemaName(int
the column number (starting with 0) i)Implements org. Get the schema name for the column, if one exists. |
| public String | getTableName(int
the column number (starting with 0) i)Implements org. Get the table name for the column, if one exists. |
| public int | getVisibleColumnCount()
Implements org. Get the number of visible columns. |
| public boolean | hasNext()
Implements org. Check if this result has more rows to fetch. |
| public boolean | isAfterLast()
Implements org. Check if the current position is after last row. |
| public boolean | |
| public boolean | isIdentity(int
the column number (starting with 0) i)Implements org. Check if this is an identity column. |
| public boolean | |
| public boolean | needToClose()
Implements org. Check if this result set should be closed, for example because it is buffered using a temporary file. |
| public boolean | |
| public void | reset()
Implements org. Go to the beginning of the result, that means before the first row. |
| private static String | |
| public void | setFetchSize(int
the new fetch size fetchSize)Implements org. Set the fetch size for this result set. |
| source | back to summary |
|---|---|
| private final ResultInterface source | |
| ResultWithPaddedStrings | back to summary |
|---|---|
| private ResultWithPaddedStrings(ResultInterface source) Creates new instance of result.
| |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Close the result and delete any temporary files
| |
| createShallowCopy | back to summary |
|---|---|
| public ResultInterface createShallowCopy(Session targetSession) Implements org. Doc from org. Create a shallow copy of the result set. The data and a temporary table (if there is any) is not copied.
| |
| currentRow | back to summary |
|---|---|
| public Value[] currentRow() Implements org. Doc from org. Get the current row. | |
| get | back to summary |
|---|---|
| public static ResultInterface get(ResultInterface source) Returns wrapped result if necessary, or original result if it does not contain visible CHAR columns.
| |
| getAlias | back to summary |
|---|---|
| public String getAlias(int i) Implements org. Doc from org. Get the column alias name for the column. | |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int i) Implements org. Doc from org. Get the column name. | |
| getColumnType | back to summary |
|---|---|
| public TypeInfo getColumnType(int i) Implements org. Doc from org. Get the column data type. | |
| getFetchSize | back to summary |
|---|---|
| public int getFetchSize() Implements org. Doc from org. Get the current fetch size for this result set.
| |
| getNullable | back to summary |
|---|---|
| public int getNullable(int i) Implements org. Doc from org. Check if this column is nullable.
| |
| getRowCount | back to summary |
|---|---|
| public long getRowCount() Implements org. Doc from org. Get the number of rows in this object.
| |
| getRowId | back to summary |
|---|---|
| public long getRowId() Implements org. Doc from org. Get the current row id, starting with 0. -1 is returned when next() was not called yet.
| |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName(int i) Implements org. Doc from org. Get the schema name for the column, if one exists. | |
| getTableName | back to summary |
|---|---|
| public String getTableName(int i) Implements org. Doc from org. Get the table name for the column, if one exists. | |
| getVisibleColumnCount | back to summary |
|---|---|
| public int getVisibleColumnCount() Implements org. Doc from org. Get the number of visible columns. More columns may exist internally for sorting or grouping.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org. Doc from org. Check if this result has more rows to fetch.
| |
| isAfterLast | back to summary |
|---|---|
| public boolean isAfterLast() Implements org. Doc from org. Check if the current position is after last row.
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements org. Doc from org. Check if this result set is closed.
| |
| isIdentity | back to summary |
|---|---|
| public boolean isIdentity(int i) Implements org. Doc from org. Check if this is an identity column.
| |
| isLazy | back to summary |
|---|---|
| public boolean isLazy() Implements org. Doc from org. Check if this a lazy execution result.
| |
| needToClose | back to summary |
|---|---|
| public boolean needToClose() Implements org. Doc from org. Check if this result set should be closed, for example because it is buffered using a temporary file.
| |
| next | back to summary |
|---|---|
| public boolean next() Implements org. Doc from org. Go to the next row.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. Go to the beginning of the result, that means before the first row.
| |
| rightPadWithSpaces | back to summary |
|---|---|
| private static String rightPadWithSpaces(String s, int length) | |
| setFetchSize | back to summary |
|---|---|
| public void setFetchSize(int fetchSize) Implements org. Doc from org. Set the fetch size for this result set.
| |