public class ResultWrapper
extends java.lang.Object
Constructor and Description |
---|
ResultWrapper(long updateCount,
long insertOID,
SqlCommandType commandType) |
ResultWrapper(java.sql.ResultSet rs,
SqlCommandType commandType) |
Modifier and Type | Method and Description |
---|---|
ResultWrapper |
append(ResultWrapper newResult)
Append a result to its internal chain of results.
|
long |
getInsertOID() |
ResultWrapper |
getNext() |
java.sql.ResultSet |
getResultSet() |
long |
getUpdateCount() |
public ResultWrapper(java.sql.ResultSet rs, SqlCommandType commandType)
public ResultWrapper(long updateCount, long insertOID, SqlCommandType commandType)
public java.sql.ResultSet getResultSet()
public long getUpdateCount()
public long getInsertOID()
public ResultWrapper getNext()
public ResultWrapper append(ResultWrapper newResult)
SET
commands as SET
is discarded if there are
other results in the chain.
If this is a SET
command, the newResult
is returned has the new head of
the chain.
If the newResult is a SET
command, it's not appended and this is returned.newResult
- the result to appendCopyright © 2023 PostgreSQL Global Development Group. All rights reserved.