public class RepeatedMapReaderImpl extends AbstractRepeatedMapReaderImpl<RepeatedMapVector>
BaseReader.ComplexReader, BaseReader.DictReader, BaseReader.ListReader, BaseReader.MapReader, BaseReader.RepeatedListReader, BaseReader.RepeatedMapReader, BaseReader.ScalarReader
currentOffset, fields, maxOffset, NO_VALUES, vector
Constructor and Description |
---|
RepeatedMapReaderImpl(RepeatedMapVector vector) |
Modifier and Type | Method and Description |
---|---|
void |
copyAsField(String name,
BaseWriter.MapWriter writer) |
void |
copyAsValue(BaseWriter.ListWriter writer) |
void |
copyAsValue(BaseWriter.MapWriter writer) |
void |
copyAsValue(UnionWriter writer) |
void |
copyAsValueSingle(BaseWriter.MapWriter writer) |
MaterializedField |
getField() |
String |
getTypeString()
Returns
String representation of the reader's type. |
void |
read(int index,
UnionHolder holder) |
void |
read(UnionHolder holder) |
void |
read(UntypedNullHolder holder) |
FieldReader |
reader() |
void |
setSinglePosition(int index,
int childIndex) |
getType, isEmpty, isSet, iterator, next, reader, readObject, reset, setPosition, size
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, readText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyAsValue, getTypeString, read, read
forEach, spliterator
copyAsValue
read
public RepeatedMapReaderImpl(RepeatedMapVector vector)
public FieldReader reader()
reader
in interface BaseReader.ListReader
reader
in class AbstractFieldReader
public void setSinglePosition(int index, int childIndex)
public MaterializedField getField()
getField
in interface BaseReader
public void copyAsValue(BaseWriter.MapWriter writer)
copyAsValue
in interface BaseReader.RepeatedMapReader
copyAsValue
in class AbstractFieldReader
public void copyAsValueSingle(BaseWriter.MapWriter writer)
public void copyAsField(String name, BaseWriter.MapWriter writer)
copyAsField
in class AbstractFieldReader
public void read(UnionHolder holder)
read
in interface BaseReader
public void read(int index, UnionHolder holder)
read
in interface BaseReader
public void read(UntypedNullHolder holder)
read
in interface UntypedReader
public void copyAsValue(UnionWriter writer)
copyAsValue
in interface BaseReader
public void copyAsValue(BaseWriter.ListWriter writer)
copyAsValue
in interface BaseReader.RepeatedListReader
public String getTypeString()
BaseReader
String
representation of the reader's type. In case if
BaseReader.getType()
is primitive, the method is equivalent to
#getType().getMinorType().name()
. If the reader has minor type
equal to TypeProtos.MinorType.DICT
,
DICT<keyMinorType,valueMinorType>
, with keyMinorType
and valueMinorType
being key's and value's minor types
respectively, will be returned. Used in typeOf
UDF.getTypeString
in interface BaseReader
String
representation of reader's type.Copyright © 1970 The Apache Software Foundation. All rights reserved.