パッケージ org.postgresql.copy
インタフェース CopyOut
- すべてのスーパーインタフェース:
CopyOperation
- 既知のサブインタフェースのリスト:
CopyDual
- 既知の実装クラスのリスト:
CopyDualImpl
,CopyOutImpl
,PGCopyInputStream
-
メソッドの概要
修飾子とタイプメソッド説明byte @Nullable []
Blocks wait for a row of data to be received from server on an active copy operation.byte @Nullable []
readFromCopy
(boolean block) Wait for a row of data to be received from server on an active copy operation.インタフェースから継承されたメソッド org.postgresql.copy.CopyOperation
cancelCopy, getFieldCount, getFieldFormat, getFormat, getHandledRowCount, isActive
-
メソッドの詳細
-
readFromCopy
Blocks wait for a row of data to be received from server on an active copy operation.- 戻り値:
- byte array received from server, null if server complete copy operation
- 例外:
SQLException
- if something goes wrong for example socket timeout
-
readFromCopy
Wait for a row of data to be received from server on an active copy operation.- パラメータ:
block
-true
if need wait data from server otherwisefalse
and will read pending message from server- 戻り値:
- byte array received from server, if pending message from server absent and use no blocking mode return null
- 例外:
SQLException
- if something goes wrong for example socket timeout
-