Class CopyData
java.lang.Object
io.netty.util.AbstractReferenceCounted
io.r2dbc.postgresql.message.backend.CopyData
- All Implemented Interfaces:
io.netty.util.ReferenceCounted, BackendMessage
public final class CopyData
extends io.netty.util.AbstractReferenceCounted
implements BackendMessage
The CopyData message.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.netty.util.AbstractReferenceCounted
refCnt, release, release, retain, retain, setRefCnt, touch
-
Constructor Details
-
CopyData
public CopyData(io.netty.buffer.ByteBuf data) Create a new message.- Parameters:
data- data that forms part of aCOPYdata stream. Always corresponds to a single data row.- Throws:
IllegalArgumentException- ifdataisnull
-
-
Method Details
-
equals
-
getData
public io.netty.buffer.ByteBuf getData()Returns data that forms part of aCOPYdata stream. Always corresponds to a single data row.- Returns:
- data that forms part of a
COPYdata stream.
-
hashCode
-
toString
-
deallocate
protected void deallocate()- Specified by:
deallocatein classio.netty.util.AbstractReferenceCounted
-
touch
-