Module org.apache.arrow.variant
Package org.apache.arrow.variant.impl
Class NullableVariantHolderReaderImpl
java.lang.Object
org.apache.arrow.vector.complex.impl.AbstractFieldReader
org.apache.arrow.variant.impl.NullableVariantHolderReaderImpl
- 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) 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) voidReads the variant holder data into the provided holder.voidread(DenseUnionHolder holder) voidread(UnionHolder holder) 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, 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, 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, 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
-
NullableVariantHolderReaderImpl
-
-
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
Reads the variant holder data into the provided holder.- Parameters:
h- the holder to read into
-
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
-