| Modifier and Type | Field and Description |
|---|---|
| protected ColumnDefinition | columnDefinition
The metadata for this result set |
| protected final Lock | |
| protected Resultset | |
| protected int | resultId
The id (used when profiling) to identify us |
| protected ResultsetRows | rowData
The actual rows |
| protected String | serverInfo
Any info message from the server that was created while generating this result set (if 'info parsing' is enabled for the connection). |
| protected Row | thisRow
Pointer to current row data |
| protected long | updateCount
How many rows were affected by UPDATE/INSERT/DELETE? |
| protected long | updateId
Value generated for AUTO_INCREMENT columns |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearNextResultset()
Implements com. Clears the reference to the next result set in a multi-result set "chain". |
| public ColumnDefinition | |
| public Resultset | Returns: the nextResultSet, if any, null if none exists.Implements com. Returns the next ResultSet in a multi-resultset "chain", if any, null if none exists. |
| public int | getResultId()
Implements com. The id (used when profiling) to identify us |
| public ResultsetRows | |
| public String | getServerInfo()
Implements com. Returns the server informational message returned from a DDL or DML statement (if any), or null if none. |
| public long | getUpdateCount()
Implements com. Returns the update count for this result set (if one exists), otherwise -1. |
| public long | getUpdateID()
Implements com. Returns the AUTO_INCREMENT value for the DDL/DML statement which created this result set. |
| public boolean | hasRows()
Implements com. Does the result set contain rows, or is it the result of a DDL or DML statement? |
| public void | initRowsWithMetadata()
Implements com. Set metadata of this Resultset to ResultsetRows it contains. |
| public void | setColumnDefinition(ColumnDefinition
field-level metadata for the result set metadata)Implements com. Sometimes the driver doesn't have metadata before consuming the result set rows (because it's cached), or need to coerce the metadata returned by queries into that required by the particular specification (eg metadata returned by metadata queries into that required by the JDBC specification). |
| public void | setNextResultset(Resultset
Sets the next result set in the result set chain for multiple result sets. nextResultset)Implements com.
|
| columnDefinition | back to summary |
|---|---|
| protected ColumnDefinition columnDefinition The metadata for this result set | |
| lock | back to summary |
|---|---|
| protected final Lock lock | |
| nextResultset | back to summary |
|---|---|
| protected Resultset nextResultset | |
| resultId | back to summary |
|---|---|
| protected int resultId The id (used when profiling) to identify us | |
| rowData | back to summary |
|---|---|
| protected ResultsetRows rowData The actual rows | |
| serverInfo | back to summary |
|---|---|
| protected String serverInfo Any info message from the server that was created while generating this result set (if 'info parsing' is enabled for the connection). | |
| thisRow | back to summary |
|---|---|
| protected Row thisRow Pointer to current row data | |
| updateCount | back to summary |
|---|---|
| protected long updateCount How many rows were affected by UPDATE/INSERT/DELETE? | |
| updateId | back to summary |
|---|---|
| protected long updateId Value generated for AUTO_INCREMENT columns | |
| NativeResultset | back to summary |
|---|---|
| public NativeResultset() | |
| NativeResultset | back to summary |
|---|---|
| public NativeResultset(OkPacket ok) Create a result set for an executeUpdate statement. | |
| NativeResultset | back to summary |
|---|---|
| public NativeResultset(ResultsetRows rows) | |
| clearNextResultset | back to summary |
|---|---|
| public void clearNextResultset() Implements com. Doc from com. Clears the reference to the next result set in a multi-result set "chain".
| |
| getColumnDefinition | back to summary |
|---|---|
| public ColumnDefinition getColumnDefinition() Implements com.
| |
| getNextResultset | back to summary |
|---|---|
| public Resultset getNextResultset() Implements com. Doc from com. Returns the next ResultSet in a multi-resultset "chain", if any, null if none exists. | |
| getResultId | back to summary |
|---|---|
| public int getResultId() Implements com. Doc from com. The id (used when profiling) to identify us
| |
| getRows | back to summary |
|---|---|
| public ResultsetRows getRows() Implements com.
| |
| getServerInfo | back to summary |
|---|---|
| public String getServerInfo() Implements com. Doc from com. Returns the server informational message returned from a DDL or DML statement (if any), or null if none. | |
| getUpdateCount | back to summary |
|---|---|
| public long getUpdateCount() Implements com. Doc from com. Returns the update count for this result set (if one exists), otherwise -1.
| |
| getUpdateID | back to summary |
|---|---|
| public long getUpdateID() Implements com. Doc from com. Returns the AUTO_INCREMENT value for the DDL/DML statement which created this result set.
| |
| hasRows | back to summary |
|---|---|
| public boolean hasRows() Implements com. Doc from com. Does the result set contain rows, or is it the result of a DDL or DML statement?
| |
| initRowsWithMetadata | back to summary |
|---|---|
| public void initRowsWithMetadata() Implements com. Doc from com. Set metadata of this Resultset to ResultsetRows it contains.
| |
| setColumnDefinition | back to summary |
|---|---|
| public void setColumnDefinition(ColumnDefinition metadata) Implements com. Doc from com. Sometimes the driver doesn't have metadata before consuming the result set rows (because it's cached), or need to coerce the metadata returned by queries into that required by the particular specification (eg metadata returned by metadata queries into that required by the JDBC specification). So it can call this to set it after the fact.
| |
| setNextResultset | back to summary |
|---|---|
| public void setNextResultset(Resultset nextResultset) Implements com.
| |