Module org.apache.arrow.vector
Class NullableStructReaderImpl
java.lang.Object
org.apache.arrow.vector.complex.impl.AbstractFieldReader
org.apache.arrow.vector.complex.impl.SingleStructReaderImpl
org.apache.arrow.vector.complex.impl.NullableStructReaderImpl
- 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
An
FieldReader for reading nullable struct
vectors.-
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 TypeMethodDescriptionvoidcopyAsField(String name, BaseWriter.StructWriter writer) voidcopyAsValue(DenseUnionWriter writer) voidcopyAsValue(UnionWriter writer) voidcopyAsValue(BaseWriter.ListWriter writer) voidcopyAsValue(BaseWriter.MapWriter writer) voidcopyAsValue(BaseWriter.StructWriter writer) getField()intprotected intidx()booleanisSet()Returns true if the current value of the reader is not nullbooleannext()voidread(int index, DenseUnionHolder holder) voidread(int index, UnionHolder holder) voidread(DenseUnionHolder holder) voidread(UnionHolder holder) voidreset()Methods inherited from class org.apache.arrow.vector.complex.impl.SingleStructReaderImpl
getMinorType, iterator, reader, readObject, setPositionMethods 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, 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, read, readBigDecimal, readBigDecimal, readBoolean, readBoolean, readByte, readByte, readByteArray, readByteArray, readCharacter, readCharacter, readDouble, readDouble, readDuration, readDuration, 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, spliteratorMethods inherited from interface org.apache.arrow.vector.complex.Positionable
getPosition
-
Constructor Details
-
NullableStructReaderImpl
-
-
Method Details
-
getField
- Specified by:
getFieldin interfaceBaseReader- Overrides:
getFieldin classSingleStructReaderImpl
-
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader.RepeatedStructReader- Overrides:
copyAsValuein classSingleStructReaderImpl
-
copyAsField
- Overrides:
copyAsFieldin classSingleStructReaderImpl
-
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 classSingleStructReaderImpl- Returns:
- whether the current value is set
-
getPosition
public int getPosition()- Specified by:
getPositionin interfacePositionable
-
idx
protected int idx() -
reset
public void reset()- Specified by:
resetin interfaceBaseReader
-
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
-