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

public class AvroEnumProducer extends BaseAvroProducer<IntVector>
Producer that produces enum values from a dictionary-encoded IntVector, writes data to an Avro encoder.
  • Constructor Details

    • AvroEnumProducer

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