org.apache.hadoop.hbase.client
Class RegionCoprocessorServiceExec
java.lang.Object
org.apache.hadoop.hbase.client.RegionCoprocessorServiceExec
- All Implemented Interfaces:
- Comparable<Row>, Row
@InterfaceAudience.Private
public class RegionCoprocessorServiceExec
- extends Object
- implements Row
Represents a coprocessor service method execution against a single region. While coprocessor
service calls are performed against a region, this class implements 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.
RegionCoprocessorServiceExec
public RegionCoprocessorServiceExec(byte[] region,
byte[] startKey,
Descriptors.MethodDescriptor method,
Message request)
getRow
public byte[] getRow()
- Specified by:
getRow
in interface Row
- Returns:
- The row.
getRegion
public byte[] getRegion()
getMethod
public Descriptors.MethodDescriptor getMethod()
getRequest
public Message getRequest()
compareTo
public int compareTo(Row o)
- Specified by:
compareTo
in interface Comparable<Row>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.