public class SelectEventVisitor extends Object
| 构造器 | 说明 |
|---|---|
SelectEventVisitor() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
visitContinuationEvent() |
Informs that the server is still processing the Select request.
|
void |
visitEndEvent() |
Informs than the request has finished successfully.
|
void |
visitProgressEvent(long bytesScanned,
long bytesProcessed,
long bytesReturned) |
Periodic progress information
|
void |
visitRecordsEvent(ByteBuffer payload) |
Informs of the next chunk to be processed
The content of the chunk is only known by the wire format input serialization format.
|
void |
visitStatsEvent(long bytesScanned,
long bytesProcessed,
long bytesReturned) |
Final statistics when the request has finished successfully
|
public void visitRecordsEvent(ByteBuffer payload)
payload - Buffer with the next chunk of the input streampublic void visitContinuationEvent()
public void visitProgressEvent(long bytesScanned,
long bytesProcessed,
long bytesReturned)
bytesScanned - Current number of input bytes scanned by the serverbytesProcessed - Current number of input bytes processed by the server, less than or equal than the
scanned bytes.bytesReturned - Current number of bytes returned as chunks by the serverpublic void visitStatsEvent(long bytesScanned,
long bytesProcessed,
long bytesReturned)
bytesScanned - Total number of input bytes scanned by the serverbytesProcessed - Total number of input bytes processed by the server, less than or equal than the
scanned bytes.bytesReturned - Total number of bytes returned as chunks by the serverpublic void visitEndEvent()
Copyright © 2025. All rights reserved.