Class ResettableByteChunkChunk<ATTR extends Attributes.Any>
java.lang.Object
com.illumon.iris.db.v2.sources.chunk.ChunkChunkBase<ATTR>
com.illumon.iris.db.v2.sources.chunk.ByteChunkChunk<ATTR>
com.illumon.iris.db.v2.sources.chunk.ResettableByteChunkChunk<ATTR>
- All Implemented Interfaces:
ChunkChunk<ATTR>
,ResettableChunkChunk<ATTR>
public class ResettableByteChunkChunk<ATTR extends Attributes.Any> extends ByteChunkChunk<ATTR> implements ResettableChunkChunk<ATTR>
-
Method Summary
Modifier and Type Method Description static <ATTR extends Attributes.Any>
ResettableByteChunkChunk<ATTR>makeResettableChunk()
void
resetFromArray(Object array, int offset, int capacity)
Reset the data and bounds of this chunk to a range or sub-range of the specified array.void
resetFromChunk(ChunkChunk<ATTR> other, int offset, int capacity)
Reset the data and bounds of this chunk to a range or sub-range of the specifiedChunkChunk
.void
resetFromTypedArray(ByteChunk<ATTR>[] data, int offset, int capacity)
void
resetFromTypedChunk(ByteChunkChunk<ATTR> other, int offset, int capacity)
ResettableByteChunkChunk<ATTR>
slice(int offset, int capacity)
Methods inherited from class com.illumon.iris.db.v2.sources.chunk.ByteChunkChunk
chunkWrap, chunkWrap, get, get, getChunk, getEmptyChunk, makeArray
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkChunk
asBooleanChunkChunk, asByteChunkChunk, asCharChunkChunk, asDoubleChunkChunk, asFloatChunkChunk, asIntChunkChunk, asLongChunkChunk, asObjectChunkChunk, asShortChunkChunk, getChunk, size
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.ResettableChunkChunk
asResettableBooleanChunkChunk, asResettableByteChunkChunk, asResettableCharChunkChunk, asResettableDoubleChunkChunk, asResettableFloatChunkChunk, asResettableIntChunkChunk, asResettableLongChunkChunk, asResettableObjectChunkChunk, asResettableShortChunkChunk
-
Method Details
-
makeResettableChunk
-
slice
- Specified by:
slice
in interfaceChunkChunk<ATTR extends Attributes.Any>
- Overrides:
slice
in classByteChunkChunk<ATTR extends Attributes.Any>
-
resetFromChunk
Description copied from interface:ResettableChunkChunk
Reset the data and bounds of this chunk to a range or sub-range of the specifiedChunkChunk
.- Specified by:
resetFromChunk
in interfaceResettableChunkChunk<ATTR extends Attributes.Any>
- Parameters:
other
- The otherChunkChunk
offset
- The offset into othercapacity
- The capacity this should have after reset
-
resetFromArray
Description copied from interface:ResettableChunkChunk
Reset the data and bounds of this chunk to a range or sub-range of the specified array.- Specified by:
resetFromArray
in interfaceResettableChunkChunk<ATTR extends Attributes.Any>
- Parameters:
array
- The arrayoffset
- The offset into arraycapacity
- The capacity this should have after reset
-
resetFromTypedChunk
-
resetFromTypedArray
-