Package com.qfs.chunk
Interface IArrayWriter
-
- All Known Subinterfaces:
IAdvancedAggregatesRetriever,IBlock,IBlockVector<B>,ICanCollectVectors<K>,IChunk<K>,IChunkBoolean,IChunkComposite,IChunkDouble,IChunkFloat,IChunkInteger,IChunkLong,IChunkNullable<K>,IChunkPositiveInteger,IChunkPrimitiveInteger,IChunkSingleValue<K>,IColumn<K>,IColumnInteger,ICompletablePostProcessedRetrievalResultWriter,ICompositeColumnCursor,IConcurrentChunkInteger,IConcurrentChunkLong,IDecoratedChunk<D,V>,IDelegateVector,IFrequentValueChunk<K>,IInPlaceWritableRecordSet,IInternalCompositeColumnCursor,IPostProcessedRetrievalResultWriter,IRandomAccessVector,IRecordAcceptor,IReleasableVector,ITransientVector,IVector,IVectorArrayWriter,IVectorChunk,IWritableArray,IWritableBuffer,IWritableByteRecord,IWritableRecord,IWritableRecordSet
- All Known Implementing Classes:
AArrayVector,ABlockVector,AbsVector,ABufferVectorBlock,AChunk,AChunkedColumn,AChunkOffset,AChunkPositiveInteger,AChunkPrimitiveInteger,AColumnStore.ColumnView,AColumnStore.CompositeColumnView,ADelegateReadOnlyVector,ADirectChunk,ADirectChunkNullable,ADirectChunkPrimitiveInteger,ADirectVectorBlock,AdvancedAggregatesRetriever,AFixedBlockVector,AReadOnlyVector,AReplicatedColumn,ArrayChunkBits,ArrayChunkBoolean,ArrayChunkBytes,ArrayChunkDouble,ArrayChunkDoubleNullable,ArrayChunkFloat,ArrayChunkFloatNullable,ArrayChunkHexa,ArrayChunkInteger,ArrayChunkIntegerNullable,ArrayChunkLong,ArrayChunkLongNullable,ArrayChunkPositiveInteger,ArrayChunkQuad,ArrayChunkShorts,ArrayChunkTriBytes,ArrayDoubleVector,ArrayFloatVector,ArrayIntegerVector,ArrayLongVector,ArrayObjectVector,AVector,AWritableArray,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,ChunkRecordWriter,ChunkSingleBoolean,ChunkSingleDouble,ChunkSingleFloat,ChunkSingleInteger,ChunkSingleLong,ChunkSingleObject,ChunkSingleTimestamp,ChunkSingleVector,ChunkVector,ColumnarRecordSet.InPlaceRecordWriter,ColumnarRecordSet.InPlaceRecordWriterWithSingleValueField,ColumnBoolean,ColumnInteger,ColumnLong,ColumnPositiveInteger,CompositeColumnCursor,CopyOnWriteWritableArray,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,IntegerBlockVector,IntegerFixedBlockVector,KeyRecord,LazyChunkedColumn,LazyChunkedColumnWithAggregation,LazyChunkedCompositeColumn,LongBlockVector,LongFixedBlockVector,MarkedPositionsProxyWritableArray,NegativeVector,NullableFrequentDoubleChunk,NullableFrequentFloatChunk,NullableFrequentIntegerChunk,NullableFrequentLongChunk,ObjectFixedBlockVector,PositiveVector,Record,ReplicatedColumn,ReplicatedColumnDecorateArray,SparseChunk,TombStoneBlock,TombStoneChunk,TombstoneColumn,WrapperChunkInteger,WritableRecordBlockAcceptor,ZeroVector
public interface IArrayWriterInterface to write into a structure with an array layout.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaddDouble(int position, double addedValue)Adds a double primitive value to an element of the array.default voidaddFloat(int position, float addedValue)Adds a float primitive value to an element of the array.default voidaddInt(int position, int addedValue)Adds a long primitive value to an element of the array.default voidaddLong(int position, long addedValue)Adds a int primitive value to an element of the array.voidwrite(int position, Object value)Writes a piece of data at a position in the array.default voidwriteBoolean(int position, boolean value)Writes a boolean primitive value in the array.default voidwriteDouble(int position, double value)Writes a double primitive value in the array.default voidwriteFloat(int position, float value)Writes a float primitive value in the array.default voidwriteInt(int position, int value)Writes an int primitive value in the array.default voidwriteLong(int position, long value)Writes a long primitive value in the array.
-
-
-
Method Detail
-
write
void write(int position, Object value)Writes a piece of data at a position in the array.For better performance, use the primitive type operations.
- Parameters:
position- 0-based index in the arrayvalue- the value to write
-
writeBoolean
default void writeBoolean(int position, boolean value)Writes a boolean primitive value in the array.- Parameters:
position- 0-based index in the arrayvalue- the value to write
-
writeInt
default void writeInt(int position, int value)Writes an int primitive value in the array.- Parameters:
position- 0-based index in the arrayvalue- the value to write
-
writeLong
default void writeLong(int position, long value)Writes a long primitive value in the array.- Parameters:
position- 0-based index in the arrayvalue- the value to write
-
writeDouble
default void writeDouble(int position, double value)Writes a double primitive value in the array.- Parameters:
position- 0-based index in the arrayvalue- the value to write
-
writeFloat
default void writeFloat(int position, float value)Writes a float primitive value in the array.- Parameters:
position- 0-based index in the arrayvalue- the value to write
-
addLong
default void addLong(int position, long addedValue)Adds a int primitive value to an element of the array.- Parameters:
position- 0-based index in the arrayaddedValue- the value to add
-
addInt
default void addInt(int position, int addedValue)Adds a long primitive value to an element of the array.- Parameters:
position- 0-based index in the arrayaddedValue- the value to add
-
addDouble
default void addDouble(int position, double addedValue)Adds a double primitive value to an element of the array.- Parameters:
position- 0-based index in the arrayaddedValue- the value to add
-
addFloat
default void addFloat(int position, float addedValue)Adds a float primitive value to an element of the array.- Parameters:
position- 0-based index in the arrayaddedValue- the value to add
-
-