java.lang.Object
org.apache.arrow.adapter.avro.producers.BaseAvroProducer<DateMilliVector>
org.apache.arrow.adapter.avro.producers.logical.AvroDateMilliProducer
All Implemented Interfaces:
Producer<DateMilliVector>

public class AvroDateMilliProducer extends BaseAvroProducer<DateMilliVector>
Producer that converts days in milliseconds from a DateMilliVector and produces date (INT) values, writes data to an Avro encoder.
  • Constructor Details

    • AvroDateMilliProducer

      public AvroDateMilliProducer(DateMilliVector vector)
      Instantiate an AvroDateMilliProducer.
  • Method Details

    • produce

      public void produce(org.apache.avro.io.Encoder encoder) throws IOException
      Description copied from interface: Producer
      Produce a specific type value from the vector and write it to avro encoder.
      Parameters:
      encoder - avro encoder to write data
      Throws:
      IOException - on error