Package org.apache.drill.exec.record
Class ColumnConverter.MapColumnConverter
java.lang.Object
org.apache.drill.exec.record.ColumnConverter.MapColumnConverter
- All Implemented Interfaces:
ColumnConverter
- Enclosing interface:
- ColumnConverter
Converts and writes all map children using provided
converters
.
If converters
are empty, generates their converters based on
specified 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
(ColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected TypeProtos.MinorType
getScalarMinorType
(Class<?> clazz)
-
Constructor Details
-
MapColumnConverter
public MapColumnConverter(ColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters)
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceColumnConverter
-
getScalarMinorType
-