Interface Batch.Callback<R>

Type Parameters:
R - the return type from the associated Batch.Call.call(Object)
Enclosing class:
Batch

@Public public static interface Batch.Callback<R>
Defines a generic callback to be triggered for each Batch.Call.call(Object) result.

When used with Table.coprocessorService(Class, byte[], byte[], Batch.Call) the implementation's update(byte[], byte[], Object) method will be called with the Batch.Call.call(Object) return value from each region in the selected range.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(byte[] region, byte[] row, R result)
     
  • Method Details

    • update

      void update(byte[] region, byte[] row, R result)