- All Superinterfaces:
Chunk
- All Known Subinterfaces:
ResettableReadOnlyChunk<ATTR_BASE>
, ResettableWritableChunk<ATTR_BASE>
- All Known Implementing Classes:
ResettableBooleanChunk
, ResettableByteChunk
, ResettableCharChunk
, ResettableDoubleChunk
, ResettableFloatChunk
, ResettableIntChunk
, ResettableLongChunk
, ResettableObjectChunk
, ResettableShortChunk
, ResettableWritableBooleanChunk
, ResettableWritableByteChunk
, ResettableWritableCharChunk
, ResettableWritableDoubleChunk
, ResettableWritableFloatChunk
, ResettableWritableIntChunk
, ResettableWritableLongChunk
, ResettableWritableObjectChunk
, ResettableWritableShortChunk
-
-
Method Summary
Reset this chunk to empty storage.
Reset the data and bounds of this chunk to the entire range of the specified array.
Reset the data and bounds of this chunk to a range or sub-range of the specified array.
Reset the data and bounds of this chunk to a range or sub-range of the specified
WritableChunk
.
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.Chunk
asBooleanChunk, asByteChunk, asCharChunk, asDoubleChunk, asFloatChunk, asIntChunk, asLongChunk, asObjectChunk, asShortChunk, copyToArray, copyToBuffer, copyToChunk, getChunkType, isAlias, isAlias, size, slice
-
Method Details
-
resetFromChunk
Reset the data and bounds of this chunk to a range or sub-range of the specified
WritableChunk
.
- Parameters:
other
- The other WritableChunk
offset
- The offset into other
capacity
- The capacity this should have after reset
- Returns:
- this
-
resetFromArray
Reset the data and bounds of this chunk to a range or sub-range of the specified array.
- Parameters:
array
- The array
offset
- The offset into array
capacity
- The capacity this should have after reset
- Returns:
- this
-
resetFromArray
Reset the data and bounds of this chunk to the entire range of the specified array.
- Parameters:
array
- The array
- Returns:
- this
-
clear
Reset this chunk to empty storage.