Class AvroTimestampMicrosConsumer

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

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

    • AvroTimestampMicrosConsumer

      public AvroTimestampMicrosConsumer(TimeStampMicroVector vector)
      Instantiate a AvroTimestampMicroConsumer.
  • 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