org.apache.hadoop.hbase.client
Class Action<R>
java.lang.Object
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 extends org.apache.hadoop.hbase.client.Row>, 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)
|
Action
public Action(Row action,
int originalIndex)
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.