org.apache.hadoop.hbase.client
Class MultiPutResponse

java.lang.Object
  extended by org.apache.hadoop.hbase.client.MultiPutResponse
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class MultiPutResponse
extends Object
implements org.apache.hadoop.io.Writable

Response class for MultiPut.


Field Summary
protected  Map<byte[],Integer> answers
           
protected  MultiPut request
           
 
Constructor Summary
MultiPutResponse()
           
 
Method Summary
 void addResult(byte[] regionName, int result)
           
 Integer getAnswer(byte[] region)
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected MultiPut request

answers

protected Map<byte[],Integer> answers
Constructor Detail

MultiPutResponse

public MultiPutResponse()
Method Detail

addResult

public void addResult(byte[] regionName,
                      int result)

getAnswer

public Integer getAnswer(byte[] region)

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2010 Apache Software Foundation. All Rights Reserved.