Uses of Interface
org.apache.drill.exec.vector.accessor.ObjectWriter
Package
Description
Handles the details of the result set loader implementation.
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.
This package provides a "dummy" set of writers.
-
Uses of ObjectWriter in org.apache.drill.exec.physical.resultSet.impl
Modifier and TypeMethodDescriptionTupleState.addColumn
(TupleWriter tupleWriter, MaterializedField column) TupleState.addColumn
(TupleWriter tupleWriter, ColumnMetadata columnSchema) ListState.addMember
(ColumnMetadata member) UnionState.addMember
(ColumnMetadata member) ListState.addType
(TypeProtos.MinorType type) UnionState.addType
(TypeProtos.MinorType type) BuildFromSchema.buildColumn
(TupleState state, ColumnMetadata colSchema) Build a column recursively. -
Uses of ObjectWriter in org.apache.drill.exec.record
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. -
Uses of ObjectWriter in org.apache.drill.exec.store.easy.json.loader
Modifier and TypeMethodDescriptionBaseFieldFactory.buildOuterArrays
(ObjectWriter writer, int dims, Function<ObjectWriter, ElementParser> innerCreator) Create layers of repeated list listeners around the type-specific array.BaseFieldFactory.multiDimObjectArrayFor
(ObjectWriter writer, int dims, TupleMetadata providedSchema) Create a repeated list listener for a Map.protected ElementParser
BaseFieldFactory.multiDimScalarArrayFor
(ObjectWriter writer, int dims) Create a repeated list listener for a scalar value.protected ElementParser
BaseFieldFactory.multiDimVariantArrayParserFor
(ObjectWriter writer, int dims) Create a repeated list listener for a variant.Modifier and TypeMethodDescriptionBaseFieldFactory.buildOuterArrays
(ObjectWriter writer, int dims, Function<ObjectWriter, ElementParser> innerCreator) Create layers of repeated list listeners around the type-specific array. -
Uses of ObjectWriter in org.apache.drill.exec.vector.accessor
Modifier and TypeMethodDescriptionVariantWriter.addMember
(TypeProtos.MinorType type) VariantWriter.addMember
(ColumnMetadata schema) VariantWriter.VariantWriterListener.addMember
(ColumnMetadata schema) VariantWriter.VariantWriterListener.addType
(TypeProtos.MinorType type) TupleWriter.column
(int colIndex) ArrayWriter.entry()
The object type of the list entry.VariantWriter.member
(TypeProtos.MinorType type) Set the type of the present value and get the writer for that type.VariantWriter.memberWriter
(TypeProtos.MinorType type) Create or retrieve a writer for the given type.DictWriter.valueWriter()
Returns the writer associated with value field. -
Uses of ObjectWriter in org.apache.drill.exec.vector.accessor.writer
Modifier and TypeClassDescriptionstatic class
Object representation of an array writer.class
Abstract base class for the object layer in writers.static class
Wraps a scalar writer and its event handler to provide a uniform JSON-like interface for all writer types.static class
Generic object wrapper for the tuple writer.static class
static class
static class
Modifier and TypeMethodDescriptionAbstractTupleWriter.TupleWriterListener.addColumn
(TupleWriter tuple, MaterializedField field) AbstractTupleWriter.TupleWriterListener.addColumn
(TupleWriter tuple, ColumnMetadata column) UnionWriterImpl.addMember
(TypeProtos.MinorType type) UnionWriterImpl.addMember
(ColumnMetadata colSchema) AbstractTupleWriter.column
(int colIndex) AbstractArrayWriter.entry()
EmptyListShim.member
(TypeProtos.MinorType type) SimpleListShim.member
(TypeProtos.MinorType type) UnionShim.member
(TypeProtos.MinorType type) Return an existing writer for the given type, or create a new one if needed.UnionVectorShim.member
(TypeProtos.MinorType type) UnionWriterImpl.member
(TypeProtos.MinorType type) UnionWriterImpl.memberWriter
(TypeProtos.MinorType type) ObjectDictWriter.valueWriter()
-
Uses of ObjectWriter in org.apache.drill.exec.vector.accessor.writer.dummy