Uses of Interface
org.apache.drill.exec.vector.accessor.ObjectWriter
Packages that use 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
Methods in org.apache.drill.exec.physical.resultSet.impl that return ObjectWriterModifier 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
Methods in org.apache.drill.exec.record with parameters of type ObjectWriterModifier 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
Methods in org.apache.drill.exec.store.easy.json.loader that return ObjectWriterMethods in org.apache.drill.exec.store.easy.json.loader with parameters of type ObjectWriterModifier 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 ElementParserBaseFieldFactory.multiDimScalarArrayFor(ObjectWriter writer, int dims) Create a repeated list listener for a scalar value.protected ElementParserBaseFieldFactory.multiDimVariantArrayParserFor(ObjectWriter writer, int dims) Create a repeated list listener for a variant.Method parameters in org.apache.drill.exec.store.easy.json.loader with type arguments of type ObjectWriterModifier 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
Methods in org.apache.drill.exec.vector.accessor that return ObjectWriterModifier 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
Classes in org.apache.drill.exec.vector.accessor.writer that implement ObjectWriterModifier and TypeClassDescriptionstatic classObject representation of an array writer.classAbstract base class for the object layer in writers.static classWraps a scalar writer and its event handler to provide a uniform JSON-like interface for all writer types.static classGeneric object wrapper for the tuple writer.static classstatic classstatic classMethods in org.apache.drill.exec.vector.accessor.writer that return ObjectWriterModifier 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
Methods in org.apache.drill.exec.vector.accessor.writer.dummy that return ObjectWriter