public class HBaseClient extends Object
Constructor and Description |
---|
HBaseClient(Map<String,Object> map,
org.apache.hadoop.conf.Configuration configuration,
String tableName) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.client.Result[] |
batchGet(List<org.apache.hadoop.hbase.client.Get> gets) |
void |
batchMutate(List<org.apache.hadoop.hbase.client.Mutation> mutations) |
org.apache.hadoop.hbase.client.Get |
constructGetRequests(byte[] rowKey,
HBaseProjectionCriteria projectionCriteria) |
List<org.apache.hadoop.hbase.client.Mutation> |
constructMutationReq(byte[] rowKey,
ColumnList cols,
org.apache.hadoop.hbase.client.Durability durability) |
public List<org.apache.hadoop.hbase.client.Mutation> constructMutationReq(byte[] rowKey, ColumnList cols, org.apache.hadoop.hbase.client.Durability durability)
public void batchMutate(List<org.apache.hadoop.hbase.client.Mutation> mutations) throws Exception
Exception
public org.apache.hadoop.hbase.client.Get constructGetRequests(byte[] rowKey, HBaseProjectionCriteria projectionCriteria)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.