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 Object implements org.apache.hadoop.io.Writable
A simple container of objects that you can get and set.
  • Constructor Details

    • Container

      public Container()
  • Method Details

    • get

      public T get()
    • set

      public void set(T newValue)
    • write

      public void write(DataOutput dataOutput)
      Specified by:
      write in interface org.apache.hadoop.io.Writable
    • readFields

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