Uses of Interface
org.apache.drill.exec.record.ColumnConverter
Package
Description
-
Uses of ColumnConverter in org.apache.drill.exec.record
Modifier and TypeClassDescriptionstatic class
Converts and writes array values usingColumnConverter.ArrayColumnConverter.valueConverter
intoColumnConverter.ArrayColumnConverter.arrayWriter
.static class
Converts and writes dict values using provided key / value converters.static class
Does nothing, is used when column is not projected to avoid unnecessary column values conversions and writes.static class
Converts and writes all map children using providedColumnConverter.MapColumnConverter.converters
.static class
Converts and writes scalar values using providedColumnConverter.ScalarColumnConverter.valueConverter
.Modifier and TypeMethodDescriptionColumnConverterFactory.getConverter
(TupleMetadata providedSchema, ColumnMetadata readerSchema, ObjectWriter writer) Based on column type, creates corresponding column converter which holds conversion logic and appropriate writer to set converted data into.protected ColumnConverter
ColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) ColumnConverterFactory.getRootConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) ModifierConstructorDescriptionArrayColumnConverter
(ArrayWriter arrayWriter, ColumnConverter valueConverter) DictColumnConverter
(DictWriter dictWriter, ColumnConverter keyConverter, ColumnConverter valueConverter) ModifierConstructorDescriptionMapColumnConverter
(ColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) -
Uses of ColumnConverter in org.apache.drill.exec.store.avro
Modifier and TypeClassDescriptionstatic class
Converts and writes all map children using providedAvroColumnConverterFactory.MapColumnConverter.converters
.Modifier and TypeMethodDescriptionprotected ColumnConverter
AvroColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) Based on provided schema, given converted Avro schema and current row writer generates list of column converters based on column type forAvroColumnConverterFactory.MapColumnConverter
and returns it.Modifier and TypeMethodDescriptionAvroColumnConverterFactory.initConverters
(TupleMetadata providedSchema, TupleMetadata readerSchema, RowSetLoader rowWriter) Based on given converted Avro schema and current row writer generates list of column converters based on column type.Modifier and TypeMethodDescriptionvoid
AvroColumnConverterFactory.buildMapMembers
(org.apache.avro.generic.GenericRecord genericRecord, TupleMetadata providedSchema, TupleWriter tupleWriter, List<ColumnConverter> converters) ModifierConstructorDescriptionMapColumnConverter
(AvroColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, List<ColumnConverter> converters) -
Uses of ColumnConverter in org.apache.drill.exec.store.cassandra
Modifier and TypeMethodDescriptionprotected ColumnConverter
CassandraColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) -
Uses of ColumnConverter in org.apache.drill.exec.store.elasticsearch
Modifier and TypeMethodDescriptionprotected ColumnConverter
ElasticsearchColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) -
Uses of ColumnConverter in org.apache.drill.exec.store.iceberg.read
Modifier and TypeMethodDescriptionprotected ColumnConverter
IcebergColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) Modifier and TypeMethodDescriptionvoid
MapColumnConverter.buildMapMembers
(org.apache.iceberg.data.Record record, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) ModifierConstructorDescriptionMapColumnConverter
(ColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters)