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 each region's coprocessor Service
implementation.
- 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 © 2007-2015 The Apache Software Foundation. All Rights Reserved.