java.lang.Object
org.apache.arrow.vector.complex.impl.AbstractFieldReader
org.apache.arrow.variant.impl.VariantReaderImpl
- 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) getField()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) voidvoidvoidread(DenseUnionHolder holder) voidread(ExtensionHolder holder) Reads to the given extension holder.voidread(UnionHolder holder) Reads and returns an object representation of the extension type.voidreset()voidsetPosition(int index) 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, copyAsValue, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, 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, readDuration, reader, reader, readFloat, readFloat, readInteger, readInteger, readLocalDateTime, readLocalDateTime, readLong, readLong, readObject, readPeriod, readPeriod, readPeriodDuration, readPeriodDuration, readShort, readShort, readString, readString, readText, readText, sizeMethods 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
copyAsValue, nextMethods inherited from interface org.apache.arrow.vector.complex.reader.BaseReader.RepeatedMapReader
copyAsValue, nextMethods inherited from interface org.apache.arrow.vector.complex.reader.BaseReader.RepeatedStructReader
nextMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.apache.arrow.vector.complex.Positionable
getPosition, setPosition
-
Constructor Details
-
VariantReaderImpl
-
-
Method Details
-
getMinorType
-
getField
- Specified by:
getFieldin interfaceBaseReader- Overrides:
getFieldin classAbstractFieldReader
-
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
Description copied from interface:ExtensionReaderReads to the given extension holder.- Specified by:
readin interfaceExtensionReader- Overrides:
readin classAbstractFieldReader- Parameters:
holder- theExtensionHolderto read
-
read
-
read
-
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
-
getPosition
public int getPosition()- Specified by:
getPositionin interfacePositionable
-
setPosition
public void setPosition(int index) - Specified by:
setPositionin interfacePositionable
-
idx
protected int idx() -
reset
public void reset()- Specified by:
resetin interfaceBaseReader
-
iterator
-
next
public boolean next()- Specified by:
nextin interfaceBaseReader.RepeatedListReader- Specified by:
nextin interfaceBaseReader.RepeatedMapReader- Specified by:
nextin interfaceBaseReader.RepeatedStructReader
-
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
-