Class ParameterStatus

java.lang.Object
io.r2dbc.postgresql.message.backend.ParameterStatus
All Implemented Interfaces:
BackendMessage

public final class ParameterStatus extends Object implements BackendMessage
The ParameterStatus message.
  • Constructor Details

    • ParameterStatus

      public ParameterStatus(String name, String value)
      Create a new message.
      Parameters:
      name - the name of the run-time parameter being reported
      value - the current value of the parameter
      Throws:
      IllegalArgumentException - if status or value is null
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getName

      public String getName()
      Returns the name of the run-time parameter being reported.
      Returns:
      the name of the run-time parameter being reported
    • getValue

      public String getValue()
      Returns the current value of the parameter.
      Returns:
      the current value of the parameter
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object