org.apache.hadoop.hbase.client
Class MultiPut

java.lang.Object
  extended by org.apache.hadoop.hbase.client.Operation
      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 Operation
implements org.apache.hadoop.io.Writable


Field Summary
 HServerAddress address
          Deprecated.  
static int DEFAULT_MAX_PUT_OUTPUT
          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.  
 Map<String,Object> getFingerprint()
          Deprecated. Compile the table and column family (i.e.
 void readFields(DataInput in)
          Deprecated.  
 int size()
          Deprecated.  
 Map<String,Object> toMap(int maxCols)
          Deprecated. Compile the details beyond the scope of getFingerprint (mostly toMap from the Puts) into a Map along with the fingerprinted information.
 void write(DataOutput out)
          Deprecated.  
 
Methods inherited from class org.apache.hadoop.hbase.client.Operation
toJSON, toJSON, toMap, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

address

public HServerAddress address
Deprecated. 

DEFAULT_MAX_PUT_OUTPUT

public static final int DEFAULT_MAX_PUT_OUTPUT
Deprecated. 
See Also:
Constant Field Values

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. 

getFingerprint

public Map<String,Object> getFingerprint()
Deprecated. 
Compile the table and column family (i.e. schema) information into a String. Useful for parsing and aggregation by debugging, logging, and administration tools.

Specified by:
getFingerprint in class Operation
Returns:
Map

toMap

public Map<String,Object> toMap(int maxCols)
Deprecated. 
Compile the details beyond the scope of getFingerprint (mostly toMap from the Puts) into a Map along with the fingerprinted information. Useful for debugging, logging, and administration tools.

Specified by:
toMap in class Operation
Parameters:
maxCols - a limit on the number of columns output prior to truncation
Returns:
Map

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 © 2012 The Apache Software Foundation. All Rights Reserved.