Class NullableIntervalYearHolderReaderImpl
java.lang.Object
org.apache.drill.exec.vector.complex.impl.AbstractFieldReader
org.apache.drill.exec.vector.complex.impl.NullableIntervalYearHolderReaderImpl
- 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
(IntervalYearWriter writer) 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
void
read
(UnionHolder holder) void
read
(UntypedNullHolder holder) org.joda.time.Period
void
reset()
void
setPosition
(int index) int
size()
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, 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, readShort, readShort, readString, readString, readText, readText
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, getField, getTypeString, read, read, reset
Methods inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader.RepeatedListReader
copyAsValue
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.apache.drill.exec.vector.UntypedReader
read
-
Constructor Details
-
NullableIntervalYearHolderReaderImpl
-
-
Method Details
-
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
- Overrides:
size
in classAbstractFieldReader
-
next
public boolean next()- Specified by:
next
in interfaceBaseReader.RepeatedListReader
- Specified by:
next
in interfaceBaseReader.RepeatedMapReader
-
setPosition
public void setPosition(int index) - Specified by:
setPosition
in interfacePositionable
-
getType
- Specified by:
getType
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
-
read
- Specified by:
read
in interfaceIntervalYearReader
- Overrides:
read
in classAbstractFieldReader
-
read
- Specified by:
read
in interfaceIntervalYearReader
- Overrides:
read
in classAbstractFieldReader
-
readPeriod
public org.joda.time.Period readPeriod()- Specified by:
readPeriod
in interfaceIntervalDayReader
- Specified by:
readPeriod
in interfaceIntervalReader
- Specified by:
readPeriod
in interfaceIntervalYearReader
- Overrides:
readPeriod
in classAbstractFieldReader
-
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
-
copyAsValue
- Specified by:
copyAsValue
in interfaceIntervalYearReader
- Specified by:
copyAsValue
in interfaceRepeatedIntervalYearReader
- Overrides:
copyAsValue
in classAbstractFieldReader
-
copyAsField
- Overrides:
copyAsField
in classAbstractFieldReader
-
reset
public void reset()- Specified by:
reset
in interfaceBaseReader
-
iterator
-
getField
- Specified by:
getField
in interfaceBaseReader
-
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.
-