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

public class AvroBytesProducer extends BaseAvroProducer<VarBinaryVector>
Producer that produces byte array values from a VarBinaryVector, writes data to an Avro encoder.
  • Constructor Details

    • AvroBytesProducer

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