Class AvroDateConsumer

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

public class AvroDateConsumer extends BaseAvroConsumer<DateDayVector>
Consumer which consume date type values from avro decoder. Write the data to DateDayVector.
  • Constructor Details

    • AvroDateConsumer

      public AvroDateConsumer(DateDayVector vector)
      Instantiate a AvroDateConsumer.
  • 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