Class RepeatedMapReaderImpl
java.lang.Object
org.apache.drill.exec.vector.complex.impl.AbstractFieldReader
org.apache.drill.exec.vector.complex.impl.AbstractRepeatedMapReaderImpl<RepeatedMapVector>
org.apache.drill.exec.vector.complex.impl.RepeatedMapReaderImpl
- 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 -
Field Summary
Fields inherited from class org.apache.drill.exec.vector.complex.impl.AbstractRepeatedMapReaderImpl
currentOffset, fields, maxOffset, NO_VALUES, vector -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyAsField(String name, BaseWriter.MapWriter writer) voidcopyAsValue(UnionWriter writer) voidcopyAsValue(BaseWriter.ListWriter writer) voidcopyAsValue(BaseWriter.MapWriter writer) voidgetField()ReturnsStringrepresentation of the reader's type.voidread(int index, UnionHolder holder) voidread(UnionHolder holder) voidread(UntypedNullHolder holder) reader()voidsetSinglePosition(int index, int childIndex) Methods inherited from class org.apache.drill.exec.vector.complex.impl.AbstractRepeatedMapReaderImpl
getType, isEmpty, isSet, iterator, next, reader, readObject, reset, setPosition, sizeMethods 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, read, read, readBigDecimal, readBigDecimal, readBoolean, readBoolean, readByte, readByte, readByteArray, readByteArray, readCharacter, readCharacter, readDouble, readDouble, readFloat, readFloat, readInteger, readInteger, readLocalDate, readLocalDate, readLocalDateTime, 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, getTypeString, read, readMethods inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader.RepeatedListReader
copyAsValueMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.apache.drill.exec.vector.UntypedReader
read
-
Constructor Details
-
RepeatedMapReaderImpl
-
-
Method Details
-
reader
- Specified by:
readerin interfaceBaseReader.ListReader- Overrides:
readerin classAbstractFieldReader
-
setSinglePosition
public void setSinglePosition(int index, int childIndex) -
getField
- Specified by:
getFieldin interfaceBaseReader
-
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader.RepeatedMapReader- Overrides:
copyAsValuein classAbstractFieldReader
-
copyAsValueSingle
-
copyAsField
- Overrides:
copyAsFieldin classAbstractFieldReader
-
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.
-