org.apache.hadoop.hbase.client
Class MultiPut

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

Deprecated. Use MultiAction instead Data type class for putting multiple regions worth of puts in one RPC.

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


Field Summary
 HServerAddress address
          Deprecated.  
 Map<byte[],List<Put>> puts
          Deprecated.  
 
Constructor Summary
MultiPut()
          Deprecated. Writable constructor only.
MultiPut(HServerAddress a)
          Deprecated. MultiPut for putting multiple regions worth of puts in one RPC.
 
Method Summary
 void add(byte[] regionName, Put aPut)
          Deprecated.  
 Collection<Put> allPuts()
          Deprecated.  
 void readFields(DataInput in)
          Deprecated.  
 int size()
          Deprecated.  
 void write(DataOutput out)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

public HServerAddress address
Deprecated. 

puts

public Map<byte[],List<Put>> puts
Deprecated. 
Constructor Detail

MultiPut

public MultiPut()
Deprecated. 
Writable constructor only.


MultiPut

public MultiPut(HServerAddress a)
Deprecated. 
MultiPut for putting multiple regions worth of puts in one RPC.

Parameters:
a - address
Method Detail

size

public int size()
Deprecated. 

add

public void add(byte[] regionName,
                Put aPut)
Deprecated. 

allPuts

public Collection<Put> allPuts()
Deprecated. 

write

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

readFields

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


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.