Class RepeatedDictReaderImpl
java.lang.Object
org.apache.drill.exec.vector.complex.impl.AbstractFieldReader
org.apache.drill.exec.vector.complex.impl.RepeatedDictReaderImpl
- 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyAsValue(UnionWriter writer) voidcopyAsValue(BaseWriter.DictWriter writer) voidcopyAsValue(BaseWriter.ListWriter writer) getField()getType()ReturnsStringrepresentation of the reader's type.booleanisEmpty()iterator()booleannext()voidread(int index, UnionHolder holder) voidread(UnionHolder holder) voidread(UntypedNullHolder holder) reader()voidreset()voidsetPosition(int index) intsize()Methods 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, 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, isSet, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, 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, reader, 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, getField, read, readMethods inherited from interface org.apache.drill.exec.vector.complex.reader.BaseReader.RepeatedListReader
copyAsValueMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.apache.drill.exec.vector.UntypedReader
read
-
Constructor Details
-
RepeatedDictReaderImpl
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceBaseReader
-
reset
public void reset()- Specified by:
resetin interfaceBaseReader
-
size
public int size()- Specified by:
sizein interfaceBaseReader.RepeatedListReader- Specified by:
sizein interfaceBaseReader.RepeatedMapReader- Specified by:
sizein interfaceRepeatedBigIntReader- Specified by:
sizein interfaceRepeatedBitReader- Specified by:
sizein interfaceRepeatedDateReader- Specified by:
sizein interfaceRepeatedDecimal18Reader- Specified by:
sizein interfaceRepeatedDecimal28DenseReader- Specified by:
sizein interfaceRepeatedDecimal28SparseReader- Specified by:
sizein interfaceRepeatedDecimal38DenseReader- Specified by:
sizein interfaceRepeatedDecimal38SparseReader- Specified by:
sizein interfaceRepeatedDecimal9Reader- Specified by:
sizein interfaceRepeatedFloat4Reader- Specified by:
sizein interfaceRepeatedFloat8Reader- Specified by:
sizein interfaceRepeatedIntervalDayReader- Specified by:
sizein interfaceRepeatedIntervalReader- Specified by:
sizein interfaceRepeatedIntervalYearReader- Specified by:
sizein interfaceRepeatedIntReader- Specified by:
sizein interfaceRepeatedSmallIntReader- Specified by:
sizein interfaceRepeatedTimeReader- Specified by:
sizein interfaceRepeatedTimeStampReader- Specified by:
sizein interfaceRepeatedTinyIntReader- Specified by:
sizein interfaceRepeatedUInt1Reader- Specified by:
sizein interfaceRepeatedUInt2Reader- Specified by:
sizein interfaceRepeatedUInt4Reader- Specified by:
sizein interfaceRepeatedUInt8Reader- Specified by:
sizein interfaceRepeatedVar16CharReader- Specified by:
sizein interfaceRepeatedVarBinaryReader- Specified by:
sizein interfaceRepeatedVarCharReader- Specified by:
sizein interfaceRepeatedVarDecimalReader- Specified by:
sizein interfaceUntypedReader- Overrides:
sizein classAbstractFieldReader
-
setPosition
public void setPosition(int index) - Specified by:
setPositionin interfacePositionable
-
next
public boolean next()- Specified by:
nextin interfaceBaseReader.RepeatedListReader- Specified by:
nextin interfaceBaseReader.RepeatedMapReader
-
readObject
- Specified by:
readObjectin interfaceBigIntReader- Specified by:
readObjectin interfaceBitReader- Specified by:
readObjectin interfaceDateReader- Specified by:
readObjectin interfaceDecimal18Reader- Specified by:
readObjectin interfaceDecimal28DenseReader- Specified by:
readObjectin interfaceDecimal28SparseReader- Specified by:
readObjectin interfaceDecimal38DenseReader- Specified by:
readObjectin interfaceDecimal38SparseReader- Specified by:
readObjectin interfaceDecimal9Reader- Specified by:
readObjectin interfaceFloat4Reader- Specified by:
readObjectin interfaceFloat8Reader- Specified by:
readObjectin interfaceIntervalDayReader- Specified by:
readObjectin interfaceIntervalReader- Specified by:
readObjectin interfaceIntervalYearReader- Specified by:
readObjectin interfaceIntReader- Specified by:
readObjectin interfaceSmallIntReader- Specified by:
readObjectin interfaceTimeReader- Specified by:
readObjectin interfaceTimeStampReader- Specified by:
readObjectin interfaceTinyIntReader- Specified by:
readObjectin interfaceUInt1Reader- Specified by:
readObjectin interfaceUInt2Reader- Specified by:
readObjectin interfaceUInt4Reader- Specified by:
readObjectin interfaceUInt8Reader- Specified by:
readObjectin interfaceVar16CharReader- Specified by:
readObjectin interfaceVarBinaryReader- Specified by:
readObjectin interfaceVarCharReader- Specified by:
readObjectin interfaceVarDecimalReader- Overrides:
readObjectin classAbstractFieldReader
-
reader
- Specified by:
readerin interfaceBaseReader.ListReader- Overrides:
readerin classAbstractFieldReader
-
isEmpty
public boolean isEmpty() -
copyAsValue
- Specified by:
copyAsValuein interfaceBaseReader.DictReader- Overrides:
copyAsValuein classAbstractFieldReader
-
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.
-
iterator
-
getField
- Specified by:
getFieldin interfaceBaseReader
-
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
-