Class NullReader
- All Implemented Interfaces:
Iterable<String>
,Positionable
,BaseReader
,BaseReader.DictReader
,BaseReader.ListReader
,BaseReader.MapReader
,BaseReader.RepeatedListReader
,BaseReader.RepeatedMapReader
,BaseReader.ScalarReader
,BigIntReader
,BitReader
,DateReader
,Decimal18Reader
,Decimal28DenseReader
,Decimal28SparseReader
,Decimal38DenseReader
,Decimal38SparseReader
,Decimal9Reader
,FieldReader
,Float4Reader
,Float8Reader
,IntervalDayReader
,IntervalReader
,IntervalYearReader
,IntReader
,RepeatedBigIntReader
,RepeatedBitReader
,RepeatedDateReader
,RepeatedDecimal18Reader
,RepeatedDecimal28DenseReader
,RepeatedDecimal28SparseReader
,RepeatedDecimal38DenseReader
,RepeatedDecimal38SparseReader
,RepeatedDecimal9Reader
,RepeatedFloat4Reader
,RepeatedFloat8Reader
,RepeatedIntervalDayReader
,RepeatedIntervalReader
,RepeatedIntervalYearReader
,RepeatedIntReader
,RepeatedSmallIntReader
,RepeatedTimeReader
,RepeatedTimeStampReader
,RepeatedTinyIntReader
,RepeatedUInt1Reader
,RepeatedUInt2Reader
,RepeatedUInt4Reader
,RepeatedUInt8Reader
,RepeatedVar16CharReader
,RepeatedVarBinaryReader
,RepeatedVarCharReader
,RepeatedVarDecimalReader
,SmallIntReader
,TimeReader
,TimeStampReader
,TinyIntReader
,UInt1Reader
,UInt2Reader
,UInt4Reader
,UInt8Reader
,Var16CharReader
,VarBinaryReader
,VarCharReader
,VarDecimalReader
,UntypedReader
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader
BaseReader.ComplexReader, BaseReader.DictReader, BaseReader.ListReader, BaseReader.MapReader, BaseReader.RepeatedListReader, BaseReader.RepeatedMapReader, BaseReader.ScalarReader
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NullReader
static final NullReader
static final NullReader
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyAsField
(String name, BigIntWriter writer) void
copyAsField
(String name, BitWriter writer) void
copyAsField
(String name, DateWriter writer) void
copyAsField
(String name, Decimal18Writer writer) void
copyAsField
(String name, Decimal28DenseWriter writer) void
copyAsField
(String name, Decimal28SparseWriter writer) void
copyAsField
(String name, Decimal38DenseWriter writer) void
copyAsField
(String name, Decimal38SparseWriter writer) void
copyAsField
(String name, Decimal9Writer writer) void
copyAsField
(String name, Float4Writer writer) void
copyAsField
(String name, Float8Writer writer) void
copyAsField
(String name, IntervalDayWriter writer) void
copyAsField
(String name, IntervalWriter writer) void
copyAsField
(String name, IntervalYearWriter writer) void
copyAsField
(String name, IntWriter writer) void
copyAsField
(String name, SmallIntWriter writer) void
copyAsField
(String name, TimeStampWriter writer) void
copyAsField
(String name, TimeWriter writer) void
copyAsField
(String name, TinyIntWriter writer) void
copyAsField
(String name, UInt1Writer writer) void
copyAsField
(String name, UInt2Writer writer) void
copyAsField
(String name, UInt4Writer writer) void
copyAsField
(String name, UInt8Writer writer) void
copyAsField
(String name, Var16CharWriter writer) void
copyAsField
(String name, VarBinaryWriter writer) void
copyAsField
(String name, VarCharWriter writer) void
copyAsField
(String name, VarDecimalWriter writer, int precision, int scale) void
copyAsValue
(UnionWriter writer) void
copyAsValue
(BaseWriter.DictWriter writer) void
copyAsValue
(BaseWriter.ListWriter writer) void
copyAsValue
(BaseWriter.MapWriter writer) void
copyAsValue
(BigIntWriter writer) void
copyAsValue
(BitWriter writer) void
copyAsValue
(DateWriter writer) void
copyAsValue
(Decimal18Writer writer) void
copyAsValue
(Decimal28DenseWriter writer) void
copyAsValue
(Decimal28SparseWriter writer) void
copyAsValue
(Decimal38DenseWriter writer) void
copyAsValue
(Decimal38SparseWriter writer) void
copyAsValue
(Decimal9Writer writer) void
copyAsValue
(Float4Writer writer) void
copyAsValue
(Float8Writer writer) void
copyAsValue
(IntervalDayWriter writer) void
copyAsValue
(IntervalWriter writer) void
copyAsValue
(IntervalYearWriter writer) void
copyAsValue
(IntWriter writer) void
copyAsValue
(SmallIntWriter writer) void
copyAsValue
(TimeStampWriter writer) void
copyAsValue
(TimeWriter writer) void
copyAsValue
(TinyIntWriter writer) void
copyAsValue
(UInt1Writer writer) void
copyAsValue
(UInt2Writer writer) void
copyAsValue
(UInt4Writer writer) void
copyAsValue
(UInt8Writer writer) void
copyAsValue
(Var16CharWriter writer) void
copyAsValue
(VarBinaryWriter writer) void
copyAsValue
(VarCharWriter writer) void
copyAsValue
(VarDecimalWriter writer) int
find
(int key) Obtain the index for given key in current row used to find a corresponding value with.int
Obtain the index for given key in current row used to find a corresponding value with.int
Obtain the index for given key in current row used to find a corresponding value with.getField()
getType()
ReturnsString
representation of the reader's type.Returns the type of the vector, not value.boolean
isSet()
iterator()
list()
map()
boolean
next()
void
read
(int arrayIndex, BigIntHolder holder) void
void
read
(int arrayIndex, DateHolder holder) void
read
(int arrayIndex, Decimal18Holder holder) void
read
(int arrayIndex, Decimal28DenseHolder holder) void
read
(int arrayIndex, Decimal28SparseHolder holder) void
read
(int arrayIndex, Decimal38DenseHolder holder) void
read
(int arrayIndex, Decimal38SparseHolder holder) void
read
(int arrayIndex, Decimal9Holder holder) void
read
(int arrayIndex, Float4Holder holder) void
read
(int arrayIndex, Float8Holder holder) void
read
(int arrayIndex, IntervalDayHolder holder) void
read
(int arrayIndex, IntervalHolder holder) void
read
(int arrayIndex, IntervalYearHolder holder) void
void
read
(int arrayIndex, NullableBigIntHolder holder) void
read
(int arrayIndex, NullableBitHolder holder) void
read
(int arrayIndex, NullableDateHolder holder) void
read
(int arrayIndex, NullableDecimal18Holder holder) void
read
(int arrayIndex, NullableDecimal28DenseHolder holder) void
read
(int arrayIndex, NullableDecimal28SparseHolder holder) void
read
(int arrayIndex, NullableDecimal38DenseHolder holder) void
read
(int arrayIndex, NullableDecimal38SparseHolder holder) void
read
(int arrayIndex, NullableDecimal9Holder holder) void
read
(int arrayIndex, NullableFloat4Holder holder) void
read
(int arrayIndex, NullableFloat8Holder holder) void
read
(int arrayIndex, NullableIntervalDayHolder holder) void
read
(int arrayIndex, NullableIntervalHolder holder) void
read
(int arrayIndex, NullableIntervalYearHolder holder) void
read
(int arrayIndex, NullableIntHolder holder) void
read
(int arrayIndex, NullableSmallIntHolder holder) void
read
(int arrayIndex, NullableTimeHolder holder) void
read
(int arrayIndex, NullableTimeStampHolder holder) void
read
(int arrayIndex, NullableTinyIntHolder holder) void
read
(int arrayIndex, NullableUInt1Holder holder) void
read
(int arrayIndex, NullableUInt2Holder holder) void
read
(int arrayIndex, NullableUInt4Holder holder) void
read
(int arrayIndex, NullableUInt8Holder holder) void
read
(int arrayIndex, NullableVar16CharHolder holder) void
read
(int arrayIndex, NullableVarBinaryHolder holder) void
read
(int arrayIndex, NullableVarCharHolder holder) void
read
(int arrayIndex, NullableVarDecimalHolder holder) void
read
(int arrayIndex, SmallIntHolder holder) void
read
(int arrayIndex, TimeHolder holder) void
read
(int arrayIndex, TimeStampHolder holder) void
read
(int arrayIndex, TinyIntHolder holder) void
read
(int arrayIndex, UInt1Holder holder) void
read
(int arrayIndex, UInt2Holder holder) void
read
(int arrayIndex, UInt4Holder holder) void
read
(int arrayIndex, UInt8Holder holder) void
read
(int index, UnionHolder holder) void
read
(int key, ValueHolder holder) Reads a value corresponding to akey
into theholder
.void
read
(int arrayIndex, Var16CharHolder holder) void
read
(int arrayIndex, VarBinaryHolder holder) void
read
(int arrayIndex, VarCharHolder holder) void
read
(int arrayIndex, VarDecimalHolder holder) void
read
(int index, UntypedNullHolder holder) void
read
(Object key, ValueHolder holder) Reads a value corresponding to akey
into theholder
.void
read
(String key, ValueHolder holder) Reads a value corresponding to akey
into theholder
.void
read
(BigIntHolder holder) void
void
read
(DateHolder holder) void
read
(Decimal18Holder holder) void
read
(Decimal28DenseHolder holder) void
read
(Decimal28SparseHolder holder) void
read
(Decimal38DenseHolder holder) void
read
(Decimal38SparseHolder holder) void
read
(Decimal9Holder holder) void
read
(Float4Holder holder) void
read
(Float8Holder holder) void
read
(IntervalDayHolder holder) void
read
(IntervalHolder holder) void
read
(IntervalYearHolder holder) void
void
read
(NullableBigIntHolder holder) void
read
(NullableBitHolder holder) void
read
(NullableDateHolder holder) void
read
(NullableDecimal18Holder holder) void
read
(NullableDecimal28DenseHolder holder) void
read
(NullableDecimal28SparseHolder holder) void
read
(NullableDecimal38DenseHolder holder) void
read
(NullableDecimal38SparseHolder holder) void
read
(NullableDecimal9Holder holder) void
read
(NullableFloat4Holder holder) void
read
(NullableFloat8Holder holder) void
read
(NullableIntervalDayHolder holder) void
read
(NullableIntervalHolder holder) void
read
(NullableIntervalYearHolder holder) void
read
(NullableIntHolder holder) void
read
(NullableSmallIntHolder holder) void
read
(NullableTimeHolder holder) void
read
(NullableTimeStampHolder holder) void
read
(NullableTinyIntHolder holder) void
read
(NullableUInt1Holder holder) void
read
(NullableUInt2Holder holder) void
read
(NullableUInt4Holder holder) void
read
(NullableUInt8Holder holder) void
read
(NullableVar16CharHolder holder) void
read
(NullableVarBinaryHolder holder) void
read
(NullableVarCharHolder holder) void
read
(NullableVarDecimalHolder holder) void
read
(SmallIntHolder holder) void
read
(TimeHolder holder) void
read
(TimeStampHolder holder) void
read
(TinyIntHolder holder) void
read
(UInt1Holder holder) void
read
(UInt2Holder holder) void
read
(UInt4Holder holder) void
read
(UInt8Holder holder) void
read
(UnionHolder holder) void
read
(ValueHolder holder) void
read
(Var16CharHolder holder) void
read
(VarBinaryHolder holder) void
read
(VarCharHolder holder) void
read
(VarDecimalHolder holder) void
read
(UntypedNullHolder holder) readBigDecimal
(int arrayIndex) readBoolean
(int arrayIndex) readByte()
readByte
(int arrayIndex) byte[]
byte[]
readByteArray
(int arrayIndex) readCharacter
(int arrayIndex) readDouble
(int arrayIndex) reader()
readFloat
(int arrayIndex) readInteger
(int arrayIndex) readLocalDate
(int arrayIndex) readLocalDateTime
(int arrayIndex) readLocalTime
(int arrayIndex) readLong()
readLong
(int arrayIndex) readObject
(int arrayIndex) org.joda.time.Period
org.joda.time.Period
readPeriod
(int arrayIndex) readShort
(int arrayIndex) readString
(int arrayIndex) readText()
readText
(int arrayIndex) void
reset()
void
setPosition
(int index) int
size()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader
getField, getTypeString, getVectorType, read, read, reset
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.apache.drill.exec.vector.complex.Positionable
setPosition
Methods inherited from interface org.apache.drill.exec.vector.UntypedReader
read, read
-
Field Details
-
INSTANCE
-
EMPTY_LIST_INSTANCE
-
EMPTY_MAP_INSTANCE
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceBaseReader
-
read
- Specified by:
read
in interfaceBaseReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceBaseReader.RepeatedMapReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceBaseReader.RepeatedListReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceBaseReader
-
read
- Specified by:
read
in interfaceTinyIntReader
-
read
- Specified by:
read
in interfaceTinyIntReader
-
read
- Specified by:
read
in interfaceRepeatedTinyIntReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedTinyIntReader
- Specified by:
copyAsValue
in interfaceTinyIntReader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedTinyIntReader
- Specified by:
copyAsField
in interfaceTinyIntReader
-
read
- Specified by:
read
in interfaceRepeatedTinyIntReader
-
read
- Specified by:
read
in interfaceUInt1Reader
-
read
- Specified by:
read
in interfaceUInt1Reader
-
read
- Specified by:
read
in interfaceRepeatedUInt1Reader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedUInt1Reader
- Specified by:
copyAsValue
in interfaceUInt1Reader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedUInt1Reader
- Specified by:
copyAsField
in interfaceUInt1Reader
-
read
- Specified by:
read
in interfaceRepeatedUInt1Reader
-
read
- Specified by:
read
in interfaceUInt2Reader
-
read
- Specified by:
read
in interfaceUInt2Reader
-
read
- Specified by:
read
in interfaceRepeatedUInt2Reader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedUInt2Reader
- Specified by:
copyAsValue
in interfaceUInt2Reader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedUInt2Reader
- Specified by:
copyAsField
in interfaceUInt2Reader
-
read
- Specified by:
read
in interfaceRepeatedUInt2Reader
-
read
- Specified by:
read
in interfaceSmallIntReader
-
read
- Specified by:
read
in interfaceSmallIntReader
-
read
- Specified by:
read
in interfaceRepeatedSmallIntReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedSmallIntReader
- Specified by:
copyAsValue
in interfaceSmallIntReader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedSmallIntReader
- Specified by:
copyAsField
in interfaceSmallIntReader
-
read
- Specified by:
read
in interfaceRepeatedSmallIntReader
-
read
-
read
-
read
- Specified by:
read
in interfaceRepeatedIntReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceIntReader
- Specified by:
copyAsValue
in interfaceRepeatedIntReader
-
copyAsField
- Specified by:
copyAsField
in interfaceIntReader
- Specified by:
copyAsField
in interfaceRepeatedIntReader
-
read
- Specified by:
read
in interfaceRepeatedIntReader
-
read
- Specified by:
read
in interfaceUInt4Reader
-
read
- Specified by:
read
in interfaceUInt4Reader
-
read
- Specified by:
read
in interfaceRepeatedUInt4Reader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedUInt4Reader
- Specified by:
copyAsValue
in interfaceUInt4Reader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedUInt4Reader
- Specified by:
copyAsField
in interfaceUInt4Reader
-
read
- Specified by:
read
in interfaceRepeatedUInt4Reader
-
read
- Specified by:
read
in interfaceFloat4Reader
-
read
- Specified by:
read
in interfaceFloat4Reader
-
read
- Specified by:
read
in interfaceRepeatedFloat4Reader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceFloat4Reader
- Specified by:
copyAsValue
in interfaceRepeatedFloat4Reader
-
copyAsField
- Specified by:
copyAsField
in interfaceFloat4Reader
- Specified by:
copyAsField
in interfaceRepeatedFloat4Reader
-
read
- Specified by:
read
in interfaceRepeatedFloat4Reader
-
read
- Specified by:
read
in interfaceTimeReader
-
read
- Specified by:
read
in interfaceTimeReader
-
read
- Specified by:
read
in interfaceRepeatedTimeReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedTimeReader
- Specified by:
copyAsValue
in interfaceTimeReader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedTimeReader
- Specified by:
copyAsField
in interfaceTimeReader
-
read
- Specified by:
read
in interfaceRepeatedTimeReader
-
read
- Specified by:
read
in interfaceIntervalYearReader
-
read
- Specified by:
read
in interfaceIntervalYearReader
-
read
- Specified by:
read
in interfaceRepeatedIntervalYearReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceIntervalYearReader
- Specified by:
copyAsValue
in interfaceRepeatedIntervalYearReader
-
copyAsField
- Specified by:
copyAsField
in interfaceIntervalYearReader
- Specified by:
copyAsField
in interfaceRepeatedIntervalYearReader
-
read
- Specified by:
read
in interfaceRepeatedIntervalYearReader
-
read
- Specified by:
read
in interfaceDecimal9Reader
-
read
- Specified by:
read
in interfaceDecimal9Reader
-
read
- Specified by:
read
in interfaceRepeatedDecimal9Reader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceDecimal9Reader
- Specified by:
copyAsValue
in interfaceRepeatedDecimal9Reader
-
copyAsField
- Specified by:
copyAsField
in interfaceDecimal9Reader
- Specified by:
copyAsField
in interfaceRepeatedDecimal9Reader
-
read
- Specified by:
read
in interfaceRepeatedDecimal9Reader
-
read
- Specified by:
read
in interfaceBigIntReader
-
read
- Specified by:
read
in interfaceBigIntReader
-
read
- Specified by:
read
in interfaceRepeatedBigIntReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceBigIntReader
- Specified by:
copyAsValue
in interfaceRepeatedBigIntReader
-
copyAsField
- Specified by:
copyAsField
in interfaceBigIntReader
- Specified by:
copyAsField
in interfaceRepeatedBigIntReader
-
read
- Specified by:
read
in interfaceRepeatedBigIntReader
-
read
- Specified by:
read
in interfaceUInt8Reader
-
read
- Specified by:
read
in interfaceUInt8Reader
-
read
- Specified by:
read
in interfaceRepeatedUInt8Reader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedUInt8Reader
- Specified by:
copyAsValue
in interfaceUInt8Reader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedUInt8Reader
- Specified by:
copyAsField
in interfaceUInt8Reader
-
read
- Specified by:
read
in interfaceRepeatedUInt8Reader
-
read
- Specified by:
read
in interfaceFloat8Reader
-
read
- Specified by:
read
in interfaceFloat8Reader
-
read
- Specified by:
read
in interfaceRepeatedFloat8Reader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceFloat8Reader
- Specified by:
copyAsValue
in interfaceRepeatedFloat8Reader
-
copyAsField
- Specified by:
copyAsField
in interfaceFloat8Reader
- Specified by:
copyAsField
in interfaceRepeatedFloat8Reader
-
read
- Specified by:
read
in interfaceRepeatedFloat8Reader
-
read
- Specified by:
read
in interfaceDateReader
-
read
- Specified by:
read
in interfaceDateReader
-
read
- Specified by:
read
in interfaceRepeatedDateReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceDateReader
- Specified by:
copyAsValue
in interfaceRepeatedDateReader
-
copyAsField
- Specified by:
copyAsField
in interfaceDateReader
- Specified by:
copyAsField
in interfaceRepeatedDateReader
-
read
- Specified by:
read
in interfaceRepeatedDateReader
-
read
- Specified by:
read
in interfaceTimeStampReader
-
read
- Specified by:
read
in interfaceTimeStampReader
-
read
- Specified by:
read
in interfaceRepeatedTimeStampReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedTimeStampReader
- Specified by:
copyAsValue
in interfaceTimeStampReader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedTimeStampReader
- Specified by:
copyAsField
in interfaceTimeStampReader
-
read
- Specified by:
read
in interfaceRepeatedTimeStampReader
-
read
- Specified by:
read
in interfaceDecimal18Reader
-
read
- Specified by:
read
in interfaceDecimal18Reader
-
read
- Specified by:
read
in interfaceRepeatedDecimal18Reader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceDecimal18Reader
- Specified by:
copyAsValue
in interfaceRepeatedDecimal18Reader
-
copyAsField
- Specified by:
copyAsField
in interfaceDecimal18Reader
- Specified by:
copyAsField
in interfaceRepeatedDecimal18Reader
-
read
- Specified by:
read
in interfaceRepeatedDecimal18Reader
-
read
- Specified by:
read
in interfaceIntervalDayReader
-
read
- Specified by:
read
in interfaceIntervalDayReader
-
read
- Specified by:
read
in interfaceRepeatedIntervalDayReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceIntervalDayReader
- Specified by:
copyAsValue
in interfaceRepeatedIntervalDayReader
-
copyAsField
- Specified by:
copyAsField
in interfaceIntervalDayReader
- Specified by:
copyAsField
in interfaceRepeatedIntervalDayReader
-
read
- Specified by:
read
in interfaceRepeatedIntervalDayReader
-
read
- Specified by:
read
in interfaceIntervalReader
-
read
- Specified by:
read
in interfaceIntervalReader
-
read
- Specified by:
read
in interfaceRepeatedIntervalReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceIntervalReader
- Specified by:
copyAsValue
in interfaceRepeatedIntervalReader
-
copyAsField
- Specified by:
copyAsField
in interfaceIntervalReader
- Specified by:
copyAsField
in interfaceRepeatedIntervalReader
-
read
- Specified by:
read
in interfaceRepeatedIntervalReader
-
read
- Specified by:
read
in interfaceDecimal28DenseReader
-
read
- Specified by:
read
in interfaceDecimal28DenseReader
-
read
- Specified by:
read
in interfaceRepeatedDecimal28DenseReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceDecimal28DenseReader
- Specified by:
copyAsValue
in interfaceRepeatedDecimal28DenseReader
-
copyAsField
- Specified by:
copyAsField
in interfaceDecimal28DenseReader
- Specified by:
copyAsField
in interfaceRepeatedDecimal28DenseReader
-
read
- Specified by:
read
in interfaceRepeatedDecimal28DenseReader
-
read
- Specified by:
read
in interfaceDecimal38DenseReader
-
read
- Specified by:
read
in interfaceDecimal38DenseReader
-
read
- Specified by:
read
in interfaceRepeatedDecimal38DenseReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceDecimal38DenseReader
- Specified by:
copyAsValue
in interfaceRepeatedDecimal38DenseReader
-
copyAsField
- Specified by:
copyAsField
in interfaceDecimal38DenseReader
- Specified by:
copyAsField
in interfaceRepeatedDecimal38DenseReader
-
read
- Specified by:
read
in interfaceRepeatedDecimal38DenseReader
-
read
- Specified by:
read
in interfaceDecimal38SparseReader
-
read
- Specified by:
read
in interfaceDecimal38SparseReader
-
read
- Specified by:
read
in interfaceRepeatedDecimal38SparseReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceDecimal38SparseReader
- Specified by:
copyAsValue
in interfaceRepeatedDecimal38SparseReader
-
copyAsField
- Specified by:
copyAsField
in interfaceDecimal38SparseReader
- Specified by:
copyAsField
in interfaceRepeatedDecimal38SparseReader
-
read
- Specified by:
read
in interfaceRepeatedDecimal38SparseReader
-
read
- Specified by:
read
in interfaceDecimal28SparseReader
-
read
- Specified by:
read
in interfaceDecimal28SparseReader
-
read
- Specified by:
read
in interfaceRepeatedDecimal28SparseReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceDecimal28SparseReader
- Specified by:
copyAsValue
in interfaceRepeatedDecimal28SparseReader
-
copyAsField
- Specified by:
copyAsField
in interfaceDecimal28SparseReader
- Specified by:
copyAsField
in interfaceRepeatedDecimal28SparseReader
-
read
- Specified by:
read
in interfaceRepeatedDecimal28SparseReader
-
read
- Specified by:
read
in interfaceVarBinaryReader
-
read
- Specified by:
read
in interfaceVarBinaryReader
-
read
- Specified by:
read
in interfaceRepeatedVarBinaryReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedVarBinaryReader
- Specified by:
copyAsValue
in interfaceVarBinaryReader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedVarBinaryReader
- Specified by:
copyAsField
in interfaceVarBinaryReader
-
read
- Specified by:
read
in interfaceRepeatedVarBinaryReader
-
read
- Specified by:
read
in interfaceVarCharReader
-
read
- Specified by:
read
in interfaceVarCharReader
-
read
- Specified by:
read
in interfaceRepeatedVarCharReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedVarCharReader
- Specified by:
copyAsValue
in interfaceVarCharReader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedVarCharReader
- Specified by:
copyAsField
in interfaceVarCharReader
-
read
- Specified by:
read
in interfaceRepeatedVarCharReader
-
read
- Specified by:
read
in interfaceVar16CharReader
-
read
- Specified by:
read
in interfaceVar16CharReader
-
read
- Specified by:
read
in interfaceRepeatedVar16CharReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedVar16CharReader
- Specified by:
copyAsValue
in interfaceVar16CharReader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedVar16CharReader
- Specified by:
copyAsField
in interfaceVar16CharReader
-
read
- Specified by:
read
in interfaceRepeatedVar16CharReader
-
read
- Specified by:
read
in interfaceVarDecimalReader
-
read
- Specified by:
read
in interfaceVarDecimalReader
-
read
- Specified by:
read
in interfaceRepeatedVarDecimalReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceRepeatedVarDecimalReader
- Specified by:
copyAsValue
in interfaceVarDecimalReader
-
copyAsField
- Specified by:
copyAsField
in interfaceRepeatedVarDecimalReader
- Specified by:
copyAsField
in interfaceVarDecimalReader
-
read
- Specified by:
read
in interfaceRepeatedVarDecimalReader
-
read
-
read
-
read
- Specified by:
read
in interfaceRepeatedBitReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceBitReader
- Specified by:
copyAsValue
in interfaceRepeatedBitReader
-
copyAsField
- Specified by:
copyAsField
in interfaceBitReader
- Specified by:
copyAsField
in interfaceRepeatedBitReader
-
read
- Specified by:
read
in interfaceRepeatedBitReader
-
size
public int size()- Specified by:
size
in interfaceBaseReader.RepeatedListReader
- Specified by:
size
in interfaceBaseReader.RepeatedMapReader
- Specified by:
size
in interfaceRepeatedBigIntReader
- Specified by:
size
in interfaceRepeatedBitReader
- Specified by:
size
in interfaceRepeatedDateReader
- Specified by:
size
in interfaceRepeatedDecimal18Reader
- Specified by:
size
in interfaceRepeatedDecimal28DenseReader
- Specified by:
size
in interfaceRepeatedDecimal28SparseReader
- Specified by:
size
in interfaceRepeatedDecimal38DenseReader
- Specified by:
size
in interfaceRepeatedDecimal38SparseReader
- Specified by:
size
in interfaceRepeatedDecimal9Reader
- Specified by:
size
in interfaceRepeatedFloat4Reader
- Specified by:
size
in interfaceRepeatedFloat8Reader
- Specified by:
size
in interfaceRepeatedIntervalDayReader
- Specified by:
size
in interfaceRepeatedIntervalReader
- Specified by:
size
in interfaceRepeatedIntervalYearReader
- Specified by:
size
in interfaceRepeatedIntReader
- Specified by:
size
in interfaceRepeatedSmallIntReader
- Specified by:
size
in interfaceRepeatedTimeReader
- Specified by:
size
in interfaceRepeatedTimeStampReader
- Specified by:
size
in interfaceRepeatedTinyIntReader
- Specified by:
size
in interfaceRepeatedUInt1Reader
- Specified by:
size
in interfaceRepeatedUInt2Reader
- Specified by:
size
in interfaceRepeatedUInt4Reader
- Specified by:
size
in interfaceRepeatedUInt8Reader
- Specified by:
size
in interfaceRepeatedVar16CharReader
- Specified by:
size
in interfaceRepeatedVarBinaryReader
- Specified by:
size
in interfaceRepeatedVarCharReader
- Specified by:
size
in interfaceRepeatedVarDecimalReader
- Specified by:
size
in interfaceUntypedReader
-
isSet
public boolean isSet()- Specified by:
isSet
in interfaceBaseReader
- Specified by:
isSet
in interfaceBigIntReader
- Specified by:
isSet
in interfaceBitReader
- Specified by:
isSet
in interfaceDateReader
- Specified by:
isSet
in interfaceDecimal18Reader
- Specified by:
isSet
in interfaceDecimal28DenseReader
- Specified by:
isSet
in interfaceDecimal28SparseReader
- Specified by:
isSet
in interfaceDecimal38DenseReader
- Specified by:
isSet
in interfaceDecimal38SparseReader
- Specified by:
isSet
in interfaceDecimal9Reader
- Specified by:
isSet
in interfaceFloat4Reader
- Specified by:
isSet
in interfaceFloat8Reader
- Specified by:
isSet
in interfaceIntervalDayReader
- Specified by:
isSet
in interfaceIntervalReader
- Specified by:
isSet
in interfaceIntervalYearReader
- Specified by:
isSet
in interfaceIntReader
- Specified by:
isSet
in interfaceRepeatedBigIntReader
- Specified by:
isSet
in interfaceRepeatedBitReader
- Specified by:
isSet
in interfaceRepeatedDateReader
- Specified by:
isSet
in interfaceRepeatedDecimal18Reader
- Specified by:
isSet
in interfaceRepeatedDecimal28DenseReader
- Specified by:
isSet
in interfaceRepeatedDecimal28SparseReader
- Specified by:
isSet
in interfaceRepeatedDecimal38DenseReader
- Specified by:
isSet
in interfaceRepeatedDecimal38SparseReader
- Specified by:
isSet
in interfaceRepeatedDecimal9Reader
- Specified by:
isSet
in interfaceRepeatedFloat4Reader
- Specified by:
isSet
in interfaceRepeatedFloat8Reader
- Specified by:
isSet
in interfaceRepeatedIntervalDayReader
- Specified by:
isSet
in interfaceRepeatedIntervalReader
- Specified by:
isSet
in interfaceRepeatedIntervalYearReader
- Specified by:
isSet
in interfaceRepeatedIntReader
- Specified by:
isSet
in interfaceRepeatedSmallIntReader
- Specified by:
isSet
in interfaceRepeatedTimeReader
- Specified by:
isSet
in interfaceRepeatedTimeStampReader
- Specified by:
isSet
in interfaceRepeatedTinyIntReader
- Specified by:
isSet
in interfaceRepeatedUInt1Reader
- Specified by:
isSet
in interfaceRepeatedUInt2Reader
- Specified by:
isSet
in interfaceRepeatedUInt4Reader
- Specified by:
isSet
in interfaceRepeatedUInt8Reader
- Specified by:
isSet
in interfaceRepeatedVar16CharReader
- Specified by:
isSet
in interfaceRepeatedVarBinaryReader
- Specified by:
isSet
in interfaceRepeatedVarCharReader
- Specified by:
isSet
in interfaceRepeatedVarDecimalReader
- Specified by:
isSet
in interfaceSmallIntReader
- Specified by:
isSet
in interfaceTimeReader
- Specified by:
isSet
in interfaceTimeStampReader
- Specified by:
isSet
in interfaceTinyIntReader
- Specified by:
isSet
in interfaceUInt1Reader
- Specified by:
isSet
in interfaceUInt2Reader
- Specified by:
isSet
in interfaceUInt4Reader
- Specified by:
isSet
in interfaceUInt8Reader
- Specified by:
isSet
in interfaceUntypedReader
- Specified by:
isSet
in interfaceVar16CharReader
- Specified by:
isSet
in interfaceVarBinaryReader
- Specified by:
isSet
in interfaceVarCharReader
- Specified by:
isSet
in interfaceVarDecimalReader
-
next
public boolean next()- Specified by:
next
in interfaceBaseReader.RepeatedListReader
- Specified by:
next
in interfaceBaseReader.RepeatedMapReader
-
map
-
list
-
map
-
list
-
reader
- Specified by:
reader
in interfaceBaseReader.MapReader
-
reader
- Specified by:
reader
in interfaceBaseReader.ListReader
-
readObject
- Specified by:
readObject
in interfaceRepeatedBigIntReader
- Specified by:
readObject
in interfaceRepeatedBitReader
- Specified by:
readObject
in interfaceRepeatedDateReader
- Specified by:
readObject
in interfaceRepeatedDecimal18Reader
- Specified by:
readObject
in interfaceRepeatedDecimal28DenseReader
- Specified by:
readObject
in interfaceRepeatedDecimal28SparseReader
- Specified by:
readObject
in interfaceRepeatedDecimal38DenseReader
- Specified by:
readObject
in interfaceRepeatedDecimal38SparseReader
- Specified by:
readObject
in interfaceRepeatedDecimal9Reader
- Specified by:
readObject
in interfaceRepeatedFloat4Reader
- Specified by:
readObject
in interfaceRepeatedFloat8Reader
- Specified by:
readObject
in interfaceRepeatedIntervalDayReader
- Specified by:
readObject
in interfaceRepeatedIntervalReader
- Specified by:
readObject
in interfaceRepeatedIntervalYearReader
- Specified by:
readObject
in interfaceRepeatedIntReader
- Specified by:
readObject
in interfaceRepeatedSmallIntReader
- Specified by:
readObject
in interfaceRepeatedTimeReader
- Specified by:
readObject
in interfaceRepeatedTimeStampReader
- Specified by:
readObject
in interfaceRepeatedTinyIntReader
- Specified by:
readObject
in interfaceRepeatedUInt1Reader
- Specified by:
readObject
in interfaceRepeatedUInt2Reader
- Specified by:
readObject
in interfaceRepeatedUInt4Reader
- Specified by:
readObject
in interfaceRepeatedUInt8Reader
- Specified by:
readObject
in interfaceRepeatedVar16CharReader
- Specified by:
readObject
in interfaceRepeatedVarBinaryReader
- Specified by:
readObject
in interfaceRepeatedVarCharReader
- Specified by:
readObject
in interfaceRepeatedVarDecimalReader
-
readObject
- Specified by:
readObject
in interfaceBigIntReader
- Specified by:
readObject
in interfaceBitReader
- Specified by:
readObject
in interfaceDateReader
- Specified by:
readObject
in interfaceDecimal18Reader
- Specified by:
readObject
in interfaceDecimal28DenseReader
- Specified by:
readObject
in interfaceDecimal28SparseReader
- Specified by:
readObject
in interfaceDecimal38DenseReader
- Specified by:
readObject
in interfaceDecimal38SparseReader
- Specified by:
readObject
in interfaceDecimal9Reader
- Specified by:
readObject
in interfaceFloat4Reader
- Specified by:
readObject
in interfaceFloat8Reader
- Specified by:
readObject
in interfaceIntervalDayReader
- Specified by:
readObject
in interfaceIntervalReader
- Specified by:
readObject
in interfaceIntervalYearReader
- Specified by:
readObject
in interfaceIntReader
- Specified by:
readObject
in interfaceSmallIntReader
- Specified by:
readObject
in interfaceTimeReader
- Specified by:
readObject
in interfaceTimeStampReader
- Specified by:
readObject
in interfaceTinyIntReader
- Specified by:
readObject
in interfaceUInt1Reader
- Specified by:
readObject
in interfaceUInt2Reader
- Specified by:
readObject
in interfaceUInt4Reader
- Specified by:
readObject
in interfaceUInt8Reader
- Specified by:
readObject
in interfaceVar16CharReader
- Specified by:
readObject
in interfaceVarBinaryReader
- Specified by:
readObject
in interfaceVarCharReader
- Specified by:
readObject
in interfaceVarDecimalReader
-
readBigDecimal
- Specified by:
readBigDecimal
in interfaceRepeatedDecimal18Reader
- Specified by:
readBigDecimal
in interfaceRepeatedDecimal28DenseReader
- Specified by:
readBigDecimal
in interfaceRepeatedDecimal28SparseReader
- Specified by:
readBigDecimal
in interfaceRepeatedDecimal38DenseReader
- Specified by:
readBigDecimal
in interfaceRepeatedDecimal38SparseReader
- Specified by:
readBigDecimal
in interfaceRepeatedDecimal9Reader
- Specified by:
readBigDecimal
in interfaceRepeatedVarDecimalReader
-
readBigDecimal
- Specified by:
readBigDecimal
in interfaceDecimal18Reader
- Specified by:
readBigDecimal
in interfaceDecimal28DenseReader
- Specified by:
readBigDecimal
in interfaceDecimal28SparseReader
- Specified by:
readBigDecimal
in interfaceDecimal38DenseReader
- Specified by:
readBigDecimal
in interfaceDecimal38SparseReader
- Specified by:
readBigDecimal
in interfaceDecimal9Reader
- Specified by:
readBigDecimal
in interfaceVarDecimalReader
-
readInteger
- Specified by:
readInteger
in interfaceRepeatedIntReader
- Specified by:
readInteger
in interfaceRepeatedUInt4Reader
-
readInteger
- Specified by:
readInteger
in interfaceIntReader
- Specified by:
readInteger
in interfaceUInt4Reader
-
readLong
- Specified by:
readLong
in interfaceRepeatedBigIntReader
- Specified by:
readLong
in interfaceRepeatedUInt8Reader
-
readLong
- Specified by:
readLong
in interfaceBigIntReader
- Specified by:
readLong
in interfaceUInt8Reader
-
readBoolean
- Specified by:
readBoolean
in interfaceRepeatedBitReader
-
readBoolean
- Specified by:
readBoolean
in interfaceBitReader
-
readCharacter
- Specified by:
readCharacter
in interfaceRepeatedUInt2Reader
-
readCharacter
- Specified by:
readCharacter
in interfaceUInt2Reader
-
readLocalDate
- Specified by:
readLocalDate
in interfaceRepeatedDateReader
-
readLocalDate
- Specified by:
readLocalDate
in interfaceDateReader
-
readLocalTime
- Specified by:
readLocalTime
in interfaceRepeatedTimeReader
-
readLocalTime
- Specified by:
readLocalTime
in interfaceTimeReader
-
readLocalDateTime
- Specified by:
readLocalDateTime
in interfaceRepeatedTimeStampReader
-
readLocalDateTime
- Specified by:
readLocalDateTime
in interfaceTimeStampReader
-
readPeriod
public org.joda.time.Period readPeriod(int arrayIndex) - Specified by:
readPeriod
in interfaceRepeatedIntervalDayReader
- Specified by:
readPeriod
in interfaceRepeatedIntervalReader
- Specified by:
readPeriod
in interfaceRepeatedIntervalYearReader
-
readPeriod
public org.joda.time.Period readPeriod()- Specified by:
readPeriod
in interfaceIntervalDayReader
- Specified by:
readPeriod
in interfaceIntervalReader
- Specified by:
readPeriod
in interfaceIntervalYearReader
-
readDouble
- Specified by:
readDouble
in interfaceRepeatedFloat8Reader
-
readDouble
- Specified by:
readDouble
in interfaceFloat8Reader
-
readFloat
- Specified by:
readFloat
in interfaceRepeatedFloat4Reader
-
readFloat
- Specified by:
readFloat
in interfaceFloat4Reader
-
readText
- Specified by:
readText
in interfaceRepeatedVarCharReader
-
readText
- Specified by:
readText
in interfaceVarCharReader
-
readString
- Specified by:
readString
in interfaceRepeatedVar16CharReader
-
readString
- Specified by:
readString
in interfaceVar16CharReader
-
readByte
- Specified by:
readByte
in interfaceRepeatedTinyIntReader
- Specified by:
readByte
in interfaceRepeatedUInt1Reader
-
readByte
- Specified by:
readByte
in interfaceTinyIntReader
- Specified by:
readByte
in interfaceUInt1Reader
-
readShort
- Specified by:
readShort
in interfaceRepeatedSmallIntReader
-
readShort
- Specified by:
readShort
in interfaceSmallIntReader
-
readByteArray
public byte[] readByteArray(int arrayIndex) - Specified by:
readByteArray
in interfaceRepeatedVarBinaryReader
-
readByteArray
public byte[] readByteArray()- Specified by:
readByteArray
in interfaceVarBinaryReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceBaseReader.DictReader
-
find
Description copied from interface:BaseReader.DictReader
Obtain the index for given key in current row used to find a corresponding value with. Used in generated code when retrieving value from Dict withPathSegment.NameSegment
in cases whenDictVector.getValueType()
is complex.Despite
key
is passed asString
the value is converted to actual type based onDictVector.getKeyType()
.- Specified by:
find
in interfaceBaseReader.DictReader
- Parameters:
key
- literal representing key value- Returns:
- index for the given key
- See Also:
-
find
public int find(int key) Description copied from interface:BaseReader.DictReader
Obtain the index for given key in current row used to find a corresponding value with. Used in generated code when retrieving value from Dict withPathSegment.ArraySegment
in cases whenDictVector.getValueType()
is complex.Despite
key
is passed asint
the value is converted to actual type based onDictVector.getKeyType()
.- Specified by:
find
in interfaceBaseReader.DictReader
- Parameters:
key
- literal representing key value- Returns:
- index for the given key
- See Also:
-
find
Description copied from interface:BaseReader.DictReader
Obtain the index for given key in current row used to find a corresponding value with. Used in generated code when retrieving value from Dict usingPathSegment
with providedPathSegment.getOriginalValue()
in cases whenDictVector.getValueType()
is complex.The
key
is assumed to be of actual type, is not converted and used as is.- Specified by:
find
in interfaceBaseReader.DictReader
- Parameters:
key
- key value- Returns:
- index for the given key
- See Also:
-
read
Description copied from interface:BaseReader.DictReader
Reads a value corresponding to akey
into theholder
. If there is no entry in the row with the givenkey
, value is set to null.Used in generated code when retrieving value from Dict with
PathSegment.NameSegment
in cases whenDictVector.getValueType()
is primitive.Despite
key
is passed asString
the value is converted to actual type based onDictVector.getKeyType()
.- Specified by:
read
in interfaceBaseReader.DictReader
- Parameters:
key
- literal representing key valueholder
- a holder to write value's value into- See Also:
-
read
Description copied from interface:BaseReader.DictReader
Reads a value corresponding to akey
into theholder
. If there is no entry in the row with the givenkey
, value is set to null.Used in generated code when retrieving value from Dict with
PathSegment.ArraySegment
in cases whenDictVector.getValueType()
is primitive.Despite
key
is passed asint
the value is converted to actual type based onDictVector.getKeyType()
.- Specified by:
read
in interfaceBaseReader.DictReader
- Parameters:
key
- literal representing key valueholder
- a holder to write value's value into- See Also:
-
read
Description copied from interface:BaseReader.DictReader
Reads a value corresponding to akey
into theholder
. If there is no entry in the row with the givenkey
, value is set to null.Used in generated code when retrieving value from Dict using
PathSegment
with providedPathSegment.getOriginalValue()
in cases whenDictVector.getValueType()
is primitive.The
key
is assumed to be of actual type, is not converted and used as is.- Specified by:
read
in interfaceBaseReader.DictReader
- Parameters:
key
- key valueholder
- a holder to write value's value into- See Also:
-
setPosition
public void setPosition(int index) - Specified by:
setPosition
in interfacePositionable
-
reset
public void reset()- Specified by:
reset
in interfaceBaseReader
-
iterator
-
getVectorType
Description copied from interface:BaseReader
Returns the type of the vector, not value. For all vectors, this is the same as the vector's getField().getType().getMinorType(). It is used to report the actual vector type in the getDrillType() function.- Specified by:
getVectorType
in interfaceBaseReader
-
getField
- Specified by:
getField
in interfaceBaseReader
-
read
- Specified by:
read
in interfaceBaseReader
-
read
- Specified by:
read
in interfaceBaseReader
-
read
- Specified by:
read
in interfaceUntypedReader
-
read
- Specified by:
read
in interfaceUntypedReader
-
getTypeString
Description copied from interface:BaseReader
ReturnsString
representation of the reader's type. In case ifBaseReader.getType()
is primitive, the method is equivalent to {@link #getType().getMinorType().name()}. If the reader has minor type equal toTypeProtos.MinorType.DICT
,DICT<keyMinorType,valueMinorType>
, withkeyMinorType
andvalueMinorType
being key's and value's minor types respectively, will be returned. Used intypeOf
UDF.- Specified by:
getTypeString
in interfaceBaseReader
- Returns:
String
representation of reader's type.
-