Class NullableDecimal18ReaderImpl
java.lang.Object
org.apache.drill.exec.vector.complex.impl.AbstractFieldReader
org.apache.drill.exec.vector.complex.impl.NullableDecimal18ReaderImpl
- 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyAsField
(String name, BaseWriter.MapWriter writer) void
copyAsValue
(UnionWriter writer) void
copyAsValue
(BaseWriter.ListWriter writer) void
copyAsValue
(Decimal18Writer writer) void
getField()
getType()
ReturnsString
representation of the reader's type.boolean
isSet()
Returns true if the current value of the reader is not nulliterator()
boolean
next()
void
read
(int index, UnionHolder holder) void
void
read
(UnionHolder holder) void
read
(ValueHolder h) void
read
(UntypedNullHolder holder) void
reset()
void
setPosition
(int index) Methods inherited from class org.apache.drill.exec.vector.complex.impl.AbstractFieldReader
copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsField, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, find, find, find, getVectorType, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, readBigDecimal, readBoolean, readBoolean, readByte, readByte, readByteArray, readByteArray, readCharacter, readCharacter, readDouble, readDouble, reader, reader, readFloat, readFloat, readInteger, readInteger, readLocalDate, readLocalDate, readLocalDateTime, readLocalDateTime, readLocalTime, readLocalTime, readLong, readLong, readObject, readPeriod, readPeriod, readShort, readShort, readString, readString, readText, readText, 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
copyAsValue, getTypeString, read, read, reset
Methods inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader.RepeatedListReader
copyAsValue, next
Methods inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader.RepeatedMapReader
next
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
-
Constructor Details
-
NullableDecimal18ReaderImpl
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceBaseReader
-
getField
- Specified by:
getField
in interfaceBaseReader
-
isSet
public boolean isSet()Description copied from class:AbstractFieldReader
Returns true if the current value of the reader is not null- 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
- Overrides:
isSet
in classAbstractFieldReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceDecimal18Reader
- Specified by:
copyAsValue
in interfaceRepeatedDecimal18Reader
- Overrides:
copyAsValue
in classAbstractFieldReader
-
copyAsField
- Overrides:
copyAsField
in classAbstractFieldReader
-
read
- Specified by:
read
in interfaceBaseReader
- Overrides:
read
in classAbstractFieldReader
-
read
- Specified by:
read
in interfaceDecimal18Reader
- Overrides:
read
in classAbstractFieldReader
-
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
- Overrides:
readBigDecimal
in classAbstractFieldReader
-
copyValue
-
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
- Overrides:
readObject
in classAbstractFieldReader
-
setPosition
public void setPosition(int index) - Specified by:
setPosition
in interfacePositionable
-
reset
public void reset()- Specified by:
reset
in interfaceBaseReader
-
iterator
-
next
public boolean next()- Specified by:
next
in interfaceBaseReader.RepeatedListReader
- Specified by:
next
in interfaceBaseReader.RepeatedMapReader
-
read
- Specified by:
read
in interfaceBaseReader
-
read
- Specified by:
read
in interfaceBaseReader
-
read
- Specified by:
read
in interfaceUntypedReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceBaseReader
-
copyAsValue
- Specified by:
copyAsValue
in interfaceBaseReader.RepeatedListReader
-
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.
-