Class AvroFloatConsumer

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

public class AvroFloatConsumer extends BaseAvroConsumer<Float4Vector>
Consumer which consume float type values from avro decoder. Write the data to Float4Vector.
  • Constructor Details

    • AvroFloatConsumer

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