- 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
public interface ResettableChunk<ATTR_BASE extends Attributes.Any>
extends Chunk
-
-
Method Summary
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
-
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
-
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
-
Reset the data and bounds of this chunk to the entire range of the specified array.
- Parameters:
array - The array
- Returns:
- this
-
Reset this chunk to empty storage.