Class AvroTimeSecProducer
java.lang.Object
org.apache.arrow.adapter.avro.producers.BaseAvroProducer<TimeSecVector>
org.apache.arrow.adapter.avro.producers.logical.AvroTimeSecProducer
- All Implemented Interfaces:
Producer<TimeSecVector>
Producer that converts seconds from a
TimeSecVector
and produces time (microseconds)
values, writes data to an Avro encoder.-
Field Summary
Fields inherited from class org.apache.arrow.adapter.avro.producers.BaseAvroProducer
currentIndex, vector
-
Constructor Summary
ConstructorsConstructorDescriptionAvroTimeSecProducer
(TimeSecVector vector) Instantiate an AvroTimeSecProducer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
produce
(org.apache.avro.io.Encoder encoder) Produce a specific type value from the vector and write it to avro encoder.Methods inherited from class org.apache.arrow.adapter.avro.producers.BaseAvroProducer
getVector, resetValueVector, setPosition, skipNull
-
Constructor Details
-
AvroTimeSecProducer
Instantiate an AvroTimeSecProducer.
-
-
Method Details
-
produce
Description copied from interface:Producer
Produce a specific type value from the vector and write it to avro encoder.- Parameters:
encoder
- avro encoder to write data- Throws:
IOException
- on error
-