Class CopyDataReceiver (0.24.0)

public class CopyDataReceiver implements Callable<Void>

This message receiver is activated when the COPY sub-protocol is activated by a COPY statement. This handler will run and receive all incoming messages until the state of the connection changes from COPY_IN to either COPY_DONE or COPY_FAILED.

Inheritance

java.lang.Object > CopyDataReceiver

Implements

Callable<Void>

Constructors

CopyDataReceiver(CopyStatement copyStatement, ConnectionHandler connectionHandler)

public CopyDataReceiver(CopyStatement copyStatement, ConnectionHandler connectionHandler)
Parameters
NameDescription
copyStatementCopyStatement
connectionHandlerConnectionHandler

Methods

call()

public Void call()
Returns
TypeDescription
Void
Exceptions
TypeDescription
Exception