RowList functionality by providing row positioning, updatability and ownership.
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public default void | |
| public default void | |
| public default void | |
| public default void | |
| public ColumnDefinition | |
| public ResultsetRowsOwner | |
| public boolean | |
| public boolean | |
| public default boolean | Returns: true if this result set is streaming from the serverReturns true if the result set is dynamic. |
| public default boolean | |
| public default boolean | |
| public default boolean | |
| public default void | moveRowRelative(int
the relative number of rows to move rows)Moves the current position relative 'rows' from the current position. |
| public default void | setCurrentRow(int
row to move to rowNumber)Moves the current position in the result set to the given row number. |
| public void | setMetadata(ColumnDefinition
field-level metadata for the result set columnDefinition)Sometimes the driver doesn't have metadata until after the statement has the result set in-hand (because it's cached), so it can call this to set it after the fact. |
| public void | setOwner(ResultsetRowsOwner
the result set that 'owns' this RowData rs)Set the result set that 'owns' this RowData |
| public boolean |
| addRow | back to summary |
|---|---|
| public default void addRow(Row row) Adds a row.
| |
| afterLast | back to summary |
|---|---|
| public default void afterLast() Moves to after last. | |
| beforeFirst | back to summary |
|---|---|
| public default void beforeFirst() Moves to before first. | |
| beforeLast | back to summary |
|---|---|
| public default void beforeLast() Moves to before last. | |
| close | back to summary |
|---|---|
| public default void close() We're done. | |
| getMetadata | back to summary |
|---|---|
| public ColumnDefinition getMetadata() | |
| getOwner | back to summary |
|---|---|
| public ResultsetRowsOwner getOwner() Returns the result set that 'owns' this RowData | |
| isAfterLast | back to summary |
|---|---|
| public boolean isAfterLast() Returns true if we got the last element.
| |
| isBeforeFirst | back to summary |
|---|---|
| public boolean isBeforeFirst() Returns if iteration has not occured yet.
| |
| isDynamic | back to summary |
|---|---|
| public default boolean isDynamic() 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 default boolean isEmpty() Has no records.
| |
| isFirst | back to summary |
|---|---|
| public default boolean isFirst() Are we on the first row of the result set?
| |
| isLast | back to summary |
|---|---|
| public default boolean isLast() Are we on the last row of the result set?
| |
| moveRowRelative | back to summary |
|---|---|
| public default void moveRowRelative(int rows) Moves the current position relative 'rows' from the current position.
| |
| setCurrentRow | back to summary |
|---|---|
| public default void setCurrentRow(int rowNumber) Moves the current position in the result set to the given row number.
| |
| setMetadata | back to summary |
|---|---|
| public void setMetadata(ColumnDefinition columnDefinition) Sometimes the driver doesn't have metadata until after the statement has the result set in-hand (because it's cached), so it can call this to set it after the fact.
| |
| setOwner | back to summary |
|---|---|
| public void setOwner(ResultsetRowsOwner rs) Set the result set that 'owns' this RowData
| |
| wasEmpty | back to summary |
|---|---|
| public boolean wasEmpty() Did this result set have no rows?
| |