@InterfaceAudience.Private public class HTableUtil extends Object
| Constructor and Description |
|---|
HTableUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bucketRsBatch(HTable htable,
List<Row> rows)
Processes a List of Rows (Put, Delete) and writes them to an HTable instance in RegionServer buckets via the htable.batch method.
|
static void |
bucketRsPut(HTable htable,
List<Put> puts)
Processes a List of Puts and writes them to an HTable instance in RegionServer buckets via the htable.put method.
|
public static void bucketRsPut(HTable htable, List<Put> puts) throws IOException
htable - HTable instance for target HBase tableputs - List of Put instancesIOException - if a remote or network exception occurspublic static void bucketRsBatch(HTable htable, List<Row> rows) throws IOException
htable - HTable instance for target HBase tablerows - List of Row instancesIOException - if a remote or network exception occursCopyright © 2014 The Apache Software Foundation. All rights reserved.