org.apache.hadoop.hbase.client.coprocessor
Interface Batch.Callback<R>

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

public static interface Batch.Callback<R>

Defines a generic callback to be triggered for each Batch.Call.call(Object) result.

When used with HTable.coprocessorService(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.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:
HTable.coprocessorService(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call)

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

Method Detail

update

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


Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.