Class AvroNullConsumer
java.lang.Object
org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer<NullVector>
org.apache.arrow.adapter.avro.consumers.AvroNullConsumer
- All Implemented Interfaces:
AutoCloseable
,Consumer<NullVector>
Consumer which consume null type values from avro decoder. Corresponding to
NullVector
.-
Field Summary
Fields inherited from class org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer
currentIndex, vector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
consume
(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
-
AvroNullConsumer
-
-
Method Details
-
consume
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
-