@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 |
COMPARATOR
Constructor and Description |
---|
RegionCoprocessorServiceExec(byte[] region,
byte[] startKey,
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Row o)
Compare this row to another row.
|
boolean |
equals(Object obj) |
com.google.protobuf.Descriptors.MethodDescriptor |
getMethod() |
byte[] |
getRegion() |
com.google.protobuf.Message |
getRequest() |
byte[] |
getRow()
Returns The row.
|
int |
hashCode() |
String |
toString() |
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)
Row
compareTo
in interface Comparable<Row>
compareTo
in interface Row
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.