Class CopyDataReceiver (0.6.1)

publicclass CopyDataReceiverimplementsCallable<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)

publicCopyDataReceiver(CopyStatementcopyStatement,ConnectionHandlerconnectionHandler)
Parameters
Name Description
copyStatement CopyStatement
connectionHandler ConnectionHandler

Methods

call()

publicVoidcall()
Returns
Type Description
Exceptions
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.