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

public class AvroDoubleConsumer extends BaseAvroConsumer<Float8Vector>
Consumer which consume double type values from avro decoder. Write the data to Float8Vector.
  • Constructor Details

    • AvroDoubleConsumer

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