Class DataRow

java.lang.Object
io.netty.util.AbstractReferenceCounted
io.r2dbc.postgresql.message.backend.DataRow
All Implemented Interfaces:
io.netty.util.ReferenceCounted, BackendMessage

public final class DataRow extends io.netty.util.AbstractReferenceCounted implements BackendMessage
The DataRow message.
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataRow(io.netty.buffer.ByteBuf... columns)
    Create a new message.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    boolean
     
    io.netty.buffer.ByteBuf[]
    Returns the values of the columns.
    int
     
    io.netty.util.ReferenceCounted
     
    io.netty.util.ReferenceCounted
    retain(int increment)
     
     
    touch(Object hint)
     

    Methods inherited from class io.netty.util.AbstractReferenceCounted

    refCnt, release, release, setRefCnt, touch

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DataRow

      public DataRow(io.netty.buffer.ByteBuf... columns)
      Create a new message.
      Parameters:
      columns - the values of the columns
      Throws:
      IllegalArgumentException - if columns is null
  • Method Details

    • equals

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

      public io.netty.buffer.ByteBuf[] getColumns()
      Returns the values of the columns.
      Returns:
      the values of the columns
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • retain

      public io.netty.util.ReferenceCounted retain()
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
      Overrides:
      retain in class io.netty.util.AbstractReferenceCounted
    • retain

      public io.netty.util.ReferenceCounted retain(int increment)
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
      Overrides:
      retain in class io.netty.util.AbstractReferenceCounted
    • deallocate

      protected void deallocate()
      Specified by:
      deallocate in class io.netty.util.AbstractReferenceCounted
    • touch

      public DataRow touch(Object hint)
      Specified by:
      touch in interface io.netty.util.ReferenceCounted