org.apache.hadoop.hbase.client
Class Action<R>

java.lang.Object
  extended by org.apache.hadoop.hbase.client.Action<R>
All Implemented Interfaces:
Comparable<R>

@InterfaceAudience.Public
@InterfaceStability.Stable
public class Action<R>
extends Object
implements Comparable<R>

A Get, Put or Delete associated with it's region. Used internally by HTable.batch(java.util.List, java.lang.Object[]) to associate the action with it's region and maintain the index from the original request.


Constructor Summary
Action(Row action, int originalIndex)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 Row getAction()
           
 int getOriginalIndex()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action(Row action,
              int originalIndex)
Method Detail

getAction

public Row getAction()

getOriginalIndex

public int getOriginalIndex()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable<R>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.