Package org.apache.iceberg.mr.mapred
Class Container<T>
- java.lang.Object
 - 
- org.apache.iceberg.mr.mapred.Container<T>
 
 
- 
- Type Parameters:
 T- the Java type of the object held by this container
- All Implemented Interfaces:
 org.apache.hadoop.io.Writable
public class Container<T> extends java.lang.Object implements org.apache.hadoop.io.WritableA simple container of objects that you can get and set. 
- 
- 
Constructor Summary
Constructors Constructor Description Container() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()voidreadFields(java.io.DataInput dataInput)voidset(T newValue)voidwrite(java.io.DataOutput dataOutput) 
 - 
 
- 
- 
Method Detail
- 
get
public T get()
 
- 
set
public void set(T newValue)
 
- 
write
public void write(java.io.DataOutput dataOutput)
- Specified by:
 writein interfaceorg.apache.hadoop.io.Writable
 
- 
readFields
public void readFields(java.io.DataInput dataInput)
- Specified by:
 readFieldsin interfaceorg.apache.hadoop.io.Writable
 
 - 
 
 -