Class AvroTimeMicroConsumer
java.lang.Object
org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer<TimeMicroVector>
org.apache.arrow.adapter.avro.consumers.logical.AvroTimeMicroConsumer
- All Implemented Interfaces:
AutoCloseable
,Consumer<TimeMicroVector>
Consumer which consume date time-micro values from avro decoder. Write the data to
TimeMicroVector
.-
Field Summary
Fields inherited from class org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer
currentIndex, vector
-
Constructor Summary
ConstructorDescriptionAvroTimeMicroConsumer
(TimeMicroVector vector) Instantiate a AvroTimeMicroConsumer. -
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
-
AvroTimeMicroConsumer
Instantiate a AvroTimeMicroConsumer.
-
-
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
-