Class IcebergWritable

  • All Implemented Interfaces:
    org.apache.hadoop.io.Writable

    public class IcebergWritable
    extends java.lang.Object
    implements org.apache.hadoop.io.Writable
    Wraps an Iceberg Record in a Writable which Hive can use in the SerDe.
    • Constructor Detail

      • IcebergWritable

        public IcebergWritable​(Record record,
                               Schema schema)
    • Method Detail

      • wrapRecord

        public void wrapRecord​(Record record)
      • record

        public Record record()
      • schema

        public Schema schema()
      • wrapSchema

        public void wrapSchema​(Schema schema)
      • write

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

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