Class ObjectChunkFactory<T>
java.lang.Object
com.illumon.iris.db.v2.sources.chunk.util.factories.ObjectChunkFactory<T>
- All Implemented Interfaces:
ChunkFactory
public final class ObjectChunkFactory<T> extends Object implements ChunkFactory
-
Constructor Summary
Constructors Constructor Description ObjectChunkFactory() -
Method Summary
-
Constructor Details
-
ObjectChunkFactory
public ObjectChunkFactory()
-
-
Method Details
-
makeArray
- Specified by:
makeArrayin interfaceChunkFactory
-
getEmptyChunk
- Specified by:
getEmptyChunkin interfaceChunkFactory
-
chunkWrap
- Specified by:
chunkWrapin interfaceChunkFactory
-
chunkWrap
@NotNull public <ATTR extends Attributes.Any> ObjectChunk<T,ATTR> chunkWrap(Object array, int offset, int capacity)- Specified by:
chunkWrapin interfaceChunkFactory
-
pageWrap
@NotNull public <ATTR extends Attributes.Any> ObjectChunkPage<T,ATTR> pageWrap(long beginRow, Object array, long mask)- Specified by:
pageWrapin interfaceChunkFactory
-
pageWrap
@NotNull public <ATTR extends Attributes.Any> ObjectChunkPage<T,ATTR> pageWrap(long beginRow, Object array, int offset, int capacity, long mask)- Specified by:
pageWrapin interfaceChunkFactory
-
dbArrayWrap
- Specified by:
dbArrayWrapin interfaceChunkFactory
-
dbArrayWrap
- Specified by:
dbArrayWrapin interfaceChunkFactory
-
makeResettableReadOnlyChunk
@NotNull public <ATTR extends Attributes.Any> ResettableReadOnlyChunk<ATTR> makeResettableReadOnlyChunk()- Specified by:
makeResettableReadOnlyChunkin interfaceChunkFactory
-
makeWritableChunk
@NotNull public <ATTR extends Attributes.Any> WritableObjectChunk<T,ATTR> makeWritableChunk(int capacity)- Specified by:
makeWritableChunkin interfaceChunkFactory
-
writableChunkWrap
@NotNull public <ATTR extends Attributes.Any> WritableObjectChunk<T,ATTR> writableChunkWrap(Object array, int offset, int capacity)- Specified by:
writableChunkWrapin interfaceChunkFactory
-
makeResettableWritableChunk
@NotNull public <ATTR extends Attributes.Any> ResettableWritableChunk<ATTR> makeResettableWritableChunk()- Specified by:
makeResettableWritableChunkin interfaceChunkFactory
-
chunkArrayBuilder
- Specified by:
chunkArrayBuilderin interfaceChunkFactory
-
writableChunkArrayBuilder
- Specified by:
writableChunkArrayBuilderin interfaceChunkFactory
-