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 Type
    Method
    Description
    void
    Invoked when the range scan operation completes.
    void
    onError(Throwable throwable)
    Invoked when an error occurs during the range scan operation.
    void
    onNext(GetResult result)
    Invoked for each record returned by the range scan operation.
  • Method Details

    • onNext

      void onNext(GetResult result)
      Invoked for each record returned by the range scan operation.
      Parameters:
      result - The GetResult for the record.
    • onError

      void onError(Throwable throwable)
      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.