org.apache.hadoop.hbase.hbql.client
Class HBatch<T>
java.lang.Object
org.apache.hadoop.hbase.hbql.client.HBatch<T>
public class HBatch<T>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HBatch
public HBatch(HConnection connection)
getConnection
public HConnection getConnection()
getActionMap
public Map<String,List<BatchAction>> getActionMap()
getActionList
public List<BatchAction> getActionList(String tableName)
insert
public void insert(T newrec)
throws HBqlException
- Throws:
HBqlException
delete
public void delete(T newrec)
throws HBqlException
- Throws:
HBqlException
apply
public void apply()
throws HBqlException
- Throws:
HBqlException
Copyright © 2011. All Rights Reserved.