org.apache.hadoop.hbase.client
Class RegionCoprocessorServiceExec

java.lang.Object
  extended by 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.


Constructor Summary
RegionCoprocessorServiceExec(byte[] region, byte[] startKey, Descriptors.MethodDescriptor method, Message request)
           
 
Method Summary
 int compareTo(Row o)
           
 boolean equals(Object obj)
           
 Descriptors.MethodDescriptor getMethod()
           
 byte[] getRegion()
           
 Message getRequest()
           
 byte[] getRow()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionCoprocessorServiceExec

public RegionCoprocessorServiceExec(byte[] region,
                                    byte[] startKey,
                                    Descriptors.MethodDescriptor method,
                                    Message request)
Method Detail

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.