Uses of Interface
org.apache.drill.exec.vector.accessor.ScalarWriter
Package
Description
Standard type conversion tools for the case in which the input
types are the standard Java types already supported by the
ValuesWriter
interface.Handles the details of the result set loader implementation.
Version 3 of the text reader.
Defines a mock data source which generates dummy test data for use
in testing.
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 ScalarWriter in org.apache.drill.exec.physical.impl.scan.convert
Modifier and TypeMethodDescriptionStandardConversions.converterFor
(ScalarWriter scalarWriter, TypeProtos.MinorType inputType) StandardConversions.converterFor
(ScalarWriter scalarWriter, TypeProtos.MinorType inputType, Map<String, String> columnProps) Create a direct column converter, if necessary, for the given input type and optional properties.StandardConversions.converterFor
(ScalarWriter scalarWriter, ColumnMetadata inputSchema) StandardConversions.newInstance
(Class<? extends DirectConverter> conversionClass, ScalarWriter baseWriter) StandardConversions.newInstance
(Class<? extends DirectConverter> conversionClass, ScalarWriter baseWriter, Map<String, String> properties) ModifierConstructorDescriptionAbstractConvertFromString
(ScalarWriter baseWriter) AbstractConvertFromString
(ScalarWriter baseWriter, Map<String, String> properties) ColumnConverter
(ScalarWriter colWriter) ConvertBooleanToString
(ScalarWriter baseWriter) ConvertDateToString
(ScalarWriter baseWriter) ConvertDecimalToString
(ScalarWriter baseWriter) ConvertDoubleToDecimal
(ScalarWriter baseWriter) ConvertDoubleToString
(ScalarWriter baseWriter) ConvertFloatToDecimal
(ScalarWriter baseWriter) ConvertIntervalToString
(ScalarWriter baseWriter) ConvertIntToDecimal
(ScalarWriter baseWriter) ConvertIntToString
(ScalarWriter baseWriter) ConvertLongToDecimal
(ScalarWriter baseWriter) ConvertLongToString
(ScalarWriter baseWriter) ConvertStringToBoolean
(ScalarWriter baseWriter, Map<String, String> properties) ConvertStringToDate
(ScalarWriter baseWriter, Map<String, String> properties) ConvertStringToDecimal
(ScalarWriter baseWriter, Map<String, String> properties) ConvertStringToDouble
(ScalarWriter baseWriter, Map<String, String> properties) ConvertStringToInt
(ScalarWriter baseWriter, Map<String, String> properties) ConvertStringToInterval
(ScalarWriter baseWriter, Map<String, String> properties) ConvertStringToLong
(ScalarWriter baseWriter, Map<String, String> properties) ConvertStringToTime
(ScalarWriter baseWriter, Map<String, String> properties) ConvertStringToTimeStamp
(ScalarWriter baseWriter, Map<String, String> properties) ConvertTimeStampToString
(ScalarWriter baseWriter) ConvertTimeToString
(ScalarWriter baseWriter) DirectConverter
(ScalarWriter colWriter) -
Uses of ScalarWriter in org.apache.drill.exec.physical.resultSet.impl
Modifier and TypeMethodDescriptionboolean
ColumnState.PrimitiveColumnState.canExpand
(ScalarWriter writer, int delta) void
ColumnState.PrimitiveColumnState.overflowed
(ScalarWriter writer) -
Uses of ScalarWriter in org.apache.drill.exec.store
-
Uses of ScalarWriter in org.apache.drill.exec.store.easy.json.loader
Modifier and TypeMethodDescriptionFieldDefn.scalarWriterFor
(TypeProtos.MinorType type, boolean isArray) FieldDefn.scalarWriterFor
(ColumnMetadata colSchema) Modifier and TypeMethodDescriptionBaseFieldFactory.scalarListenerFor
(ScalarWriter writer) BaseFieldFactory.scalarParserFor
(ScalarWriter writer) -
Uses of ScalarWriter in org.apache.drill.exec.store.easy.json.values
ModifierConstructorDescriptionBigIntListener
(JsonLoaderImpl loader, ScalarWriter writer) BinaryValueListener
(JsonLoaderImpl loader, ScalarWriter writer) BooleanListener
(JsonLoaderImpl loader, ScalarWriter writer) DateValueListener
(JsonLoaderImpl loader, ScalarWriter writer) DecimalValueListener
(JsonLoaderImpl loader, ScalarWriter writer) DoubleListener
(JsonLoaderImpl loader, ScalarWriter writer) IntervalValueListener
(JsonLoaderImpl loader, ScalarWriter writer) ScalarListener
(JsonLoaderImpl loader, ScalarWriter writer) StrictBigIntValueListener
(JsonLoaderImpl loader, ScalarWriter writer) StrictDoubleValueListener
(JsonLoaderImpl loader, ScalarWriter writer) StrictIntValueListener
(JsonLoaderImpl loader, ScalarWriter writer) StrictStringValueListener
(JsonLoaderImpl loader, ScalarWriter writer) TimestampValueListener
(JsonLoaderImpl loader, ScalarWriter writer) TimeValueListener
(JsonLoaderImpl loader, ScalarWriter writer) UtcDateValueListener
(JsonLoaderImpl loader, ScalarWriter writer) UtcTimestampValueListener
(JsonLoaderImpl loader, ScalarWriter writer) VarCharListener
(JsonLoaderImpl loader, ScalarWriter writer) -
Uses of ScalarWriter in org.apache.drill.exec.store.easy.text.reader
-
Uses of ScalarWriter in org.apache.drill.exec.store.googlesheets.columns
Modifier and TypeFieldDescriptionprotected final ScalarWriter
GoogleSheetsColumnWriter.columnWriter
-
Uses of ScalarWriter in org.apache.drill.exec.store.http
-
Uses of ScalarWriter in org.apache.drill.exec.store.httpd
Modifier and TypeMethodDescriptionHttpdLogRecord.getDoubles()
HttpdLogRecord.getLongs()
HttpdLogRecord.getStrings()
HttpdLogRecord.getTimestamps()
-
Uses of ScalarWriter in org.apache.drill.exec.store.image
Modifier and TypeMethodDescriptionexample : { a : 1 } > { a : 1, b : date() }example : { a : 1 } > { a : 1, b : 2.0 }ImageBatchReader.MapColumnDefn.addIntToMap
(TupleWriter writer, String name) example : { a : 1 } > { a : 1, b : 2 }ImageBatchReader.MapColumnDefn.addObject
(String name, TypeProtos.MinorType type) example : { a : 1 } > { a : 1, b : object() }example : [ ] > [ { a : "1" } ]example : { a : 1 } > { a : 1, b : "2" }ImageBatchReader.ColumnDefn.getWriter()
-
Uses of ScalarWriter in org.apache.drill.exec.store.mock
Modifier and TypeMethodDescriptionvoid
AbstractFieldGen.setup
(ColumnDef colDef, ScalarWriter colLoader) void
FieldGen.setup
(ColumnDef colDef, ScalarWriter colLoader) void
StringGen.setup
(ColumnDef colDef, ScalarWriter colLoader) void
VaryingStringGen.setup
(ColumnDef colDef, ScalarWriter colLoader) -
Uses of ScalarWriter in org.apache.drill.exec.store.pdf
ModifierConstructorDescriptionPdfColumnWriter
(int columnIndex, String columnName, ScalarWriter writer) -
Uses of ScalarWriter in org.apache.drill.exec.store.sas
ModifierConstructorDescriptionSasColumnWriter
(int columnIndex, String columnName, ScalarWriter writer) -
Uses of ScalarWriter in org.apache.drill.exec.store.spss
ModifierConstructorDescriptionSpssColumnWriter
(int columnIndex, String columnName, ScalarWriter writer) -
Uses of ScalarWriter in org.apache.drill.exec.vector.accessor
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Uses of ScalarWriter in org.apache.drill.exec.vector.accessor.writer
Modifier and TypeInterfaceDescriptioninterface
Interface for specialized operations on an offset vector.Modifier and TypeClassDescriptionclass
Base class for writers for fixed-width vectors.static class
static class
Base class for writers that use the Java int type as their native type.class
Base class for concrete scalar column writers including actual vector writers, and wrappers for nullable types.class
Column writer implementation that acts as the basis for the generated, vector-specific implementations.class
Column writer implementation that acts as the basis for the generated, vector-specific implementations.class
Base class for variable-width (VarChar, VarBinary, etc.) writers.class
Specialized writer for bit columns.class
class
Specialized column writer for the (hidden) offset vector used with variable-length or repeated vectors.Modifier and TypeMethodDescriptionObjectDictWriter.keyWriter()
AbstractArrayWriter.scalar()
AbstractObjectWriter.scalar()
AbstractScalarWriterImpl.ScalarObjectWriter.scalar()
AbstractTupleWriter.scalar
(int colIndex) UnionWriterImpl.scalar
(TypeProtos.MinorType type) Modifier and TypeMethodDescriptionboolean
WriterEvents.ColumnWriterListener.canExpand
(ScalarWriter writer, int delta) A writer wants to expand its vector.void
WriterEvents.ColumnWriterListener.overflowed
(ScalarWriter writer) Alert the listener that a vector has overflowed. -
Uses of ScalarWriter in org.apache.drill.exec.vector.accessor.writer.dummy
Modifier and TypeClassDescriptionstatic class
class
Represents a non-projected column.