Class AvroSmallIntProducer
java.lang.Object
org.apache.arrow.adapter.avro.producers.BaseAvroProducer<SmallIntVector>
org.apache.arrow.adapter.avro.producers.AvroSmallIntProducer
- All Implemented Interfaces:
Producer<SmallIntVector>
Producer that produces int values from an
SmallIntVector, writes data to an avro encoder.-
Field Summary
Fields inherited from class org.apache.arrow.adapter.avro.producers.BaseAvroProducer
currentIndex, vector -
Constructor Summary
ConstructorsConstructorDescriptionAvroSmallIntProducer(SmallIntVector vector) Instantiate an AvroSmallIntProducer. -
Method Summary
Modifier and TypeMethodDescriptionvoidproduce(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
-
AvroSmallIntProducer
Instantiate an AvroSmallIntProducer.
-
-
Method Details
-
produce
Description copied from interface:ProducerProduce a specific type value from the vector and write it to avro encoder.- Parameters:
encoder- avro encoder to write data- Throws:
IOException- on error
-