Class AvroSmallIntProducer

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

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

    • AvroSmallIntProducer

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