| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private Boolean | |
| private Value[] | |
| private boolean | |
| private int[] | |
| private TreeMap | |
| private Expression[] | |
| private ResultExternal | |
| private boolean | |
| private boolean | |
| private long | |
| private boolean | |
| private int | |
| private long | |
| private int | |
| private long | |
| private long | |
| private ArrayList | |
| private final SessionLocal | |
| private SortOrder | |
| private int | |
| private SortOrder |
| Access | Constructor and Description |
|---|---|
| public | |
| private | |
| public | LocalResult(SessionLocal
the session session, Expression[] the expression array expressions, int the number of visible columns visibleColumnCount, int the number of columns including visible columns and additional
virtual columns for ORDER BY and DISTINCT ON clauses resultColumnCount)Construct a local result object. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addRow(Value...
the row to add values)Implements org. Add a row to this object. |
| public void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | close()
Implements org. Close the result and delete any temporary files |
| public boolean | Returns: true if the row existsthe row values)Check if this result set contains the given row. |
| public boolean | |
| private void | |
| public LocalResult | Returns: the copy if possible, or null if copying is not possiblethe session of the copy targetSession)Implements org. Create a shallow copy of the result set. |
| public Value[] | |
| public Row | |
| public void | |
| public static LocalResult | Returns: the local resultthe session session, Table the table table)Constructs a new local result object for the specified table. |
| 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. |
| private ValueRow | |
| 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. |
| private boolean | |
| public boolean | Returns: true if it isImplements org. Check if this result set is closed. |
| 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 | |
| public void | reset()
Implements org. Go to the beginning of the result, that means before the first row. |
| public void | |
| public void | setDistinct(int[]
distinct indexes distinctIndexes)Remove rows with duplicates in columns with specified indexes. |
| public void | |
| public void | setFetchSize(int
the new fetch size fetchSize)Implements org. Set the fetch size for this result set. |
| public void | |
| public void | setLimit(long
the limit (-1 means no limit, 0 means no rows) limit)Set the number of rows that this result will return at the maximum. |
| public void | setMaxMemoryRows(int
Maximum rows count in memory. maxValue)Redefine count of maximum rows holds in memory for the result. |
| public void | |
| public void | |
| public void | setWithTies(SortOrder
the sort order for tied rows withTiesSortOrder)Enables inclusion of tied rows to result and sets the sort order for tied rows. |
| public String | |
| private void |
| closed | back to summary |
|---|---|
| private boolean closed | |
| containsLobs | back to summary |
|---|---|
| private boolean containsLobs | |
| containsNull | back to summary |
|---|---|
| private Boolean containsNull | |
| currentRow | back to summary |
|---|---|
| private Value[] currentRow | |
| distinct | back to summary |
|---|---|
| private boolean distinct | |
| distinctIndexes | back to summary |
|---|---|
| private int[] distinctIndexes | |
| distinctRows | back to summary |
|---|---|
| private TreeMap<ValueRow, Value[]> distinctRows | |
| expressions | back to summary |
|---|---|
| private Expression[] expressions | |
| external | back to summary |
|---|---|
| private ResultExternal external | |
| fetchPercent | back to summary |
|---|---|
| private boolean fetchPercent | |
| forDataChangeDeltaTable | back to summary |
|---|---|
| private boolean forDataChangeDeltaTable | |
| limit | back to summary |
|---|---|
| private long limit | |
| limitsWereApplied | back to summary |
|---|---|
| private boolean limitsWereApplied | |
| maxMemoryRows | back to summary |
|---|---|
| private int maxMemoryRows | |
| offset | back to summary |
|---|---|
| private long offset | |
| resultColumnCount | back to summary |
|---|---|
| private int resultColumnCount | |
| rowCount | back to summary |
|---|---|
| private long rowCount | |
| rowId | back to summary |
|---|---|
| private long rowId | |
| rows | back to summary |
|---|---|
| private ArrayList<Value[]> rows | |
| session | back to summary |
|---|---|
| private final SessionLocal session | |
| sort | back to summary |
|---|---|
| private SortOrder sort | |
| visibleColumnCount | back to summary |
|---|---|
| private int visibleColumnCount | |
| withTiesSortOrder | back to summary |
|---|---|
| private SortOrder withTiesSortOrder | |
| LocalResult | back to summary |
|---|---|
| public LocalResult() Construct a local result object. | |
| LocalResult | back to summary |
|---|---|
| private LocalResult(SessionLocal session) | |
| LocalResult | back to summary |
|---|---|
| public LocalResult(SessionLocal session, Expression[] expressions, int visibleColumnCount, int resultColumnCount) Construct a local result object.
| |
| addRow | back to summary |
|---|---|
| public void addRow(Value... values) Implements org. Add a row to this object. | |
| addRowForTable | back to summary |
|---|---|
| public void addRowForTable(Row row) Add a row for a table.
| |
| addRowInternal | back to summary |
|---|---|
| private void addRowInternal(Value... values) | |
| addRowsToDisk | back to summary |
|---|---|
| private void addRowsToDisk() | |
| applyOffsetAndLimit | back to summary |
|---|---|
| private void applyOffsetAndLimit() | |
| cloneLobs | back to summary |
|---|---|
| private void cloneLobs(Value[] values) | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Close the result and delete any temporary files
| |
| containsDistinct | back to summary |
|---|---|
| public boolean containsDistinct(Value[] values) Check if this result set contains the given row.
| |
| containsNull | back to summary |
|---|---|
| public boolean containsNull() Check if this result set contains a NULL value. This method may reset this result.
| |
| createExternalResult | back to summary |
|---|---|
| private void createExternalResult() | |
| createShallowCopy | back to summary |
|---|---|
| public LocalResult createShallowCopy(Session targetSession) Implements 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. | |
| currentRowForTable | back to summary |
|---|---|
| public Row currentRowForTable() Retrieve the current row
| |
| done | back to summary |
|---|---|
| public void done() This method is called after all rows have been added. | |
| forTable | back to summary |
|---|---|
| public static LocalResult forTable(SessionLocal session, Table table) Constructs a new local result object for the specified table.
| |
| 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. | |
| getDistinctRow | back to summary |
|---|---|
| private ValueRow getDistinctRow(Value[] values) | |
| 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.
| |
| isAnyDistinct | back to summary |
|---|---|
private boolean isAnyDistinct()
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements 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.
| |
| removeDistinct | back to summary |
|---|---|
| public void removeDistinct(Value[] values) Remove the row from the result set if it exists.
| |
| 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.
| |
| setDistinct | back to summary |
|---|---|
| public void setDistinct() Remove duplicate rows. | |
| setDistinct | back to summary |
|---|---|
| public void setDistinct(int[] distinctIndexes) Remove rows with duplicates in columns with specified indexes.
| |
| setFetchPercent | back to summary |
|---|---|
public void setFetchPercent(boolean fetchPercent)
| |
| setFetchSize | back to summary |
|---|---|
| public void setFetchSize(int fetchSize) Implements org. Doc from org. Set the fetch size for this result set.
| |
| setForDataChangeDeltaTable | back to summary |
|---|---|
| public void setForDataChangeDeltaTable() Sets value collection mode for data change delta tables. | |
| setLimit | back to summary |
|---|---|
| public void setLimit(long limit) Set the number of rows that this result will return at the maximum.
| |
| setMaxMemoryRows | back to summary |
|---|---|
| public void setMaxMemoryRows(int maxValue) Redefine count of maximum rows holds in memory for the result.
| |
| setOffset | back to summary |
|---|---|
| public void setOffset(long offset) Set the offset of the first row to return.
| |
| setSortOrder | back to summary |
|---|---|
| public void setSortOrder(SortOrder sort) Sets sort order to be used by this result. When rows are presorted by the query this method should not be used.
| |
| setWithTies | back to summary |
|---|---|
| public void setWithTies(SortOrder withTiesSortOrder) Enables inclusion of tied rows to result and sets the sort order for tied rows. The specified sort order must be the same as sort order if sort order was set. Passed value will be used if sort order was not set that is possible when rows are presorted.
| |
| 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- | |
| trimExternal | back to summary |
|---|---|
| private void trimExternal(long offset, long limit) | |