@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public class Export extends ExportProtos.ExportService implements RegionCoprocessor
Import to read it back in again. It is implemented by the endpoint
technique.Export| Modifier and Type | Class and Description |
|---|---|
static class |
Export.Response |
ExportProtos.ExportService.BlockingInterface, ExportProtos.ExportService.Interface, ExportProtos.ExportService.StubCoprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description |
|---|
Export() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(com.google.protobuf.RpcController controller,
ExportProtos.ExportRequest request,
com.google.protobuf.RpcCallback<ExportProtos.ExportResponse> done)
rpc export(.hbase.pb.ExportRequest) returns (.hbase.pb.ExportResponse); |
Iterable<com.google.protobuf.Service> |
getServices()
Coprocessor endpoints providing protobuf services should override this method.
|
static void |
main(String[] args) |
static Map<byte[],Export.Response> |
run(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
Scan scan,
org.apache.hadoop.fs.Path dir) |
void |
start(CoprocessorEnvironment environment)
Called by the
CoprocessorEnvironment during it's own startup to initialize the
coprocessor. |
void |
stop(CoprocessorEnvironment env)
Called by the
CoprocessorEnvironment during it's own shutdown to stop the
coprocessor. |
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStubclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBulkLoadObserver, getEndpointObserver, getRegionObserverpublic static Map<byte[],Export.Response> run(org.apache.hadoop.conf.Configuration conf, TableName tableName, Scan scan, org.apache.hadoop.fs.Path dir) throws Throwable
Throwablepublic void start(CoprocessorEnvironment environment) throws IOException
CoprocessorCoprocessorEnvironment during it's own startup to initialize the
coprocessor.start in interface CoprocessorIOExceptionpublic void stop(CoprocessorEnvironment env) throws IOException
CoprocessorCoprocessorEnvironment during it's own shutdown to stop the
coprocessor.stop in interface CoprocessorIOExceptionpublic Iterable<com.google.protobuf.Service> getServices()
CoprocessorgetServices in interface CoprocessorServices or empty collection. Implementations should never
return null.public void export(com.google.protobuf.RpcController controller,
ExportProtos.ExportRequest request,
com.google.protobuf.RpcCallback<ExportProtos.ExportResponse> done)
ExportProtos.ExportServicerpc export(.hbase.pb.ExportRequest) returns (.hbase.pb.ExportResponse);export in class ExportProtos.ExportServiceCopyright © 2007–2019 Cloudera. All rights reserved.