@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public abstract class BaseRowProcessorEndpoint<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message> extends RowProcessorProtos.RowProcessorService implements CoprocessorService, Coprocessor
Region.processRowsWithLocks(org.apache.hadoop.hbase.regionserver.RowProcessor<?, ?>) and Coprocessor endpoints.RowProcessorProtos.RowProcessorService.BlockingInterface, RowProcessorProtos.RowProcessorService.Interface, RowProcessorProtos.RowProcessorService.StubCoprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description | 
|---|
| BaseRowProcessorEndpoint() | 
| Modifier and Type | Method and Description | 
|---|---|
| com.google.protobuf.Service | getService() | 
| void | process(com.google.protobuf.RpcController controller,
       RowProcessorProtos.ProcessRequest request,
       com.google.protobuf.RpcCallback<RowProcessorProtos.ProcessResponse> done)Pass a processor to region to process multiple rows atomically. | 
| void | start(CoprocessorEnvironment env)Stores a reference to the coprocessor environment provided by the
  RegionCoprocessorHostfrom the region where this
 coprocessor is loaded. | 
| void | stop(CoprocessorEnvironment env) | 
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStubpublic void process(com.google.protobuf.RpcController controller,
           RowProcessorProtos.ProcessRequest request,
           com.google.protobuf.RpcCallback<RowProcessorProtos.ProcessResponse> done)
TestRowProcessorEndpoint for example.
 The request contains information for constructing processor 
 (see constructRowProcessorFromRequest(org.apache.hadoop.hbase.protobuf.generated.RowProcessorProtos.ProcessRequest). The processor object defines
 the read-modify-write procedure.process in class RowProcessorProtos.RowProcessorServicepublic com.google.protobuf.Service getService()
getService in interface CoprocessorServicepublic void start(CoprocessorEnvironment env) throws IOException
RegionCoprocessorHost from the region where this
 coprocessor is loaded.  Since this is a coprocessor endpoint, it always expects to be loaded
 on a table region, so always expects this to be an instance of
 RegionCoprocessorEnvironment.start in interface Coprocessorenv - the environment provided by the coprocessor hostIOException - if the provided environment is not an instance of
 RegionCoprocessorEnvironmentpublic void stop(CoprocessorEnvironment env) throws IOException
stop in interface CoprocessorIOExceptionCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.