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

public class AvroTimeNanoProducer extends BaseAvroProducer<TimeNanoVector>
Producer that converts nanoseconds from a TimeNanoVector and produces time (microseconds) values, writes data to an Avro encoder.
  • Constructor Details

    • AvroTimeNanoProducer

      public AvroTimeNanoProducer(TimeNanoVector vector)
  • 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