Class AvroTinyIntProducer

java.lang.Object
org.apache.arrow.adapter.avro.producers.BaseAvroProducer<TinyIntVector>
org.apache.arrow.adapter.avro.producers.AvroTinyIntProducer
All Implemented Interfaces:
Producer<TinyIntVector>

public class AvroTinyIntProducer extends BaseAvroProducer<TinyIntVector>
Producer that produces int values from an TinyIntVector, writes data to an avro encoder.
  • Constructor Details

    • AvroTinyIntProducer

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