public final class CommandCompleteParser extends Object
oid
and rows
from a CommandComplete (B)
message (end of Execute).Constructor and Description |
---|
CommandCompleteParser() |
public long getOid()
public long getRows()
public void parse(String status) throws PSQLException
CommandComplete (B)
message.
Status is in the format of "COMMAND OID ROWS" where both 'OID' and 'ROWS' are optional
and COMMAND can have spaces within it, like CREATE TABLE.status
- COMMAND OID ROWS messagePSQLException
- in case the status cannot be parsedCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.