org.apache.storm.hbase.common
Class HBaseClient
java.lang.Object
org.apache.storm.hbase.common.HBaseClient
public class HBaseClient
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HBaseClient
public HBaseClient(Map<String,Object> map,
org.apache.hadoop.conf.Configuration configuration,
String tableName)
constructMutationReq
public List<org.apache.hadoop.hbase.client.Mutation> constructMutationReq(byte[] rowKey,
ColumnList cols,
org.apache.hadoop.hbase.client.Durability durability)
batchMutate
public void batchMutate(List<org.apache.hadoop.hbase.client.Mutation> mutations)
throws Exception
- Throws:
Exception
constructGetRequests
public org.apache.hadoop.hbase.client.Get constructGetRequests(byte[] rowKey,
HBaseProjectionCriteria projectionCriteria)
batchGet
public org.apache.hadoop.hbase.client.Result[] batchGet(List<org.apache.hadoop.hbase.client.Get> gets)
throws Exception
- Throws:
Exception
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.