| Access | Constructor and Description |
|---|---|
| public | ResultsetRowsStatic(List<? extends Row>
list of rows, ColumnDefinition Row instancesColumnDefinition for this result setCreates a new RowDataStatic object. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addRow(Row
the row to add row)Overrides default com. Adds a row. |
| public void | |
| public void | beforeFirst()
Overrides default com. Moves to before first. |
| public void | |
| public Row | get(int
row number atIndex)Overrides default com. Optionally retrieve Row at index n. |
| public int | getPosition()
Overrides default com. Returns the current position. |
| public boolean | |
| public boolean | isAfterLast()
Implements com. Returns true if we got the last element. |
| public boolean | isBeforeFirst()
Implements com. Returns if iteration has not occured yet. |
| public boolean | isDynamic()
Overrides default com. Returns true if the result set is dynamic. |
| public boolean | |
| public boolean | isFirst()
Overrides default com. Are we on the first row of the result set? |
| public boolean | isLast()
Overrides default com. Are we on the last row of the result set? |
| public void | moveRowRelative(int
the relative number of rows to move rowsToMove)Overrides default com. Moves the current position relative 'rows' from the current position. |
| public Row | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| public void | setCurrentRow(int
row to move to newIndex)Overrides default com. Moves the current position in the result set to the given row number. |
| public int | |
| public boolean | wasEmpty()
Overrides com. Implements com. Did this result set have no rows? |
| rows | back to summary |
|---|---|
| private List<Row> rows | |
| ResultsetRowsStatic | back to summary |
|---|---|
| public ResultsetRowsStatic(List<? extends Row> rows, ColumnDefinition columnDefinition) Creates a new RowDataStatic object.
| |
| addRow | back to summary |
|---|---|
| public void addRow(Row row) Overrides default com. Doc from com. Adds a row. | |
| afterLast | back to summary |
|---|---|
| public void afterLast() Overrides default com. Doc from com. Moves to after last.
| |
| beforeFirst | back to summary |
|---|---|
| public void beforeFirst() Overrides default com. Doc from com. Moves to before first.
| |
| beforeLast | back to summary |
|---|---|
| public void beforeLast() Overrides default com. Doc from com. Moves to before last.
| |
| get | back to summary |
|---|---|
| public Row get(int atIndex) Overrides default com. Doc from com. Optionally retrieve Row at index n. Only works on non dynamic row lists. | |
| getPosition | back to summary |
|---|---|
| public int getPosition() Overrides default com. Doc from com. Returns the current position.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| isAfterLast | back to summary |
|---|---|
| public boolean isAfterLast() Implements com. Doc from com. Returns true if we got the last element.
| |
| isBeforeFirst | back to summary |
|---|---|
| public boolean isBeforeFirst() Implements com. Doc from com. Returns if iteration has not occured yet.
| |
| isDynamic | back to summary |
|---|---|
| public boolean isDynamic() Overrides default com. Doc from com. Returns true if the result set is dynamic. This means that move back and move forward won't work because we do not hold on to the records.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides default com. Doc from com. Has no records.
| |
| isFirst | back to summary |
|---|---|
| public boolean isFirst() Overrides default com. Doc from com. Are we on the first row of the result set?
| |
| isLast | back to summary |
|---|---|
| public boolean isLast() Overrides default com. Doc from com. Are we on the last row of the result set?
| |
| moveRowRelative | back to summary |
|---|---|
| public void moveRowRelative(int rowsToMove) Overrides default com. Doc from com. Moves the current position relative 'rows' from the current position.
| |
| next | back to summary |
|---|---|
| public Row next() Implements java. Doc from java. Returns the next element in the iteration. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| setCurrentRow | back to summary |
|---|---|
| public void setCurrentRow(int newIndex) Overrides default com. Doc from com. Moves the current position in the result set to the given row number.
| |
| size | back to summary |
|---|---|
| public int size() Overrides default com. Doc from com. Only works on non dynamic row lists.
| |
| wasEmpty | back to summary |
|---|---|
| public boolean wasEmpty() Overrides com. Implements com. Doc from com. Did this result set have no rows?
| |