Class ResettableWritableByteChunkChunk<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.WritableByteChunkChunk<ATTR>
com.illumon.iris.db.v2.sources.chunk.ResettableWritableByteChunkChunk<ATTR>
- All Implemented Interfaces:
ChunkChunk<ATTR>
,ResettableWritableChunkChunk<ATTR>
,WritableChunkChunk<ATTR>
public class ResettableWritableByteChunkChunk<ATTR extends Attributes.Any> extends WritableByteChunkChunk<ATTR> implements ResettableWritableChunkChunk<ATTR>
-
Method Summary
Modifier and Type Method Description static <ATTR extends Attributes.Any>
ResettableWritableByteChunkChunk<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(WritableChunkChunk<ATTR> other, int offset, int capacity)
Reset the data and bounds of this chunk to a range or sub-range of the specifiedWritableChunkChunk
.void
resetFromTypedArray(WritableByteChunk<ATTR>[] data, int offset, int capacity)
void
resetFromTypedChunk(WritableByteChunkChunk<ATTR> other, int offset, int capacity)
ResettableWritableByteChunkChunk<ATTR>
slice(int offset, int capacity)
Methods inherited from class com.illumon.iris.db.v2.sources.chunk.WritableByteChunkChunk
getWritableChunk, makeArray, makeWritableChunk, set, set, setWritableChunk, writableChunkWrap, writableChunkWrap
Methods inherited from class com.illumon.iris.db.v2.sources.chunk.ByteChunkChunk
chunkWrap, chunkWrap, get, get, getChunk, getEmptyChunk
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.ResettableWritableChunkChunk
asResettableWritableBooleanChunkChunk, asResettableWritableByteChunkChunk, asResettableWritableCharChunkChunk, asResettableWritableDoubleChunkChunk, asResettableWritableFloatChunkChunk, asResettableWritableIntChunkChunk, asResettableWritableLongChunkChunk, asResettableWritableObjectChunkChunk, asResettableWritableShortChunkChunk
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.WritableChunkChunk
asWritableBooleanChunkChunk, asWritableByteChunkChunk, asWritableCharChunkChunk, asWritableDoubleChunkChunk, asWritableFloatChunkChunk, asWritableIntChunkChunk, asWritableLongChunkChunk, asWritableObjectChunkChunk, asWritableShortChunkChunk, getWritableChunk, setWritableChunk
-
Method Details
-
makeResettableChunk
public static <ATTR extends Attributes.Any> ResettableWritableByteChunkChunk<ATTR> makeResettableChunk() -
slice
- Specified by:
slice
in interfaceChunkChunk<ATTR extends Attributes.Any>
- Specified by:
slice
in interfaceWritableChunkChunk<ATTR extends Attributes.Any>
- Overrides:
slice
in classWritableByteChunkChunk<ATTR extends Attributes.Any>
-
resetFromChunk
Description copied from interface:ResettableWritableChunkChunk
Reset the data and bounds of this chunk to a range or sub-range of the specifiedWritableChunkChunk
.- Specified by:
resetFromChunk
in interfaceResettableWritableChunkChunk<ATTR extends Attributes.Any>
- Parameters:
other
- The otherWritableChunkChunk
offset
- The offset into othercapacity
- The capacity this should have after reset
-
resetFromArray
Description copied from interface:ResettableWritableChunkChunk
Reset the data and bounds of this chunk to a range or sub-range of the specified array.- Specified by:
resetFromArray
in interfaceResettableWritableChunkChunk<ATTR extends Attributes.Any>
- Parameters:
array
- The arrayoffset
- The offset into arraycapacity
- The capacity this should have after reset
-
resetFromTypedChunk
public final void resetFromTypedChunk(WritableByteChunkChunk<ATTR> other, int offset, int capacity) -
resetFromTypedArray
-