Uses of Interface
org.apache.drill.exec.vector.accessor.TupleWriter
Package
Description
Provides a second-generation row set (AKA "record batch") writer used
by client code to
Define the schema of a result set.
Write data into the vectors backing a row set.
Handles the details of the result set loader implementation.
Provides a set of tools to work with row sets.
Provides a light-weight, simplified set of column readers and writers that
can be plugged into a variety of row-level readers and writers.
Implementation of the vector writers.
-
Uses of TupleWriter in org.apache.drill.exec.physical.resultSet
Modifier and TypeInterfaceDescriptioninterface
Interface for writing values to a row set. -
Uses of TupleWriter in org.apache.drill.exec.physical.resultSet.impl
Modifier and TypeMethodDescriptionTupleState.addColumn
(TupleWriter tupleWriter, MaterializedField column) TupleState.addColumn
(TupleWriter tupleWriter, ColumnMetadata columnSchema) void
BuildFromSchema.buildTuple
(TupleWriter writer, TupleMetadata schema) When creating a schema up front, provide the schema of the desired tuple, then build vectors and writers to match. -
Uses of TupleWriter in org.apache.drill.exec.physical.rowSet
Modifier and TypeInterfaceDescriptioninterface
Interface for writing values to a row set. -
Uses of TupleWriter in org.apache.drill.exec.record
Modifier and TypeMethodDescriptionprotected ColumnConverter
ColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) ColumnConverterFactory.getRootConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) ModifierConstructorDescriptionMapColumnConverter
(ColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) -
Uses of TupleWriter in org.apache.drill.exec.store.avro
Modifier and TypeMethodDescriptionvoid
AvroColumnConverterFactory.buildMapMembers
(org.apache.avro.generic.GenericRecord genericRecord, TupleMetadata providedSchema, TupleWriter tupleWriter, List<ColumnConverter> converters) protected 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.ModifierConstructorDescriptionMapColumnConverter
(AvroColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, List<ColumnConverter> converters) -
Uses of TupleWriter in org.apache.drill.exec.store.cassandra
Modifier and TypeMethodDescriptionprotected ColumnConverter
CassandraColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) -
Uses of TupleWriter in org.apache.drill.exec.store.easy.json.loader
Modifier and TypeMethodDescriptionprotected ElementParser
BaseFieldFactory.objectParserFor
(TupleWriter writer, TupleMetadata providedSchema) ModifierConstructorDescriptionTupleParser
(JsonLoaderImpl loader, TupleWriter tupleWriter, TupleMetadata providedSchema) TupleParser
(JsonStructureParser structParser, JsonLoaderImpl loader, TupleWriter tupleWriter, TupleMetadata providedSchema) -
Uses of TupleWriter in org.apache.drill.exec.store.elasticsearch
Modifier and TypeMethodDescriptionprotected ColumnConverter
ElasticsearchColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) -
Uses of TupleWriter in org.apache.drill.exec.store.hdf5.writers
ModifierConstructorDescriptionWriterSpec
(TupleWriter tupleWriter, TupleMetadata providedSchema, CustomErrorContext errorContext) -
Uses of TupleWriter in org.apache.drill.exec.store.iceberg.read
Modifier and TypeMethodDescriptionvoid
MapColumnConverter.buildMapMembers
(org.apache.iceberg.data.Record record, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) protected ColumnConverter
IcebergColumnConverterFactory.getMapConverter
(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) ModifierConstructorDescriptionMapColumnConverter
(ColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) -
Uses of TupleWriter in org.apache.drill.exec.store.image
Modifier and TypeMethodDescriptionexample : { a : 1 } > { a : 1, { b : 2 } }Modifier and TypeMethodDescriptionImageBatchReader.MapColumnDefn.addIntToMap
(TupleWriter writer, String name) example : { a : 1 } > { a : 1, b : 2 }ImageBatchReader.MapColumnDefn.builder
(TupleWriter writer) -
Uses of TupleWriter in org.apache.drill.exec.store.xml
-
Uses of TupleWriter in org.apache.drill.exec.vector.accessor
-
Uses of TupleWriter in org.apache.drill.exec.vector.accessor.writer
Modifier and TypeClassDescriptionclass
Implementation for a writer for a tuple (a row or a map.) Provides access to each column using either a name or a numeric index.class
Writer for a Dict entry.class
Writer for a Drill Map type.protected static class
Writer for a an array of maps.protected static class
protected static class
protected static class
Writer for a single (non-array) map.Modifier and TypeMethodDescriptionAbstractArrayWriter.tuple()
AbstractObjectWriter.tuple()
AbstractTupleWriter.tuple
(int colIndex) AbstractTupleWriter.TupleObjectWriter.tuple()
UnionWriterImpl.tuple()
Modifier and TypeMethodDescriptionAbstractTupleWriter.TupleWriterListener.addColumn
(TupleWriter tuple, MaterializedField field) AbstractTupleWriter.TupleWriterListener.addColumn
(TupleWriter tuple, ColumnMetadata column)