パッケージ org.postgresql.core

クラス CommandCompleteParser

java.lang.Object
org.postgresql.core.CommandCompleteParser

public final class CommandCompleteParser extends Object
Parses oid and rows from a CommandComplete (B) message (end of Execute).
  • コンストラクタの詳細

    • CommandCompleteParser

      public CommandCompleteParser()
  • メソッドの詳細

    • getOid

      public long getOid()
    • getRows

      public long getRows()
    • parse

      public void parse(String status) throws PSQLException
      Parses 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 message
      例外:
      PSQLException - in case the status cannot be parsed
    • toString

      public String toString()
      オーバーライド:
      toString クラス内 Object
    • equals

      public boolean equals(@Nullable Object o)
      オーバーライド:
      equals クラス内 Object
    • hashCode

      public int hashCode()
      オーバーライド:
      hashCode クラス内 Object