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
FieldsModifier and TypeFieldDescriptionA map of regions to lists of puts/gets/deletes for that region.private long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an Action to this container based on it's regionName.voidAdd an Action to this container based on it's regionName.longintSet<byte[]>booleanvoidsetNonceGroup(long nonceGroup) intsize()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
-