Class AvroIntConsumer

java.lang.Object
org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer<IntVector>
org.apache.arrow.adapter.avro.consumers.AvroIntConsumer
All Implemented Interfaces:
AutoCloseable, Consumer<IntVector>

public class AvroIntConsumer extends BaseAvroConsumer<IntVector>
Consumer which consume int type values from avro decoder. Write the data to IntVector.
  • Constructor Details

    • AvroIntConsumer

      public AvroIntConsumer(IntVector vector)
      Instantiate a AvroIntConsumer.
  • Method Details

    • consume

      public void consume(org.apache.avro.io.Decoder decoder) throws IOException
      Description copied from interface: Consumer
      Consume a specific type value from avro decoder and write it to vector.
      Parameters:
      decoder - avro decoder to read data
      Throws:
      IOException - on error