| Modifier and Type | Field and Description |
|---|---|
| private long | counter
Counter for the identities of rows. |
| private Cursor | |
| private final MVMap | map
Map with identities of rows as keys rows as values. |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv | MVPlainTempResult(Database
database database, Expression[] column expressions expressions, int count of visible columns visibleColumnCount, int the number of columns including visible columns and additional
virtual columns for ORDER BY clause resultColumnCount)Creates a new plain temporary result. |
| Modifier and Type | Method and Description |
|---|---|
| public int | addRow(Value[]
the row to add values)Implements org. Add a row to this object. |
| public boolean | contains(Value[]
the row values)Implements org. Check if the given row exists in this object. |
| public synchronized ResultExternal | createShallowCopy()
Implements org. Create a shallow copy of this object if possible. |
| public Value[] | |
| public int | removeRow(Value[]
the row values)Implements org. Remove the row with the given values from this object if such a row exists. |
| public void |
| counter | back to summary |
|---|---|
| private long counter Counter for the identities of rows. A separate counter is used instead of
| |
| cursor | back to summary |
|---|---|
| private Cursor<Long, ValueRow> cursor Cursor for the | |
| map | back to summary |
|---|---|
| private final MVMap<Long, ValueRow> map Map with identities of rows as keys rows as values. | |
| MVPlainTempResult | back to summary |
|---|---|
| private MVPlainTempResult(MVPlainTempResult parent) Creates a shallow copy of the result.
| |
| MVPlainTempResult | back to summary |
|---|---|
| pack-priv MVPlainTempResult(Database database, Expression[] expressions, int visibleColumnCount, int resultColumnCount) Creates a new plain temporary result. This result does not sort its rows, but it can be used in index-sorted queries and it can preserve additional columns for WITH TIES processing.
| |
| addRow | back to summary |
|---|---|
| public int addRow(Value[] values) Implements org. Doc from org. Add a row to this object. | |
| contains | back to summary |
|---|---|
| public boolean contains(Value[] values) Implements org. Doc from org. Check if the given row exists in this object. | |
| createShallowCopy | back to summary |
|---|---|
| public synchronized ResultExternal createShallowCopy() Implements org. Doc from org. Create a shallow copy of this object if possible.
| |
| next | back to summary |
|---|---|
| public Value[] next() Implements org. Doc from org. Get the next row from the result. | |
| removeRow | back to summary |
|---|---|
| public int removeRow(Value[] values) Implements org. Doc from org. Remove the row with the given values from this object if such a row exists. | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. Reset the current position of this object.
| |