org.apache.hadoop.hbase.hbql.client
Class HBatch<T>

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.client.HBatch<T>

public class HBatch<T>
extends Object


Constructor Summary
HBatch(HConnection connection)
           
 
Method Summary
 void apply()
           
 void delete(T newrec)
           
 List<BatchAction> getActionList(String tableName)
           
 Map<String,List<BatchAction>> getActionMap()
           
 HConnection getConnection()
           
 void insert(T newrec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HBatch

public HBatch(HConnection connection)
Method Detail

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.