Class AvroDecimalConsumer
java.lang.Object
org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer<DecimalVector>
org.apache.arrow.adapter.avro.consumers.logical.AvroDecimalConsumer
- All Implemented Interfaces:
AutoCloseable
,Consumer<DecimalVector>
- Direct Known Subclasses:
AvroDecimalConsumer.BytesDecimalConsumer
,AvroDecimalConsumer.FixedDecimalConsumer
Consumer which consume decimal type values from avro decoder. Write the data to
DecimalVector
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Consumer for decimal logical type with original bytes type.static class
Consumer for decimal logical type with original fixed type. -
Field Summary
Fields inherited from class org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer
currentIndex, vector
-
Constructor Summary
ConstructorDescriptionAvroDecimalConsumer
(DecimalVector vector) Instantiate a AvroDecimalConsumer. -
Method Summary
Methods inherited from class org.apache.arrow.adapter.avro.consumers.BaseAvroConsumer
addNull, close, getVector, resetValueVector, setPosition
-
Constructor Details
-
AvroDecimalConsumer
Instantiate a AvroDecimalConsumer.
-