Class AvroTimeMillisConsumer

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

public class AvroTimeMillisConsumer extends BaseAvroConsumer<TimeMilliVector>
Consumer which consume date time-millis values from avro decoder. Write the data to TimeMilliVector.
  • Constructor Details

    • AvroTimeMillisConsumer

      public AvroTimeMillisConsumer(TimeMilliVector vector)
      Instantiate a AvroTimeMilliConsumer.
  • 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