public static class AvroDecimalConsumer.BytesDecimalConsumer extends AvroDecimalConsumer
AvroDecimalConsumer.BytesDecimalConsumer, AvroDecimalConsumer.FixedDecimalConsumer
currentIndex, vector
Constructor and Description |
---|
BytesDecimalConsumer(DecimalVector vector)
Instantiate a BytesDecimalConsumer.
|
Modifier and Type | Method and Description |
---|---|
void |
consume(org.apache.avro.io.Decoder decoder)
Consume a specific type value from avro decoder and write it to vector.
|
addNull, close, getVector, resetValueVector, setPosition
public BytesDecimalConsumer(DecimalVector vector)
public void consume(org.apache.avro.io.Decoder decoder) throws IOException
Consumer
decoder
- avro decoder to read dataIOException
- on errorCopyright © 2023 The Apache Software Foundation. All rights reserved.