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 IArrayReaderElements of data available following the array layout.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanisNull(int position)Gets whethernullis stored in a given row at a given position.Objectread(int position)Reads a value at some index in an array.default booleanreadBoolean(int position)Reads a boolean primitive value from the array.default doublereadDouble(int position)Reads a double primitive value from the array.default floatreadFloat(int position)Reads a float primitive value from the array.default intreadInt(int position)Reads an int primitive value from the array.default longreadLong(int position)Reads a long primitive value from the array.default IVectorreadVector(int position)Reads anIVectorvalue from the array.
-
-
-
Method Detail
-
isNull
boolean isNull(int position)
Gets whethernullis stored in a given row at a given position.- Parameters:
position- 0-based index in an array- Returns:
trueif the element stored at that position isnull,falseotherwise
-
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
-
-