Interface BaseReader

All Superinterfaces:
Positionable
All Known Subinterfaces:
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, UntypedReader, Var16CharReader, VarBinaryReader, VarCharReader, VarDecimalReader
All Known Implementing Classes:
AbstractFieldReader, AbstractRepeatedMapReaderImpl, BigIntHolderReaderImpl, BigIntReaderImpl, BitHolderReaderImpl, BitReaderImpl, DateHolderReaderImpl, DateReaderImpl, Decimal18HolderReaderImpl, Decimal18ReaderImpl, Decimal28DenseHolderReaderImpl, Decimal28DenseReaderImpl, Decimal28SparseHolderReaderImpl, Decimal28SparseReaderImpl, Decimal38DenseHolderReaderImpl, Decimal38DenseReaderImpl, Decimal38SparseHolderReaderImpl, Decimal38SparseReaderImpl, Decimal9HolderReaderImpl, Decimal9ReaderImpl, Float4HolderReaderImpl, Float4ReaderImpl, Float8HolderReaderImpl, Float8ReaderImpl, IntervalDayHolderReaderImpl, IntervalDayReaderImpl, IntervalHolderReaderImpl, IntervalReaderImpl, IntervalYearHolderReaderImpl, IntervalYearReaderImpl, IntHolderReaderImpl, IntReaderImpl, NullableBigIntHolderReaderImpl, NullableBigIntReaderImpl, NullableBitHolderReaderImpl, NullableBitReaderImpl, NullableDateHolderReaderImpl, NullableDateReaderImpl, NullableDecimal18HolderReaderImpl, NullableDecimal18ReaderImpl, NullableDecimal28DenseHolderReaderImpl, NullableDecimal28DenseReaderImpl, NullableDecimal28SparseHolderReaderImpl, NullableDecimal28SparseReaderImpl, NullableDecimal38DenseHolderReaderImpl, NullableDecimal38DenseReaderImpl, NullableDecimal38SparseHolderReaderImpl, NullableDecimal38SparseReaderImpl, NullableDecimal9HolderReaderImpl, NullableDecimal9ReaderImpl, NullableFloat4HolderReaderImpl, NullableFloat4ReaderImpl, NullableFloat8HolderReaderImpl, NullableFloat8ReaderImpl, NullableIntervalDayHolderReaderImpl, NullableIntervalDayReaderImpl, NullableIntervalHolderReaderImpl, NullableIntervalReaderImpl, NullableIntervalYearHolderReaderImpl, NullableIntervalYearReaderImpl, NullableIntHolderReaderImpl, NullableIntReaderImpl, NullableSmallIntHolderReaderImpl, NullableSmallIntReaderImpl, NullableTimeHolderReaderImpl, NullableTimeReaderImpl, NullableTimeStampHolderReaderImpl, NullableTimeStampReaderImpl, NullableTinyIntHolderReaderImpl, NullableTinyIntReaderImpl, NullableUInt1HolderReaderImpl, NullableUInt1ReaderImpl, NullableUInt2HolderReaderImpl, NullableUInt2ReaderImpl, NullableUInt4HolderReaderImpl, NullableUInt4ReaderImpl, NullableUInt8HolderReaderImpl, NullableUInt8ReaderImpl, NullableVar16CharHolderReaderImpl, NullableVar16CharReaderImpl, NullableVarBinaryHolderReaderImpl, NullableVarBinaryReaderImpl, NullableVarCharHolderReaderImpl, NullableVarCharReaderImpl, NullableVarDecimalHolderReaderImpl, NullableVarDecimalReaderImpl, NullReader, RepeatedBigIntHolderReaderImpl, RepeatedBigIntReaderImpl, RepeatedBitHolderReaderImpl, RepeatedBitReaderImpl, RepeatedDateHolderReaderImpl, RepeatedDateReaderImpl, RepeatedDecimal18HolderReaderImpl, RepeatedDecimal18ReaderImpl, RepeatedDecimal28DenseHolderReaderImpl, RepeatedDecimal28DenseReaderImpl, RepeatedDecimal28SparseHolderReaderImpl, RepeatedDecimal28SparseReaderImpl, RepeatedDecimal38DenseHolderReaderImpl, RepeatedDecimal38DenseReaderImpl, RepeatedDecimal38SparseHolderReaderImpl, RepeatedDecimal38SparseReaderImpl, RepeatedDecimal9HolderReaderImpl, RepeatedDecimal9ReaderImpl, RepeatedDictReaderImpl, RepeatedFloat4HolderReaderImpl, RepeatedFloat4ReaderImpl, RepeatedFloat8HolderReaderImpl, RepeatedFloat8ReaderImpl, RepeatedIntervalDayHolderReaderImpl, RepeatedIntervalDayReaderImpl, RepeatedIntervalHolderReaderImpl, RepeatedIntervalReaderImpl, RepeatedIntervalYearHolderReaderImpl, RepeatedIntervalYearReaderImpl, RepeatedIntHolderReaderImpl, RepeatedIntReaderImpl, RepeatedListReaderImpl, RepeatedMapReaderImpl, RepeatedSmallIntHolderReaderImpl, RepeatedSmallIntReaderImpl, RepeatedTimeHolderReaderImpl, RepeatedTimeReaderImpl, RepeatedTimeStampHolderReaderImpl, RepeatedTimeStampReaderImpl, RepeatedTinyIntHolderReaderImpl, RepeatedTinyIntReaderImpl, RepeatedUInt1HolderReaderImpl, RepeatedUInt1ReaderImpl, RepeatedUInt2HolderReaderImpl, RepeatedUInt2ReaderImpl, RepeatedUInt4HolderReaderImpl, RepeatedUInt4ReaderImpl, RepeatedUInt8HolderReaderImpl, RepeatedUInt8ReaderImpl, RepeatedVar16CharHolderReaderImpl, RepeatedVar16CharReaderImpl, RepeatedVarBinaryHolderReaderImpl, RepeatedVarBinaryReaderImpl, RepeatedVarCharHolderReaderImpl, RepeatedVarCharReaderImpl, RepeatedVarDecimalHolderReaderImpl, RepeatedVarDecimalReaderImpl, SingleDictReaderImpl, SingleLikeRepeatedMapReaderImpl, SingleListReaderImpl, SingleMapReaderImpl, SmallIntHolderReaderImpl, SmallIntReaderImpl, TimeHolderReaderImpl, TimeReaderImpl, TimeStampHolderReaderImpl, TimeStampReaderImpl, TinyIntHolderReaderImpl, TinyIntReaderImpl, UInt1HolderReaderImpl, UInt1ReaderImpl, UInt2HolderReaderImpl, UInt2ReaderImpl, UInt4HolderReaderImpl, UInt4ReaderImpl, UInt8HolderReaderImpl, UInt8ReaderImpl, UnionListReader, UnionReader, UntypedHolderReaderImpl, UntypedReaderImpl, Var16CharHolderReaderImpl, Var16CharReaderImpl, VarBinaryHolderReaderImpl, VarBinaryReaderImpl, VarCharHolderReaderImpl, VarCharReaderImpl, VarDecimalHolderReaderImpl, VarDecimalReaderImpl

public interface BaseReader extends Positionable
  • Method Details

    • getType

    • getField

      MaterializedField getField()
    • reset

      void reset()
    • read

      void read(UnionHolder holder)
    • read

      void read(int index, UnionHolder holder)
    • copyAsValue

      void copyAsValue(UnionWriter writer)
    • isSet

      boolean isSet()
    • read

      void read(ValueHolder holder)
    • getTypeString

      String getTypeString()
      Returns String representation of the reader's type. In case if getType() is primitive, the method is equivalent to {@link #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.
      Returns:
      String representation of reader's type.
    • getVectorType

      TypeProtos.MinorType getVectorType()
      Returns the type of the vector, not value. For all vectors, this is the same as the vector's getField().getType().getMinorType(). It is used to report the actual vector type in the getDrillType() function.