Interface BaseWriter.MapWriter
- All Superinterfaces:
AutoCloseable
,BaseWriter
,Positionable
- All Known Subinterfaces:
BaseWriter.DictWriter
,FieldWriter
- All Known Implementing Classes:
AbstractRepeatedMapWriter
,BigIntWriterImpl
,BitWriterImpl
,ComplexWriterImpl
,DateWriterImpl
,Decimal18WriterImpl
,Decimal28DenseWriterImpl
,Decimal28SparseWriterImpl
,Decimal38DenseWriterImpl
,Decimal38SparseWriterImpl
,Decimal9WriterImpl
,Float4WriterImpl
,Float8WriterImpl
,IntervalDayWriterImpl
,IntervalWriterImpl
,IntervalYearWriterImpl
,IntWriterImpl
,NullableBigIntWriterImpl
,NullableBitWriterImpl
,NullableDateWriterImpl
,NullableDecimal18WriterImpl
,NullableDecimal28DenseWriterImpl
,NullableDecimal28SparseWriterImpl
,NullableDecimal38DenseWriterImpl
,NullableDecimal38SparseWriterImpl
,NullableDecimal9WriterImpl
,NullableFloat4WriterImpl
,NullableFloat8WriterImpl
,NullableIntervalDayWriterImpl
,NullableIntervalWriterImpl
,NullableIntervalYearWriterImpl
,NullableIntWriterImpl
,NullableSmallIntWriterImpl
,NullableTimeStampWriterImpl
,NullableTimeWriterImpl
,NullableTinyIntWriterImpl
,NullableUInt1WriterImpl
,NullableUInt2WriterImpl
,NullableUInt4WriterImpl
,NullableUInt8WriterImpl
,NullableVar16CharWriterImpl
,NullableVarBinaryWriterImpl
,NullableVarCharWriterImpl
,NullableVarDecimalWriterImpl
,PromotableWriter
,RepeatedBigIntWriterImpl
,RepeatedBitWriterImpl
,RepeatedDateWriterImpl
,RepeatedDecimal18WriterImpl
,RepeatedDecimal28DenseWriterImpl
,RepeatedDecimal28SparseWriterImpl
,RepeatedDecimal38DenseWriterImpl
,RepeatedDecimal38SparseWriterImpl
,RepeatedDecimal9WriterImpl
,RepeatedDictWriter
,RepeatedFloat4WriterImpl
,RepeatedFloat8WriterImpl
,RepeatedIntervalDayWriterImpl
,RepeatedIntervalWriterImpl
,RepeatedIntervalYearWriterImpl
,RepeatedIntWriterImpl
,RepeatedListWriter
,RepeatedMapWriter
,RepeatedSmallIntWriterImpl
,RepeatedTimeStampWriterImpl
,RepeatedTimeWriterImpl
,RepeatedTinyIntWriterImpl
,RepeatedUInt1WriterImpl
,RepeatedUInt2WriterImpl
,RepeatedUInt4WriterImpl
,RepeatedUInt8WriterImpl
,RepeatedVar16CharWriterImpl
,RepeatedVarBinaryWriterImpl
,RepeatedVarCharWriterImpl
,RepeatedVarDecimalWriterImpl
,SingleDictWriter
,SingleListWriter
,SingleMapWriter
,SmallIntWriterImpl
,TimeStampWriterImpl
,TimeWriterImpl
,TinyIntWriterImpl
,UInt1WriterImpl
,UInt2WriterImpl
,UInt4WriterImpl
,UInt8WriterImpl
,UnionListWriter
,UnionVectorListWriter
,UnionVectorWriter
,UnionWriter
,Var16CharWriterImpl
,VarBinaryWriterImpl
,VarCharWriterImpl
,VarDecimalWriterImpl
,VectorContainerWriter
- Enclosing interface:
- BaseWriter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.vector.complex.writer.BaseWriter
BaseWriter.ComplexWriter, BaseWriter.DictWriter, BaseWriter.ListWriter, BaseWriter.MapOrListWriter, BaseWriter.MapWriter, BaseWriter.ScalarWriter
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyReaderToField
(String name, FieldReader reader) decimal28Dense
(String name) decimal28Dense
(String name, int precision, int scale) decimal28Sparse
(String name) decimal28Sparse
(String name, int precision, int scale) decimal38Dense
(String name) decimal38Dense
(String name, int precision, int scale) decimal38Sparse
(String name) decimal38Sparse
(String name, int precision, int scale) void
end()
getField()
intervalDay
(String name) intervalYear
(String name) boolean
Whether this writer is a map writer and is empty (has no children).void
start()
varDecimal
(String name) varDecimal
(String name, int precision, int scale) Methods inherited from interface java.lang.AutoCloseable
close
Methods inherited from interface org.apache.drill.exec.vector.complex.writer.BaseWriter
getParent, getValueCapacity
Methods inherited from interface org.apache.drill.exec.vector.complex.Positionable
setPosition
-
Method Details
-
getField
MaterializedField getField() -
isEmptyMap
boolean isEmptyMap()Whether this writer is a map writer and is empty (has no children).Intended only for use in determining whether to add dummy vector to avoid empty (zero-column) schema, as in JsonReader.
-
tinyInt
-
uInt1
-
uInt2
-
smallInt
-
integer
-
uInt4
-
float4
-
time
-
intervalYear
-
decimal9
-
decimal9
-
bigInt
-
uInt8
-
float8
-
date
-
timeStamp
-
decimal18
-
decimal18
-
intervalDay
-
interval
-
decimal28Dense
-
decimal28Dense
-
decimal38Dense
-
decimal38Dense
-
decimal38Sparse
-
decimal38Sparse
-
decimal28Sparse
-
decimal28Sparse
-
varBinary
-
varChar
-
var16Char
-
varDecimal
-
varDecimal
-
bit
-
copyReaderToField
-
map
-
list
-
union
-
start
void start() -
end
void end() -
dict
-