public class AvroBooleanConsumer extends BaseAvroConsumer<BitVector>
BitVector
.currentIndex, vector
Constructor and Description |
---|
AvroBooleanConsumer(BitVector vector)
Instantiate a AvroBooleanConsumer.
|
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 AvroBooleanConsumer(BitVector 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.