org.apache.hadoop.hbase.client.coprocessor
Interface Batch.Call<T,R>
- Type Parameters:
T - the instance type to be passed to
call(Object)R - the return type from call(Object)
- Enclosing class:
- Batch
public static interface Batch.Call<T,R>
Defines a unit of work to be executed.
When used with
HTable.coprocessorService(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call)
the implementations call(Object) method will be invoked
with a proxy to the
CoprocessorService
sub-type instance.
- See Also:
org.apache.hadoop.hbase.client.coprocessor,
HTable.coprocessorService(byte[]),
HTable.coprocessorService(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call)
|
Method Summary |
R |
call(T instance)
|
call
R call(T instance)
throws IOException
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.