Class IntChunkFactory
java.lang.Object
com.illumon.iris.db.v2.sources.chunk.util.factories.IntChunkFactory
- All Implemented Interfaces:
ChunkFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull IntFunction<Chunk[]>final <ATTR extends Attributes.Any>
@NotNull IntChunk<ATTR>final <ATTR extends Attributes.Any>
@NotNull IntChunk<ATTR>final @NotNull DbIntArrayDirectdbArrayWrap(Object array) @NotNull DbIntArraySlicedbArrayWrap(Object array, int offset, int capacity) final <ATTR extends Attributes.Any>
@NotNull IntChunk<ATTR>final @org.jetbrains.annotations.NotNull int[]makeArray(int capacity) final <ATTR extends Attributes.Any>
@NotNull ResettableReadOnlyChunk<ATTR>final <ATTR extends Attributes.Any>
@NotNull ResettableWritableChunk<ATTR>final <ATTR extends Attributes.Any>
@NotNull WritableIntChunk<ATTR>makeWritableChunk(int capacity) final <ATTR extends Attributes.Any>
@NotNull IntChunkPage<ATTR>final <ATTR extends Attributes.Any>
@NotNull IntChunkPage<ATTR>final @NotNull IntFunction<WritableChunk[]>final <ATTR extends Attributes.Any>
@NotNull WritableIntChunk<ATTR>writableChunkWrap(Object array, int offset, int capacity)
-
Constructor Details
-
IntChunkFactory
public IntChunkFactory()
-
-
Method Details
-
makeArray
@NotNull public final @org.jetbrains.annotations.NotNull int[] makeArray(int capacity) - Specified by:
makeArrayin interfaceChunkFactory
-
getEmptyChunk
- Specified by:
getEmptyChunkin interfaceChunkFactory
-
chunkWrap
- Specified by:
chunkWrapin interfaceChunkFactory
-
chunkWrap
@NotNull public final <ATTR extends Attributes.Any> @NotNull IntChunk<ATTR> chunkWrap(Object array, int offset, int capacity) - Specified by:
chunkWrapin interfaceChunkFactory
-
dbArrayWrap
- Specified by:
dbArrayWrapin interfaceChunkFactory
-
dbArrayWrap
- Specified by:
dbArrayWrapin interfaceChunkFactory
-
pageWrap
@NotNull public final <ATTR extends Attributes.Any> @NotNull IntChunkPage<ATTR> pageWrap(long beginRow, Object array, long mask) - Specified by:
pageWrapin interfaceChunkFactory
-
pageWrap
@NotNull public final <ATTR extends Attributes.Any> @NotNull IntChunkPage<ATTR> pageWrap(long beginRow, Object array, int offset, int capacity, long mask) - Specified by:
pageWrapin interfaceChunkFactory
-
makeResettableReadOnlyChunk
@NotNull public final <ATTR extends Attributes.Any> @NotNull ResettableReadOnlyChunk<ATTR> makeResettableReadOnlyChunk()- Specified by:
makeResettableReadOnlyChunkin interfaceChunkFactory
-
makeWritableChunk
@NotNull public final <ATTR extends Attributes.Any> @NotNull WritableIntChunk<ATTR> makeWritableChunk(int capacity) - Specified by:
makeWritableChunkin interfaceChunkFactory
-
writableChunkWrap
@NotNull public final <ATTR extends Attributes.Any> @NotNull WritableIntChunk<ATTR> writableChunkWrap(Object array, int offset, int capacity) - Specified by:
writableChunkWrapin interfaceChunkFactory
-
makeResettableWritableChunk
@NotNull public final <ATTR extends Attributes.Any> @NotNull ResettableWritableChunk<ATTR> makeResettableWritableChunk()- Specified by:
makeResettableWritableChunkin interfaceChunkFactory
-
chunkArrayBuilder
- Specified by:
chunkArrayBuilderin interfaceChunkFactory
-
writableChunkArrayBuilder
- Specified by:
writableChunkArrayBuilderin interfaceChunkFactory
-