public class AvroIntConsumer extends BaseAvroConsumer<IntVector>
IntVector.currentIndex, vector| Constructor and Description |
|---|
AvroIntConsumer(IntVector vector)
Instantiate a AvroIntConsumer.
|
| 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, setPositionpublic AvroIntConsumer(IntVector vector)
public void consume(org.apache.avro.io.Decoder decoder)
throws IOException
Consumerdecoder - avro decoder to read dataIOException - on errorCopyright © 2024 The Apache Software Foundation. All rights reserved.