|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.HClient.BatchHandler
protected class HClient.BatchHandler
Constructor Summary | |
---|---|
HClient.BatchHandler()
constructor |
Method Summary | |
---|---|
void |
commit(long timestamp)
Finalize a batch mutation |
void |
delete(long lockid,
Text column)
Delete the value for a column |
void |
put(long lockid,
Text column,
byte[] value)
Change the value for the specified column |
long |
startUpdate(Text row)
Start a batch row insertion/update. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HClient.BatchHandler()
Method Detail |
---|
public long startUpdate(Text row)
row
- Name of row to start update against.
public void put(long lockid, Text column, byte[] value)
lockid
- lock id returned from startUpdatecolumn
- column whose value is being setvalue
- new value for columnpublic void delete(long lockid, Text column)
lockid
- - lock id returned from startUpdatecolumn
- - name of column whose value is to be deletedpublic void commit(long timestamp) throws IOException
timestamp
- time to associate with all the changes
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |