Class NullableTimeStampHolderReaderImpl
java.lang.Object
org.apache.drill.exec.vector.complex.impl.AbstractFieldReader
org.apache.drill.exec.vector.complex.impl.NullableTimeStampHolderReaderImpl
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyAsField(String name, BaseWriter.MapWriter writer) voidcopyAsValue(UnionWriter writer) voidcopyAsValue(BaseWriter.ListWriter writer) voidcopyAsValue(TimeStampWriter writer) getField()getType()ReturnsStringrepresentation of the reader's type.booleanisSet()Returns true if the current value of the reader is not nulliterator()booleannext()voidread(int index, UnionHolder holder) voidvoidvoidread(UnionHolder holder) voidread(UntypedNullHolder holder) voidreset()voidsetPosition(int index) intsize()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, readLocalTime, readLocalTime, readLong, readLong, readObject, readPeriod, readPeriod, readShort, readShort, readString, readString, readText, readTextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader
copyAsValue, getField, getTypeString, read, read, resetMethods inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader.RepeatedListReader
copyAsValueMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.apache.drill.exec.vector.UntypedReader
read
-
Constructor Details
-
NullableTimeStampHolderReaderImpl
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceBaseReader.RepeatedListReader- Specified by:
sizein interfaceBaseReader.RepeatedMapReader- Specified by:
sizein interfaceRepeatedBigIntReader- Specified by:
sizein interfaceRepeatedBitReader- Specified by:
sizein interfaceRepeatedDateReader- Specified by:
sizein interfaceRepeatedDecimal18Reader- Specified by:
sizein interfaceRepeatedDecimal28DenseReader- Specified by:
sizein interfaceRepeatedDecimal28SparseReader- Specified by:
sizein interfaceRepeatedDecimal38DenseReader- Specified by:
sizein interfaceRepeatedDecimal38SparseReader- Specified by:
sizein interfaceRepeatedDecimal9Reader- Specified by:
sizein interfaceRepeatedFloat4Reader- Specified by:
sizein interfaceRepeatedFloat8Reader- Specified by:
sizein interfaceRepeatedIntervalDayReader- Specified by:
sizein interfaceRepeatedIntervalReader- Specified by:
sizein interfaceRepeatedIntervalYearReader- Specified by:
sizein interfaceRepeatedIntReader- Specified by:
sizein interfaceRepeatedSmallIntReader- Specified by:
sizein interfaceRepeatedTimeReader- Specified by:
sizein interfaceRepeatedTimeStampReader- Specified by:
sizein interfaceRepeatedTinyIntReader- Specified by:
sizein interfaceRepeatedUInt1Reader- Specified by:
sizein interfaceRepeatedUInt2Reader- Specified by:
sizein interfaceRepeatedUInt4Reader- Specified by:
sizein interfaceRepeatedUInt8Reader- Specified by:
sizein interfaceRepeatedVar16CharReader- Specified by:
sizein interfaceRepeatedVarBinaryReader- Specified by:
sizein interfaceRepeatedVarCharReader- Specified by:
sizein interfaceRepeatedVarDecimalReader- Specified by:
sizein interfaceUntypedReader- Overrides:
sizein classAbstractFieldReader
-
next
public boolean next()- Specified by:
nextin interfaceBaseReader.RepeatedListReader- Specified by:
nextin interfaceBaseReader.RepeatedMapReader
-
setPosition
public void setPosition(int index) - Specified by:
setPositionin interfacePositionable
-
getType
- Specified by:
getTypein interfaceBaseReader
-
isSet
public boolean isSet()Description copied from class:AbstractFieldReaderReturns true if the current value of the reader is not null- Specified by:
isSetin interfaceBaseReader- Specified by:
isSetin interfaceBigIntReader- Specified by:
isSetin interfaceBitReader- Specified by:
isSetin interfaceDateReader- Specified by:
isSetin interfaceDecimal18Reader- Specified by:
isSetin interfaceDecimal28DenseReader- Specified by:
isSetin interfaceDecimal28SparseReader- Specified by:
isSetin interfaceDecimal38DenseReader- Specified by:
isSetin interfaceDecimal38SparseReader- Specified by:
isSetin interfaceDecimal9Reader- Specified by:
isSetin interfaceFloat4Reader- Specified by:
isSetin interfaceFloat8Reader- Specified by:
isSetin interfaceIntervalDayReader- Specified by:
isSetin interfaceIntervalReader- Specified by:
isSetin interfaceIntervalYearReader- Specified by:
isSetin interfaceIntReader- Specified by:
isSetin interfaceRepeatedBigIntReader- Specified by:
isSetin interfaceRepeatedBitReader- Specified by:
isSetin interfaceRepeatedDateReader- Specified by:
isSetin interfaceRepeatedDecimal18Reader- Specified by:
isSetin interfaceRepeatedDecimal28DenseReader- Specified by:
isSetin interfaceRepeatedDecimal28SparseReader- Specified by:
isSetin interfaceRepeatedDecimal38DenseReader- Specified by:
isSetin interfaceRepeatedDecimal38SparseReader- Specified by:
isSetin interfaceRepeatedDecimal9Reader- Specified by:
isSetin interfaceRepeatedFloat4Reader- Specified by:
isSetin interfaceRepeatedFloat8Reader- Specified by:
isSetin interfaceRepeatedIntervalDayReader- Specified by:
isSetin interfaceRepeatedIntervalReader- Specified by:
isSetin interfaceRepeatedIntervalYearReader- Specified by:
isSetin interfaceRepeatedIntReader- Specified by:
isSetin interfaceRepeatedSmallIntReader- Specified by:
isSetin interfaceRepeatedTimeReader- Specified by:
isSetin interfaceRepeatedTimeStampReader- Specified by:
isSetin interfaceRepeatedTinyIntReader- Specified by:
isSetin interfaceRepeatedUInt1Reader- Specified by:
isSetin interfaceRepeatedUInt2Reader- Specified by:
isSetin interfaceRepeatedUInt4Reader- Specified by:
isSetin interfaceRepeatedUInt8Reader- Specified by:
isSetin interfaceRepeatedVar16CharReader- Specified by:
isSetin interfaceRepeatedVarBinaryReader- Specified by:
isSetin interfaceRepeatedVarCharReader- Specified by:
isSetin interfaceRepeatedVarDecimalReader- Specified by:
isSetin interfaceSmallIntReader- Specified by:
isSetin interfaceTimeReader- Specified by:
isSetin interfaceTimeStampReader- Specified by:
isSetin interfaceTinyIntReader- Specified by:
isSetin interfaceUInt1Reader- Specified by:
isSetin interfaceUInt2Reader- Specified by:
isSetin interfaceUInt4Reader- Specified by:
isSetin interfaceUInt8Reader- Specified by:
isSetin interfaceUntypedReader- Specified by:
isSetin interfaceVar16CharReader- Specified by:
isSetin interfaceVarBinaryReader- Specified by:
isSetin interfaceVarCharReader- Specified by:
isSetin interfaceVarDecimalReader- Overrides:
isSetin classAbstractFieldReader- Returns:
-
read
- Specified by:
readin interfaceTimeStampReader- Overrides:
readin classAbstractFieldReader
-
read
- Specified by:
readin interfaceTimeStampReader- Overrides:
readin classAbstractFieldReader
-
readLocalDateTime
- Specified by:
readLocalDateTimein interfaceTimeStampReader- Overrides:
readLocalDateTimein classAbstractFieldReader
-
readObject
- Specified by:
readObjectin interfaceBigIntReader- Specified by:
readObjectin interfaceBitReader- Specified by:
readObjectin interfaceDateReader- Specified by:
readObjectin interfaceDecimal18Reader- Specified by:
readObjectin interfaceDecimal28DenseReader- Specified by:
readObjectin interfaceDecimal28SparseReader- Specified by:
readObjectin interfaceDecimal38DenseReader- Specified by:
readObjectin interfaceDecimal38SparseReader- Specified by:
readObjectin interfaceDecimal9Reader- Specified by:
readObjectin interfaceFloat4Reader- Specified by:
readObjectin interfaceFloat8Reader- Specified by:
readObjectin interfaceIntervalDayReader- Specified by:
readObjectin interfaceIntervalReader- Specified by:
readObjectin interfaceIntervalYearReader- Specified by:
readObjectin interfaceIntReader- Specified by:
readObjectin interfaceSmallIntReader- Specified by:
readObjectin interfaceTimeReader- Specified by:
readObjectin interfaceTimeStampReader- Specified by:
readObjectin interfaceTinyIntReader- Specified by:
readObjectin interfaceUInt1Reader- Specified by:
readObjectin interfaceUInt2Reader- Specified by:
readObjectin interfaceUInt4Reader- Specified by:
readObjectin interfaceUInt8Reader- Specified by:
readObjectin interfaceVar16CharReader- Specified by:
readObjectin interfaceVarBinaryReader- Specified by:
readObjectin interfaceVarCharReader- Specified by:
readObjectin interfaceVarDecimalReader- Overrides:
readObjectin classAbstractFieldReader
-
copyAsValue
- Specified by:
copyAsValuein interfaceRepeatedTimeStampReader- Specified by:
copyAsValuein interfaceTimeStampReader- Overrides:
copyAsValuein classAbstractFieldReader
-
copyAsField
- Overrides:
copyAsFieldin classAbstractFieldReader
-
reset
public void reset()- Specified by:
resetin interfaceBaseReader
-
iterator
-
getField
- Specified by:
getFieldin interfaceBaseReader
-
read
- Specified by:
readin interfaceBaseReader
-
read
- Specified by:
readin interfaceBaseReader
-
read
- Specified by:
readin interfaceUntypedReader
-
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader
-
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader.RepeatedListReader
-
getTypeString
Description copied from interface:BaseReaderReturnsStringrepresentation of the reader's type. In case ifBaseReader.getType()is primitive, the method is equivalent to}. If the reader has minor type equal toinvalid @link
{@link #getType().getMinorType().name()TypeProtos.MinorType.DICT,DICT<keyMinorType,valueMinorType>, withkeyMinorTypeandvalueMinorTypebeing key's and value's minor types respectively, will be returned. Used intypeOfUDF.- Specified by:
getTypeStringin interfaceBaseReader- Returns:
Stringrepresentation of reader's type.
-