| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | SimpleResult.
Column info for the simple result. |
| Modifier and Type | Field and Description |
|---|---|
| private final ArrayList | |
| private int | |
| private final ArrayList | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SimpleResult(String
the name of the schema schemaName, String the name of the table tableName)Creates new instance of simple result. |
| private | SimpleResult(ArrayList<SimpleResult.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| pack-priv void | |
| public void | addRow(Value...
the values values)Implements org. Add the row to the result set. |
| public void | close()
Implements org. Close the result and delete any temporary files |
| public SimpleResult | createShallowCopy(Session
the session of the copy targetSession)Implements org. Create a shallow copy of the result set. |
| public Value[] | |
| 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 void | limitsWereApplied()
Implements org. A hint that sorting, offset and limit may be ignored by this result because they were applied during the query. |
| 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. |
| public void | setFetchSize(int
the new fetch size fetchSize)Implements org. Set the fetch size for this result set. |
| public void |
| columns | back to summary |
|---|---|
| private final ArrayList<SimpleResult. | |
| rowId | back to summary |
|---|---|
| private int rowId | |
| rows | back to summary |
|---|---|
| private final ArrayList<Value[]> rows | |
| schemaName | back to summary |
|---|---|
| private final String schemaName | |
| tableName | back to summary |
|---|---|
| private final String tableName | |
| SimpleResult | back to summary |
|---|---|
| public SimpleResult() Creates new instance of simple result. | |
| SimpleResult | back to summary |
|---|---|
| public SimpleResult(String schemaName, String tableName) Creates new instance of simple result. | |
| SimpleResult | back to summary |
|---|---|
| private SimpleResult(ArrayList<SimpleResult. | |
| addColumn | back to summary |
|---|---|
| public void addColumn(String alias, String columnName, int columnType, long columnPrecision, int columnScale) Add column to the result. | |
| addColumn | back to summary |
|---|---|
| public void addColumn(String columnName, TypeInfo columnType) Add column to the result. | |
| addColumn | back to summary |
|---|---|
| public void addColumn(String alias, String columnName, TypeInfo columnType) Add column to the result. | |
| addColumn | back to summary |
|---|---|
| pack-priv void addColumn(SimpleResult. Add column to the result.
| |
| addRow | back to summary |
|---|---|
| public void addRow(Value... values) Implements org. Doc from org. Add the row to the result set. | |
| 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 SimpleResult 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. | |
| 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.
| |
| limitsWereApplied | back to summary |
|---|---|
| public void limitsWereApplied() Implements org. Doc from org. A hint that sorting, offset and limit may be ignored by this result because they were applied during the query. This is useful for WITH TIES clause because result may contain tied rows above limit.
| |
| 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.
| |
| setFetchSize | back to summary |
|---|---|
| public void setFetchSize(int fetchSize) Implements org. Doc from org. Set the fetch size for this result set.
| |
| sortRows | back to summary |
|---|---|
| public void sortRows(Comparator<? super Value[]> comparator) Sort rows in the list.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | alias
Column alias. |
| pack-priv final String | columnName
Column name. |
| pack-priv final TypeInfo | columnType
Column type. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public String |
| alias | back to summary |
|---|---|
| pack-priv final String alias Column alias. | |
| columnName | back to summary |
|---|---|
| pack-priv final String columnName Column name. | |
| columnType | back to summary |
|---|---|
| pack-priv final TypeInfo columnType Column type. | |
| Column | back to summary |
|---|---|
| pack-priv Column(String alias, String columnName, TypeInfo columnType) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |