Module org.apache.arrow.vector
Class DurationHolderReaderImpl
java.lang.Object
org.apache.arrow.vector.complex.impl.AbstractFieldReader
org.apache.arrow.vector.complex.impl.DurationHolderReaderImpl
- All Implemented Interfaces:
Iterable<String>,Positionable,BaseReader,BaseReader.ListReader,BaseReader.MapReader,BaseReader.RepeatedListReader,BaseReader.RepeatedMapReader,BaseReader.RepeatedStructReader,BaseReader.ScalarReader,BaseReader.StructReader,BigIntReader,BitReader,DateDayReader,DateMilliReader,Decimal256Reader,DecimalReader,DurationReader,ExtensionReader,FieldReader,FixedSizeBinaryReader,Float2Reader,Float4Reader,Float8Reader,IntervalDayReader,IntervalMonthDayNanoReader,IntervalYearReader,IntReader,LargeVarBinaryReader,LargeVarCharReader,SmallIntReader,TimeMicroReader,TimeMilliReader,TimeNanoReader,TimeSecReader,TimeStampMicroReader,TimeStampMicroTZReader,TimeStampMilliReader,TimeStampMilliTZReader,TimeStampNanoReader,TimeStampNanoTZReader,TimeStampSecReader,TimeStampSecTZReader,TinyIntReader,UInt1Reader,UInt2Reader,UInt4Reader,UInt8Reader,VarBinaryReader,VarCharReader,ViewVarBinaryReader,ViewVarCharReader
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.arrow.vector.complex.reader.BaseReader
BaseReader.ComplexReader, BaseReader.ListReader, BaseReader.MapReader, BaseReader.RepeatedListReader, BaseReader.RepeatedMapReader, BaseReader.RepeatedStructReader, BaseReader.ScalarReader, BaseReader.StructReader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyAsValue(DenseUnionWriter writer) voidcopyAsValue(UnionWriter writer) voidcopyAsValue(BaseWriter.ListWriter writer) voidcopyAsValue(BaseWriter.MapWriter writer) voidcopyAsValue(DurationWriter writer) intprotected intidx()booleanisSet()Returns true if the current value of the reader is not nulliterator()booleannext()voidread(int index, DenseUnionHolder holder) voidread(int index, UnionHolder holder) voidread(DenseUnionHolder holder) voidvoidvoidread(UnionHolder holder) Reads and returns an object representation of the extension type.voidreset()voidsetPosition(int index) intsize()Methods inherited from class org.apache.arrow.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, 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, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, copyAsValue, getField, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, 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, readDuration, reader, reader, readFloat, readFloat, readInteger, readInteger, readLocalDateTime, readLocalDateTime, readLong, readLong, readObject, readPeriod, readPeriod, readPeriodDuration, readPeriodDuration, 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.arrow.vector.complex.reader.BaseReader
copyAsValue, copyAsValue, read, read, read, read, resetMethods inherited from interface org.apache.arrow.vector.complex.reader.BaseReader.RepeatedListReader
copyAsValueMethods inherited from interface org.apache.arrow.vector.complex.reader.BaseReader.RepeatedMapReader
copyAsValueMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.apache.arrow.vector.complex.Positionable
getPosition
-
Constructor Details
-
DurationHolderReaderImpl
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceBaseReader.RepeatedListReader- Specified by:
sizein interfaceBaseReader.RepeatedMapReader- Specified by:
sizein interfaceBaseReader.RepeatedStructReader- Overrides:
sizein classAbstractFieldReader
-
next
public boolean next()- Specified by:
nextin interfaceBaseReader.RepeatedListReader- Specified by:
nextin interfaceBaseReader.RepeatedMapReader- Specified by:
nextin interfaceBaseReader.RepeatedStructReader
-
setPosition
public void setPosition(int index) - Specified by:
setPositionin interfacePositionable
-
getMinorType
-
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 interfaceDateDayReader- Specified by:
isSetin interfaceDateMilliReader- Specified by:
isSetin interfaceDecimal256Reader- Specified by:
isSetin interfaceDecimalReader- Specified by:
isSetin interfaceDurationReader- Specified by:
isSetin interfaceExtensionReader- Specified by:
isSetin interfaceFixedSizeBinaryReader- Specified by:
isSetin interfaceFloat2Reader- Specified by:
isSetin interfaceFloat4Reader- Specified by:
isSetin interfaceFloat8Reader- Specified by:
isSetin interfaceIntervalDayReader- Specified by:
isSetin interfaceIntervalMonthDayNanoReader- Specified by:
isSetin interfaceIntervalYearReader- Specified by:
isSetin interfaceIntReader- Specified by:
isSetin interfaceLargeVarBinaryReader- Specified by:
isSetin interfaceLargeVarCharReader- Specified by:
isSetin interfaceSmallIntReader- Specified by:
isSetin interfaceTimeMicroReader- Specified by:
isSetin interfaceTimeMilliReader- Specified by:
isSetin interfaceTimeNanoReader- Specified by:
isSetin interfaceTimeSecReader- Specified by:
isSetin interfaceTimeStampMicroReader- Specified by:
isSetin interfaceTimeStampMicroTZReader- Specified by:
isSetin interfaceTimeStampMilliReader- Specified by:
isSetin interfaceTimeStampMilliTZReader- Specified by:
isSetin interfaceTimeStampNanoReader- Specified by:
isSetin interfaceTimeStampNanoTZReader- Specified by:
isSetin interfaceTimeStampSecReader- Specified by:
isSetin interfaceTimeStampSecTZReader- Specified by:
isSetin interfaceTinyIntReader- Specified by:
isSetin interfaceUInt1Reader- Specified by:
isSetin interfaceUInt2Reader- Specified by:
isSetin interfaceUInt4Reader- Specified by:
isSetin interfaceUInt8Reader- Specified by:
isSetin interfaceVarBinaryReader- Specified by:
isSetin interfaceVarCharReader- Specified by:
isSetin interfaceViewVarBinaryReader- Specified by:
isSetin interfaceViewVarCharReader- Overrides:
isSetin classAbstractFieldReader- Returns:
- whether the current value is set
-
read
- Specified by:
readin interfaceDurationReader- Overrides:
readin classAbstractFieldReader
-
read
- Specified by:
readin interfaceDurationReader- Overrides:
readin classAbstractFieldReader
-
readDuration
- Specified by:
readDurationin interfaceDurationReader- Specified by:
readDurationin interfaceIntervalDayReader- Overrides:
readDurationin classAbstractFieldReader
-
readObject
Description copied from interface:ExtensionReaderReads and returns an object representation of the extension type.- Specified by:
readObjectin interfaceBigIntReader- Specified by:
readObjectin interfaceBitReader- Specified by:
readObjectin interfaceDateDayReader- Specified by:
readObjectin interfaceDateMilliReader- Specified by:
readObjectin interfaceDecimal256Reader- Specified by:
readObjectin interfaceDecimalReader- Specified by:
readObjectin interfaceDurationReader- Specified by:
readObjectin interfaceExtensionReader- Specified by:
readObjectin interfaceFixedSizeBinaryReader- Specified by:
readObjectin interfaceFloat2Reader- Specified by:
readObjectin interfaceFloat4Reader- Specified by:
readObjectin interfaceFloat8Reader- Specified by:
readObjectin interfaceIntervalDayReader- Specified by:
readObjectin interfaceIntervalMonthDayNanoReader- Specified by:
readObjectin interfaceIntervalYearReader- Specified by:
readObjectin interfaceIntReader- Specified by:
readObjectin interfaceLargeVarBinaryReader- Specified by:
readObjectin interfaceLargeVarCharReader- Specified by:
readObjectin interfaceSmallIntReader- Specified by:
readObjectin interfaceTimeMicroReader- Specified by:
readObjectin interfaceTimeMilliReader- Specified by:
readObjectin interfaceTimeNanoReader- Specified by:
readObjectin interfaceTimeSecReader- Specified by:
readObjectin interfaceTimeStampMicroReader- Specified by:
readObjectin interfaceTimeStampMicroTZReader- Specified by:
readObjectin interfaceTimeStampMilliReader- Specified by:
readObjectin interfaceTimeStampMilliTZReader- Specified by:
readObjectin interfaceTimeStampNanoReader- Specified by:
readObjectin interfaceTimeStampNanoTZReader- Specified by:
readObjectin interfaceTimeStampSecReader- Specified by:
readObjectin interfaceTimeStampSecTZReader- Specified by:
readObjectin interfaceTinyIntReader- Specified by:
readObjectin interfaceUInt1Reader- Specified by:
readObjectin interfaceUInt2Reader- Specified by:
readObjectin interfaceUInt4Reader- Specified by:
readObjectin interfaceUInt8Reader- Specified by:
readObjectin interfaceVarBinaryReader- Specified by:
readObjectin interfaceVarCharReader- Specified by:
readObjectin interfaceViewVarBinaryReader- Specified by:
readObjectin interfaceViewVarCharReader- Overrides:
readObjectin classAbstractFieldReader- Returns:
- the object representation of the extension type
-
copyAsValue
- Specified by:
copyAsValuein interfaceDurationReader- Overrides:
copyAsValuein classAbstractFieldReader
-
getPosition
public int getPosition()- Specified by:
getPositionin interfacePositionable
-
idx
protected int idx() -
reset
public void reset()- Specified by:
resetin interfaceBaseReader
-
iterator
-
read
- Specified by:
readin interfaceBaseReader
-
read
- Specified by:
readin interfaceBaseReader
-
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader
-
read
- Specified by:
readin interfaceBaseReader
-
read
- Specified by:
readin interfaceBaseReader
-
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader
-
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader.RepeatedListReader
-
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader.RepeatedMapReader
-