Package org.postgresql.core
Class CommandCompleteParser
- java.lang.Object
-
- org.postgresql.core.CommandCompleteParser
-
public final class CommandCompleteParser extends Object
Parsesoid
androws
from aCommandComplete (B)
message (end of Execute).
-
-
Constructor Summary
Constructors Constructor Description CommandCompleteParser()
-
-
-
Method Detail
-
getOid
public long getOid()
-
getRows
public long getRows()
-
parse
public void parse(String status) throws PSQLException
ParsesCommandComplete (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.- Parameters:
status
- COMMAND OID ROWS message- Throws:
PSQLException
- in case the status cannot be parsed
-
-