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.coprocessorExec(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback) the implementations call(Object) method will be invoked with a proxy to the CoprocessorProtocol sub-type instance.

See Also:
org.apache.hadoop.hbase.client.coprocessor, HTable.coprocessorExec(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call), HTable.coprocessorExec(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback)

Method Summary
 R call(T instance)
           
 

Method Detail

call

R call(T instance)
       throws IOException
Throws:
IOException


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