@InterfaceAudience.Private @Deprecated public class HTableUtil extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
INITIAL_LIST_SIZE
Deprecated.
|
Constructor and Description |
---|
HTableUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
bucketRsBatch(HTable htable,
List<Row> rows)
Deprecated.
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)
Deprecated.
Processes a List of Puts and writes them to an HTable instance in RegionServer buckets via the htable.put method.
|
private static Map<String,List<Put>> |
createRsPutMap(RegionLocator htable,
List<Put> puts)
Deprecated.
|
private static Map<String,List<Row>> |
createRsRowMap(RegionLocator htable,
List<Row> rows)
Deprecated.
|
private static final int INITIAL_LIST_SIZE
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 occursprivate static Map<String,List<Put>> createRsPutMap(RegionLocator htable, List<Put> puts) throws IOException
IOException
private static Map<String,List<Row>> createRsRowMap(RegionLocator htable, List<Row> rows) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.