Class AvroLongConsumer
java.lang.Object
org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer<BigIntVector>
org.apache.arrow.adapter.avro.consumers.AvroLongConsumer
- All Implemented Interfaces:
AutoCloseable,Consumer<BigIntVector>
Consumer which consume long type values from avro decoder. Write the data to
BigIntVector.-
Field Summary
Fields inherited from class org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer
currentIndex, vector -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsume(org.apache.avro.io.Decoder decoder) Consume a specific type value from avro decoder and write it to vector.Methods inherited from class org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer
addNull, close, getVector, resetValueVector, setPosition
-
Constructor Details
-
AvroLongConsumer
Instantiate a AvroLongConsumer.
-
-
Method Details
-
consume
Description copied from interface:ConsumerConsume a specific type value from avro decoder and write it to vector.- Parameters:
decoder- avro decoder to read data- Throws:
IOException- on error
-