Class CompositeAvroConsumer
java.lang.Object
org.apache.arrow.adapter.avro.consumers.CompositeAvroConsumer
- All Implemented Interfaces:
AutoCloseable
Composite consumer which hold all consumers. It manages the consume and cleanup process.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
consume
(org.apache.avro.io.Decoder decoder) Consume decoder data.void
Reset vector of consumers with the givenVectorSchemaRoot
.
-
Constructor Details
-
CompositeAvroConsumer
-
-
Method Details
-
getConsumers
-
consume
Consume decoder data.- Throws:
IOException
-
resetConsumerVectors
Reset vector of consumers with the givenVectorSchemaRoot
. -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-