Class ResettableObjectChunkChunk<T,ATTR extends Attributes.Any>
java.lang.Object
com.illumon.iris.db.v2.sources.chunk.ChunkChunkBase<ATTR>
com.illumon.iris.db.v2.sources.chunk.ObjectChunkChunk<T,ATTR>
com.illumon.iris.db.v2.sources.chunk.ResettableObjectChunkChunk<T,ATTR>
- All Implemented Interfaces:
ChunkChunk<ATTR>
,ResettableChunkChunk<ATTR>
public class ResettableObjectChunkChunk<T,ATTR extends Attributes.Any> extends ObjectChunkChunk<T,ATTR> implements ResettableChunkChunk<ATTR>
-
Method Summary
Modifier and Type Method Description static <T, ATTR extends Attributes.Any>
ResettableObjectChunkChunk<T,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(ObjectChunk<T,ATTR>[] data, int offset, int capacity)
void
resetFromTypedChunk(ObjectChunkChunk<T,ATTR> other, int offset, int capacity)
ResettableObjectChunkChunk<T,ATTR>
slice(int offset, int capacity)
Methods inherited from class com.illumon.iris.db.v2.sources.chunk.ObjectChunkChunk
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
public static <T, ATTR extends Attributes.Any> ResettableObjectChunkChunk<T,ATTR> makeResettableChunk() -
slice
- Specified by:
slice
in interfaceChunkChunk<T>
- Overrides:
slice
in classObjectChunkChunk<T,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<T>
- 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<T>
- Parameters:
array
- The arrayoffset
- The offset into arraycapacity
- The capacity this should have after reset
-
resetFromTypedChunk
-
resetFromTypedArray
-