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
A simple container of objects that you can get and set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()voidreadFields(DataInput dataInput) voidvoidwrite(DataOutput dataOutput)
-
Constructor Details
-
Container
public Container()
-
-
Method Details
-
get
-
set
-
write
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable
-
readFields
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable
-