@InterfaceAudience.Private public class Action<R> extends Object implements Comparable<R>
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.Modifier and Type | Field and Description |
---|---|
private Row |
action |
private long |
nonce |
private int |
originalIndex |
private int |
replicaId |
Constructor and Description |
---|
Action(Action<R> action,
int replicaId)
Creates an action for a particular replica from original action.
|
Action(Row action,
int originalIndex) |
private Row action
private int originalIndex
private long nonce
private int replicaId
public Action(Row action, int originalIndex)
public void setNonce(long nonce)
public boolean hasNonce()
public Row getAction()
public int getOriginalIndex()
public int getReplicaId()
public int compareTo(Object o)
compareTo
in interface Comparable<R>
public long getNonce()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.