Package org.apache.drill.exec.store.avro
Class AvroColumnConverterFactory.MapColumnConverter
java.lang.Object
org.apache.drill.exec.store.avro.AvroColumnConverterFactory.MapColumnConverter
- All Implemented Interfaces:
ColumnConverter
- Enclosing class:
- AvroColumnConverterFactory
public static class AvroColumnConverterFactory.MapColumnConverter
extends Object
implements ColumnConverter
Converts and writes all map children using provided
converters
.
If converters
are empty, generates their converters based on
GenericRecord
schema.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.record.ColumnConverter
ColumnConverter.ArrayColumnConverter, ColumnConverter.DictColumnConverter, ColumnConverter.DummyColumnConverter, ColumnConverter.MapColumnConverter, ColumnConverter.ScalarColumnConverter
-
Constructor Summary
ConstructorDescriptionMapColumnConverter
(AvroColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, List<ColumnConverter> converters) -
Method Summary
-
Constructor Details
-
MapColumnConverter
public MapColumnConverter(AvroColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, List<ColumnConverter> converters)
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceColumnConverter
-