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

public class AvroStringProducer extends BaseAvroProducer<VarCharVector>
Producer that produces string values from a VarCharVector, writes data to an Avro encoder.
  • Constructor Details

    • AvroStringProducer

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