Package org.apache.hadoop.hbase.client
Class MultiAction
java.lang.Object
org.apache.hadoop.hbase.client.MultiAction
Container for Actions (i.e. Get, Delete, or Put), which are grouped by regionName. Intended to be
used with
AsyncProcess
.-
Field Summary
Modifier and TypeFieldDescriptionA map of regions to lists of puts/gets/deletes for that region.private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add an Action to this container based on it's regionName.void
Add an Action to this container based on it's regionName.long
int
Set<byte[]>
boolean
void
setNonceGroup
(long nonceGroup) int
size()
Get the total number of Actions
-
Field Details
-
actions
A map of regions to lists of puts/gets/deletes for that region. Package visible. -
nonceGroup
-
-
Constructor Details
-
MultiAction
public MultiAction()
-
-
Method Details
-
size
Get the total number of Actions- Returns:
- total number of Actions for all groups in this container.
-
add
Add an Action to this container based on it's regionName. If the regionName is wrong, the initial execution will fail, but will be automatically retried after looking up the correct region. -
add
Add an Action to this container based on it's regionName. If the regionName is wrong, the initial execution will fail, but will be automatically retried after looking up the correct region. -
setNonceGroup
-
getRegions
-
hasNonceGroup
-
getNonceGroup
-
getPriority
-