Package io.oxia.client.api
Interface RangeScanConsumer
public interface RangeScanConsumer
Interface defining a consumer for Range Scan operations, allowing handling of chunked results,
errors, or completion signals for a range scan process.
-
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when the range scan operation completes.voidInvoked when an error occurs during the range scan operation.voidInvoked for each record returned by the range scan operation.
-
Method Details
-
onNext
Invoked for each record returned by the range scan operation.- Parameters:
result- The GetResult for the record.
-
onError
Invoked when an error occurs during the range scan operation.- Parameters:
throwable- the exception that occurred.
-
onCompleted
void onCompleted()Invoked when the range scan operation completes.
-