Class AvroTimestampMillisConsumer

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

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

    • AvroTimestampMillisConsumer

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