Package com.qfs.chunk

Interface IArrayReader

All Known Subinterfaces:
IAggregatesLocationResult, IArray, IArrayNullable, IBlock, IBlockVector<B>, IByteRecord, ICanCollectVectors<K>, IChunk<K>, IChunkBoolean, IChunkComposite, IChunkDouble, IChunkFloat, IChunkInteger, IChunkLong, IChunkNullable<K>, IChunkPositiveInteger, IChunkPrimitiveInteger, IChunkSingleValue<K>, IColumn<K>, IColumnInteger, ICompositeColumnCursor, IConcurrentChunkInteger, IConcurrentChunkLong, IDecoratedArray<D,V>, IDecoratedChunk<D,V>, IDelegateVector, IFrequentValueChunk<K>, IInPlaceWritableRecordSet, IInternalCompositeColumnCursor, IRandomAccessVector, IRecord, IRecordMapper, IRecordReader, IRecordSet.IVersionedRecordSetReader, IRecordSetReader, IReleasableVector, ITableCursor, ITransformedReader, ITransientVector, IVector, IVectorChunk, IVersionedRecordReader, IWritableArray, IWritableBuffer, IWritableByteRecord, IWritableRecord, IWritableRecordSet
All Known Implementing Classes:
AArrayArrowVectorReader, AArrayVector, AArrowMultiColumnVectorReader, ABlockVector, AbsVector, ABufferVectorBlock, AChunk, AChunkedColumn, AChunkOffset, AChunkPositiveInteger, AChunkPrimitiveInteger, AChunkReader, AColumnStore.ColumnView, AColumnStore.CompositeColumnView, ADelegateReadOnlyVector, ADictionaryProxyReadableArray, ADirectChunk, ADirectChunkNullable, ADirectChunkPrimitiveInteger, ADirectVectorBlock, AFixedBlockVector, AggregatesRetrievalRowResult, AObjectRecordReader, AReadOnlyVector, ARecordReader, AReplicatedColumn, ArrayChunkBits, ArrayChunkBoolean, ArrayChunkBytes, ArrayChunkDouble, ArrayChunkDoubleNullable, ArrayChunkFloat, ArrayChunkFloatNullable, ArrayChunkHexa, ArrayChunkInteger, ArrayChunkIntegerNullable, ArrayChunkLong, ArrayChunkLongNullable, ArrayChunkPositiveInteger, ArrayChunkQuad, ArrayChunkShorts, ArrayChunkTriBytes, ArrayDoubleVector, ArrayFloatVector, ArrayIntegerVector, ArrayLongVector, ArrayObjectVector, ArrayReaderWithMapping, ArrayRecordReader, ArrowBooleanVectorReader, ArrowDoubleArrayVectorReader, ArrowDoubleFromIntVectorReader, ArrowDoubleFromLongVectorReader, ArrowDoubleVectorReader, ArrowFloatArrayVectorReader, ArrowFloatVectorReader, ArrowIntegerArrayVectorReader, ArrowIntFromLongVectorReader, ArrowIntVectorReader, ArrowLocalDateTimeVectorReader, ArrowLocalDateVectorReader, ArrowLongArrayVectorReader, ArrowLongFromDecimalVectorReader, ArrowLongFromDoubleVectorReader, ArrowLongVectorReader, ArrowMultiDoubleVectorReader, ArrowMultiLongVectorReader, ArrowMultiObjectVectorReader, ArrowObjectArrayVectorReader, ArrowObjectVectorReader, ArrowStringArrayVectorReader, ArrowStringVectorReader, ArrowTimeMicroVectorReader, ArrowTimeNanoVectorReader, ArrowTimeStampVectorReader, ArrowToStringNotEmptyVectorReader, ArrowVectorReader, AVector, AVirtualArray, AWritableArray, AWritableFixedSizeRecordBlock.RecordView, BufferChunkBoolean, BufferChunkDouble, BufferChunkDoubleNullable, BufferChunkFloat, BufferChunkFloatNullable, BufferChunkLong, BufferChunkLongNullable, BufferChunkPositiveInteger, BufferChunkPrimitiveBits, BufferChunkPrimitiveBytes, BufferChunkPrimitiveHexa, BufferChunkPrimitiveInts, BufferChunkPrimitiveIntsNullable, BufferChunkPrimitiveQuad, BufferChunkPrimitiveShorts, BufferChunkPrimitiveTriBytes, BufferDoubleVectorBlock, BufferFloatVectorBlock, BufferIntegerVectorBlock, BufferLongVectorBlock, ChunkComposite, ChunkCompositeSparse, ChunkDictionary, ChunkedColumn, ChunkHistory, ChunkHistory.SparseChunkHistory, ChunkMarked, ChunkMarkedVector, ChunkObject, ChunkOffsetInteger, ChunkOffsetLong, ChunkRecordReader, ChunkSetCursor, ChunkSingleBoolean, ChunkSingleDouble, ChunkSingleFloat, ChunkSingleInteger, ChunkSingleLong, ChunkSingleObject, ChunkSingleTimestamp, ChunkSingleVector, ChunkVector, ColumnarRecordSet.InPlaceRecordWriter, ColumnarRecordSet.InPlaceRecordWriterWithSingleValueField, ColumnBoolean, ColumnInteger, ColumnLong, ColumnMappingChunkRecordReader, ColumnPositiveInteger, ColumnsReaderWithCursor, CompositeColumnCursor, CopyOnWriteWritableArray, DictionarizedRecordReaderFromPlain, DictionaryProxyReadableArray, DictionaryProxyWritableArray, DictionaryProxyWritableBlock, DirectChunkBits, DirectChunkBoolean, DirectChunkBytes, DirectChunkDouble, DirectChunkDoubleNullable, DirectChunkFloat, DirectChunkFloatNullable, DirectChunkHexa, DirectChunkInteger, DirectChunkIntegerNullable, DirectChunkLong, DirectChunkLongNullable, DirectChunkPositiveInteger, DirectChunkQuad, DirectChunkShorts, DirectChunkTriBytes, DirectDoubleVectorBlock, DirectFloatVectorBlock, DirectIntegerVectorBlock, DirectLongVectorBlock, DoubleBlockVector, DoubleFixedBlockVector, EmptyChunk, EmptyVector, FloatBlockVector, FloatFixedBlockVector, FrequentDoubleChunk, FrequentFloatChunk, FrequentIntegerChunk, FrequentLongChunk, FrequentNullDoubleChunk, FrequentNullFloatChunk, FrequentNullIntegerChunk, FrequentNullLongChunk, FrequentObjectChunk, HashMapChunkRecordReader, IntArrayReaderWithMapping, IntegerBlockVector, IntegerFixedBlockVector, KeyRecord, LazyChunkedColumn, LazyChunkedColumnWithAggregation, LazyChunkedCompositeColumn, LongBlockVector, LongFixedBlockVector, MarkedPositionsProxyWritableArray, NegativeVector, NullableArrayReader, NullableFrequentDoubleChunk, NullableFrequentFloatChunk, NullableFrequentIntegerChunk, NullableFrequentLongChunk, ObjectFixedBlockVector, PlainRecordReaderFromDictionarized, PositiveVector, Record, RecordReaderFromArrayReader, RecordReaderMapper, RecordReaderMapper.IdentityRecordMapper, RecordReaderMapper.RecordMapper, ReplicatedColumn, ReplicatedColumnDecorateArray, SparseChunk, TableArrayReader, TableColumn, TombStoneBlock, TombStoneChunk, TombstoneColumn, TransformedReader, VersionedChunkRecordReader, WithDefaultBooleanVectorReader, WithDefaultDoubleVectorReader, WithDefaultFloatVectorReader, WithDefaultIntVectorReader, WithDefaultLongVectorReader, WithDefaultObjectVectorReader, WithDictionaryVectorReader, WrapperChunkInteger, ZeroVector

public interface IArrayReader
Elements of data available following the array layout.
Author:
ActiveViam
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isNull(int position)
    Gets whether null is stored in a given row at a given position.
    read(int position)
    Reads a value at some index in an array.
    default boolean
    readBoolean(int position)
    Reads a boolean primitive value from the array.
    default double
    readDouble(int position)
    Reads a double primitive value from the array.
    default float
    readFloat(int position)
    Reads a float primitive value from the array.
    default int
    readInt(int position)
    Reads an int primitive value from the array.
    default long
    readLong(int position)
    Reads a long primitive value from the array.
    default IVector
    readVector(int position)
    Reads an IVector value from the array.
  • Method Details

    • isNull

      boolean isNull(int position)
      Gets whether null is stored in a given row at a given position.
      Parameters:
      position - 0-based index in an array
      Returns:
      true if the element stored at that position is null, false otherwise
    • read

      Object read(int position)
      Reads a value at some index in an array.
      Parameters:
      position - 0-based index in an array
      Returns:
      the data stored at that position in the array
    • readBoolean

      default boolean readBoolean(int position)
      Reads a boolean primitive value from the array.

      An exception is thrown if the value is not of the right type.

      Parameters:
      position - 0-based index in an array
      Returns:
      boolean value
    • readInt

      default int readInt(int position)
      Reads an int primitive value from the array.

      An exception is thrown if the value is not of the right type.

      Parameters:
      position - 0-based index in an array
      Returns:
      int value
    • readLong

      default long readLong(int position)
      Reads a long primitive value from the array.

      An exception is thrown if the value is not of the right type.

      Parameters:
      position - 0-based index in an array
      Returns:
      long value
    • readDouble

      default double readDouble(int position)
      Reads a double primitive value from the array.

      An exception is thrown if the value is not of the right type.

      Parameters:
      position - 0-based index in an array
      Returns:
      double value
    • readFloat

      default float readFloat(int position)
      Reads a float primitive value from the array.

      An exception is thrown if the value is not of the right type.

      Parameters:
      position - 0-based index in an array
      Returns:
      float value
    • readVector

      default IVector readVector(int position)
      Reads an IVector value from the array.

      An exception is thrown if the value is not of the right type.

      Parameters:
      position - 0-based index in an array
      Returns:
      vector instance