@InterfaceAudience.Private public class RegionCoprocessorServiceExec extends Object implements Row
Row
in order to
make use of the AsyncProcess
framework for batching multi-region calls per region server.
Note: This class should not be instantiated directly. Use HTable#batchCoprocessorService instead.
Modifier and Type | Field and Description |
---|---|
private com.google.protobuf.Descriptors.MethodDescriptor |
method |
private byte[] |
region |
private com.google.protobuf.Message |
request |
private byte[] |
startKey |
Constructor and Description |
---|
RegionCoprocessorServiceExec(byte[] region,
byte[] startKey,
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request) |
private final byte[] region
private final byte[] startKey
private final com.google.protobuf.Descriptors.MethodDescriptor method
private final com.google.protobuf.Message request
public RegionCoprocessorServiceExec(byte[] region, byte[] startKey, com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request)
public byte[] getRegion()
public com.google.protobuf.Descriptors.MethodDescriptor getMethod()
public com.google.protobuf.Message getRequest()
public int compareTo(Row o)
compareTo
in interface Comparable<Row>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.