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

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

    • AvroTimeSecProducer

      public AvroTimeSecProducer(TimeSecVector vector)
      Instantiate an AvroTimeSecProducer.
  • 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