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()voidresetFromArray(Object array, int offset, int capacity)Reset the data and bounds of this chunk to a range or sub-range of the specified array.voidresetFromChunk(ChunkChunk<ATTR> other, int offset, int capacity)Reset the data and bounds of this chunk to a range or sub-range of the specifiedChunkChunk.voidresetFromTypedArray(ObjectChunk<T,ATTR>[] data, int offset, int capacity)voidresetFromTypedChunk(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, makeArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkChunk
asBooleanChunkChunk, asByteChunkChunk, asCharChunkChunk, asDoubleChunkChunk, asFloatChunkChunk, asIntChunkChunk, asLongChunkChunk, asObjectChunkChunk, asShortChunkChunk, getChunk, sizeMethods 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:
slicein interfaceChunkChunk<T>- Overrides:
slicein classObjectChunkChunk<T,ATTR extends Attributes.Any>
-
resetFromChunk
Description copied from interface:ResettableChunkChunkReset the data and bounds of this chunk to a range or sub-range of the specifiedChunkChunk.- Specified by:
resetFromChunkin interfaceResettableChunkChunk<T>- Parameters:
other- The otherChunkChunkoffset- The offset into othercapacity- The capacity this should have after reset
-
resetFromArray
Description copied from interface:ResettableChunkChunkReset the data and bounds of this chunk to a range or sub-range of the specified array.- Specified by:
resetFromArrayin interfaceResettableChunkChunk<T>- Parameters:
array- The arrayoffset- The offset into arraycapacity- The capacity this should have after reset
-
resetFromTypedChunk
-
resetFromTypedArray
-