| Package | Description |
|---|---|
| org.apache.drill.exec.physical.resultSet |
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.
|
| org.apache.drill.exec.physical.resultSet.impl |
Handles the details of the result set loader implementation.
|
| org.apache.drill.exec.physical.rowSet |
Provides a set of tools to work with row sets.
|
| org.apache.drill.exec.record | |
| org.apache.drill.exec.store.avro | |
| org.apache.drill.exec.store.easy.json.loader | |
| org.apache.drill.exec.store.hdf5.writers | |
| org.apache.drill.exec.store.image | |
| org.apache.drill.exec.store.xml | |
| org.apache.drill.exec.vector.accessor |
Provides a light-weight, simplified set of column readers and writers that
can be plugged into a variety of row-level readers and writers.
|
| org.apache.drill.exec.vector.accessor.writer |
Implementation of the vector writers.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RowSetLoader
Interface for writing values to a row set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RowSetLoaderImpl
Implementation of the row set loader.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectWriter |
TupleState.addColumn(TupleWriter tupleWriter,
ColumnMetadata columnSchema) |
ObjectWriter |
TupleState.addColumn(TupleWriter tupleWriter,
MaterializedField column) |
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.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RowSetWriter
Interface for writing values to a row set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RowSetWriterImpl
Implementation of a row set writer.
|
class |
TestDummyWriter.RootWriterFixture
Test only, bare-bones tuple writer used to gather the dummy
column writers.
|
| Modifier and Type | Method and Description |
|---|---|
protected ColumnConverter |
ColumnConverterFactory.getMapConverter(TupleMetadata providedSchema,
TupleMetadata readerSchema,
TupleWriter tupleWriter) |
ColumnConverter |
ColumnConverterFactory.getRootConverter(TupleMetadata providedSchema,
TupleMetadata readerSchema,
TupleWriter tupleWriter) |
| Constructor and Description |
|---|
MapColumnConverter(ColumnConverterFactory factory,
TupleMetadata providedSchema,
TupleWriter tupleWriter,
Map<String,ColumnConverter> converters) |
| Modifier and Type | Method and Description |
|---|---|
void |
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 for
AvroColumnConverterFactory.MapColumnConverter and returns it. |
| Constructor and Description |
|---|
MapColumnConverter(AvroColumnConverterFactory factory,
TupleMetadata providedSchema,
TupleWriter tupleWriter,
List<ColumnConverter> converters) |
| Modifier and Type | Method and Description |
|---|---|
TupleWriter |
FieldDefn.writer() |
TupleWriter |
TupleParser.writer() |
| Modifier and Type | Method and Description |
|---|---|
protected ElementParser |
BaseFieldFactory.objectParserFor(TupleWriter writer,
TupleMetadata providedSchema) |
| Constructor and Description |
|---|
TupleParser(JsonLoaderImpl loader,
TupleWriter tupleWriter,
TupleMetadata providedSchema) |
TupleParser(JsonStructureParser structParser,
JsonLoaderImpl loader,
TupleWriter tupleWriter,
TupleMetadata providedSchema) |
| Modifier and Type | Field and Description |
|---|---|
TupleWriter |
WriterSpec.tupleWriter |
| Constructor and Description |
|---|
WriterSpec(TupleWriter tupleWriter,
TupleMetadata providedSchema,
CustomErrorContext errorContext) |
| Modifier and Type | Method and Description |
|---|---|
TupleWriter |
ImageBatchReader.ColumnDefn.addMap(String name) |
TupleWriter |
ImageBatchReader.MapColumnDefn.addMap(String name)
example : { a : 1 } > { a : 1, { b : 2 } }
|
| Modifier and Type | Method and Description |
|---|---|
ScalarWriter |
ImageBatchReader.MapColumnDefn.addIntToMap(TupleWriter writer,
String name)
example : { a : 1 } > { a : 1, b : 2 }
|
ImageBatchReader.MapColumnDefn |
ImageBatchReader.MapColumnDefn.builder(TupleWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
TupleWriter |
XMLMap.getMapWriter() |
| Constructor and Description |
|---|
XMLMap(String mapName,
TupleWriter mapWriter) |
| Modifier and Type | Method and Description |
|---|---|
TupleWriter |
VariantWriter.tuple() |
TupleWriter |
ArrayWriter.tuple() |
TupleWriter |
ObjectWriter.tuple() |
TupleWriter |
TupleWriter.tuple(int colIndex) |
TupleWriter |
TupleWriter.tuple(String colName) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTupleWriter
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 |
DictEntryWriter
Writer for a Dict entry.
|
class |
MapWriter
Writer for a Drill Map type.
|
protected static class |
MapWriter.ArrayMapWriter
Writer for a an array of maps.
|
protected static class |
MapWriter.DummyArrayMapWriter |
protected static class |
MapWriter.DummyMapWriter |
protected static class |
MapWriter.SingleMapWriter
Writer for a single (non-array) map.
|
| Modifier and Type | Method and Description |
|---|---|
TupleWriter |
AbstractArrayWriter.tuple() |
TupleWriter |
AbstractTupleWriter.TupleObjectWriter.tuple() |
TupleWriter |
AbstractObjectWriter.tuple() |
TupleWriter |
UnionWriterImpl.tuple() |
TupleWriter |
AbstractTupleWriter.tuple(int colIndex) |
TupleWriter |
AbstractTupleWriter.tuple(String colName) |
| Modifier and Type | Method and Description |
|---|---|
ObjectWriter |
AbstractTupleWriter.TupleWriterListener.addColumn(TupleWriter tuple,
ColumnMetadata column) |
ObjectWriter |
AbstractTupleWriter.TupleWriterListener.addColumn(TupleWriter tuple,
MaterializedField field) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.