public class RepeatedIntReaderImpl extends AbstractFieldReader
BaseReader.ComplexReader, BaseReader.DictReader, BaseReader.ListReader, BaseReader.MapReader, BaseReader.RepeatedListReader, BaseReader.RepeatedMapReader, BaseReader.ScalarReader
Constructor and Description |
---|
RepeatedIntReaderImpl(RepeatedIntVector vector) |
Modifier and Type | Method and Description |
---|---|
void |
copyAsField(String name,
BaseWriter.MapWriter writer) |
void |
copyAsValue(BaseWriter.ListWriter writer) |
void |
copyAsValue(IntWriter writer) |
void |
copyAsValue(UnionWriter writer) |
MaterializedField |
getField() |
TypeProtos.MajorType |
getType() |
String |
getTypeString()
Returns
String representation of the reader's type. |
boolean |
isSet()
Returns true if the current value of the reader is not null
|
Iterator<String> |
iterator() |
boolean |
next() |
void |
read(int arrayIndex,
IntHolder h) |
void |
read(int arrayIndex,
NullableIntHolder h) |
void |
read(int index,
UnionHolder holder) |
void |
read(UnionHolder holder) |
void |
read(UntypedNullHolder holder) |
Integer |
readInteger(int arrayIndex) |
List<Object> |
readObject() |
void |
reset() |
void |
setPosition(int index) |
int |
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, readBigDecimal, readBigDecimal, readBoolean, readBoolean, readByte, readByte, readByteArray, readByteArray, readCharacter, readCharacter, readDouble, readDouble, reader, reader, readFloat, readFloat, 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
next
copyAsValue, getTypeString, read, read, reset
setPosition
forEach, iterator, spliterator
copyAsValue, next
read
public RepeatedIntReaderImpl(RepeatedIntVector vector)
public TypeProtos.MajorType getType()
getType
in interface BaseReader
public MaterializedField getField()
getField
in interface BaseReader
public boolean isSet()
AbstractFieldReader
isSet
in interface BaseReader
isSet
in interface BigIntReader
isSet
in interface BitReader
isSet
in interface DateReader
isSet
in interface Decimal18Reader
isSet
in interface Decimal28DenseReader
isSet
in interface Decimal28SparseReader
isSet
in interface Decimal38DenseReader
isSet
in interface Decimal38SparseReader
isSet
in interface Decimal9Reader
isSet
in interface Float4Reader
isSet
in interface Float8Reader
isSet
in interface IntervalDayReader
isSet
in interface IntervalReader
isSet
in interface IntervalYearReader
isSet
in interface IntReader
isSet
in interface RepeatedBigIntReader
isSet
in interface RepeatedBitReader
isSet
in interface RepeatedDateReader
isSet
in interface RepeatedDecimal18Reader
isSet
in interface RepeatedDecimal28DenseReader
isSet
in interface RepeatedDecimal28SparseReader
isSet
in interface RepeatedDecimal38DenseReader
isSet
in interface RepeatedDecimal38SparseReader
isSet
in interface RepeatedDecimal9Reader
isSet
in interface RepeatedFloat4Reader
isSet
in interface RepeatedFloat8Reader
isSet
in interface RepeatedIntervalDayReader
isSet
in interface RepeatedIntervalReader
isSet
in interface RepeatedIntervalYearReader
isSet
in interface RepeatedIntReader
isSet
in interface RepeatedSmallIntReader
isSet
in interface RepeatedTimeReader
isSet
in interface RepeatedTimeStampReader
isSet
in interface RepeatedTinyIntReader
isSet
in interface RepeatedUInt1Reader
isSet
in interface RepeatedUInt2Reader
isSet
in interface RepeatedUInt4Reader
isSet
in interface RepeatedUInt8Reader
isSet
in interface RepeatedVar16CharReader
isSet
in interface RepeatedVarBinaryReader
isSet
in interface RepeatedVarCharReader
isSet
in interface RepeatedVarDecimalReader
isSet
in interface SmallIntReader
isSet
in interface TimeReader
isSet
in interface TimeStampReader
isSet
in interface TinyIntReader
isSet
in interface UInt1Reader
isSet
in interface UInt2Reader
isSet
in interface UInt4Reader
isSet
in interface UInt8Reader
isSet
in interface Var16CharReader
isSet
in interface VarBinaryReader
isSet
in interface VarCharReader
isSet
in interface VarDecimalReader
isSet
in interface UntypedReader
isSet
in class AbstractFieldReader
public void copyAsValue(IntWriter writer)
copyAsValue
in interface IntReader
copyAsValue
in interface RepeatedIntReader
copyAsValue
in class AbstractFieldReader
public void copyAsField(String name, BaseWriter.MapWriter writer)
copyAsField
in class AbstractFieldReader
public int size()
size
in interface BaseReader.RepeatedListReader
size
in interface BaseReader.RepeatedMapReader
size
in interface RepeatedBigIntReader
size
in interface RepeatedBitReader
size
in interface RepeatedDateReader
size
in interface RepeatedDecimal18Reader
size
in interface RepeatedDecimal28DenseReader
size
in interface RepeatedDecimal28SparseReader
size
in interface RepeatedDecimal38DenseReader
size
in interface RepeatedDecimal38SparseReader
size
in interface RepeatedDecimal9Reader
size
in interface RepeatedFloat4Reader
size
in interface RepeatedFloat8Reader
size
in interface RepeatedIntervalDayReader
size
in interface RepeatedIntervalReader
size
in interface RepeatedIntervalYearReader
size
in interface RepeatedIntReader
size
in interface RepeatedSmallIntReader
size
in interface RepeatedTimeReader
size
in interface RepeatedTimeStampReader
size
in interface RepeatedTinyIntReader
size
in interface RepeatedUInt1Reader
size
in interface RepeatedUInt2Reader
size
in interface RepeatedUInt4Reader
size
in interface RepeatedUInt8Reader
size
in interface RepeatedVar16CharReader
size
in interface RepeatedVarBinaryReader
size
in interface RepeatedVarCharReader
size
in interface RepeatedVarDecimalReader
size
in interface UntypedReader
size
in class AbstractFieldReader
public void read(int arrayIndex, IntHolder h)
read
in interface RepeatedIntReader
read
in class AbstractFieldReader
public void read(int arrayIndex, NullableIntHolder h)
read
in interface RepeatedIntReader
read
in class AbstractFieldReader
public Integer readInteger(int arrayIndex)
readInteger
in interface RepeatedIntReader
readInteger
in interface RepeatedUInt4Reader
readInteger
in class AbstractFieldReader
public List<Object> readObject()
readObject
in interface BigIntReader
readObject
in interface BitReader
readObject
in interface DateReader
readObject
in interface Decimal18Reader
readObject
in interface Decimal28DenseReader
readObject
in interface Decimal28SparseReader
readObject
in interface Decimal38DenseReader
readObject
in interface Decimal38SparseReader
readObject
in interface Decimal9Reader
readObject
in interface Float4Reader
readObject
in interface Float8Reader
readObject
in interface IntervalDayReader
readObject
in interface IntervalReader
readObject
in interface IntervalYearReader
readObject
in interface IntReader
readObject
in interface SmallIntReader
readObject
in interface TimeReader
readObject
in interface TimeStampReader
readObject
in interface TinyIntReader
readObject
in interface UInt1Reader
readObject
in interface UInt2Reader
readObject
in interface UInt4Reader
readObject
in interface UInt8Reader
readObject
in interface Var16CharReader
readObject
in interface VarBinaryReader
readObject
in interface VarCharReader
readObject
in interface VarDecimalReader
readObject
in class AbstractFieldReader
public void setPosition(int index)
setPosition
in interface Positionable
public void reset()
reset
in interface BaseReader
public boolean next()
next
in interface BaseReader.RepeatedListReader
next
in interface BaseReader.RepeatedMapReader
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.