Uses of Interface
org.apache.drill.exec.vector.accessor.TupleWriter
Packages that use 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
Subinterfaces of TupleWriter in org.apache.drill.exec.physical.resultSetModifier and TypeInterfaceDescriptioninterfaceInterface for writing values to a row set. -
Uses of TupleWriter in org.apache.drill.exec.physical.resultSet.impl
Classes in org.apache.drill.exec.physical.resultSet.impl that implement TupleWriterMethods in org.apache.drill.exec.physical.resultSet.impl with parameters of type TupleWriterModifier and TypeMethodDescriptionTupleState.addColumn(TupleWriter tupleWriter, MaterializedField column) TupleState.addColumn(TupleWriter tupleWriter, ColumnMetadata columnSchema) voidBuildFromSchema.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
Subinterfaces of TupleWriter in org.apache.drill.exec.physical.rowSetModifier and TypeInterfaceDescriptioninterfaceInterface for writing values to a row set.Classes in org.apache.drill.exec.physical.rowSet that implement TupleWriter -
Uses of TupleWriter in org.apache.drill.exec.record
Methods in org.apache.drill.exec.record with parameters of type TupleWriterModifier and TypeMethodDescriptionprotected ColumnConverterColumnConverterFactory.getMapConverter(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) ColumnConverterFactory.getRootConverter(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) Constructors in org.apache.drill.exec.record with parameters of type TupleWriterModifierConstructorDescriptionMapColumnConverter(ColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) -
Uses of TupleWriter in org.apache.drill.exec.store.avro
Methods in org.apache.drill.exec.store.avro with parameters of type TupleWriterModifier and TypeMethodDescriptionvoidAvroColumnConverterFactory.buildMapMembers(org.apache.avro.generic.GenericRecord genericRecord, TupleMetadata providedSchema, TupleWriter tupleWriter, List<ColumnConverter> converters) protected ColumnConverterAvroColumnConverterFactory.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.MapColumnConverterand returns it.Constructors in org.apache.drill.exec.store.avro with parameters of type TupleWriterModifierConstructorDescriptionMapColumnConverter(AvroColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, List<ColumnConverter> converters) -
Uses of TupleWriter in org.apache.drill.exec.store.cassandra
Methods in org.apache.drill.exec.store.cassandra with parameters of type TupleWriterModifier and TypeMethodDescriptionprotected ColumnConverterCassandraColumnConverterFactory.getMapConverter(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) -
Uses of TupleWriter in org.apache.drill.exec.store.easy.json.loader
Methods in org.apache.drill.exec.store.easy.json.loader that return TupleWriterMethods in org.apache.drill.exec.store.easy.json.loader with parameters of type TupleWriterModifier and TypeMethodDescriptionprotected ElementParserBaseFieldFactory.objectParserFor(TupleWriter writer, TupleMetadata providedSchema) Constructors in org.apache.drill.exec.store.easy.json.loader with parameters of type TupleWriterModifierConstructorDescriptionTupleParser(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
Methods in org.apache.drill.exec.store.elasticsearch with parameters of type TupleWriterModifier and TypeMethodDescriptionprotected ColumnConverterElasticsearchColumnConverterFactory.getMapConverter(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) -
Uses of TupleWriter in org.apache.drill.exec.store.hdf5.writers
Fields in org.apache.drill.exec.store.hdf5.writers declared as TupleWriterConstructors in org.apache.drill.exec.store.hdf5.writers with parameters of type TupleWriterModifierConstructorDescriptionWriterSpec(TupleWriter tupleWriter, TupleMetadata providedSchema, CustomErrorContext errorContext) -
Uses of TupleWriter in org.apache.drill.exec.store.iceberg.read
Methods in org.apache.drill.exec.store.iceberg.read with parameters of type TupleWriterModifier and TypeMethodDescriptionvoidMapColumnConverter.buildMapMembers(org.apache.iceberg.data.Record record, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) protected ColumnConverterIcebergColumnConverterFactory.getMapConverter(TupleMetadata providedSchema, TupleMetadata readerSchema, TupleWriter tupleWriter) Constructors in org.apache.drill.exec.store.iceberg.read with parameters of type TupleWriterModifierConstructorDescriptionMapColumnConverter(ColumnConverterFactory factory, TupleMetadata providedSchema, TupleWriter tupleWriter, Map<String, ColumnConverter> converters) -
Uses of TupleWriter in org.apache.drill.exec.store.image
Methods in org.apache.drill.exec.store.image that return TupleWriterModifier and TypeMethodDescriptionexample : { a : 1 } > { a : 1, { b : 2 } }Methods in org.apache.drill.exec.store.image with parameters of type TupleWriterModifier 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
Methods in org.apache.drill.exec.store.xml that return TupleWriterConstructors in org.apache.drill.exec.store.xml with parameters of type TupleWriter -
Uses of TupleWriter in org.apache.drill.exec.vector.accessor
Methods in org.apache.drill.exec.vector.accessor that return TupleWriter -
Uses of TupleWriter in org.apache.drill.exec.vector.accessor.writer
Classes in org.apache.drill.exec.vector.accessor.writer that implement TupleWriterModifier and TypeClassDescriptionclassImplementation for a writer for a tuple (a row or a map.) Provides access to each column using either a name or a numeric index.classWriter for a Dict entry.classWriter for a Drill Map type.protected static classWriter for a an array of maps.protected static classprotected static classprotected static classWriter for a single (non-array) map.Methods in org.apache.drill.exec.vector.accessor.writer that return TupleWriterModifier and TypeMethodDescriptionAbstractArrayWriter.tuple()AbstractObjectWriter.tuple()AbstractTupleWriter.tuple(int colIndex) AbstractTupleWriter.TupleObjectWriter.tuple()UnionWriterImpl.tuple()Methods in org.apache.drill.exec.vector.accessor.writer with parameters of type TupleWriterModifier and TypeMethodDescriptionAbstractTupleWriter.TupleWriterListener.addColumn(TupleWriter tuple, MaterializedField field) AbstractTupleWriter.TupleWriterListener.addColumn(TupleWriter tuple, ColumnMetadata column)