Class CharDupExpandKernel
java.lang.Object
com.illumon.iris.db.v2.join.dupexpand.CharDupExpandKernel
- All Implemented Interfaces:
DupExpandKernel
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidexpandDuplicates(int expandedSize, WritableCharChunk<? extends Attributes.Any> chunkToExpand, IntChunk<Attributes.ChunkLengths> keyRunLengths) voidexpandDuplicates(int expandedSize, WritableChunk<? extends Attributes.Any> chunkToExpand, IntChunk<Attributes.ChunkLengths> keyRunLengths) Expands entries values from chunkToExpand in-place, using keyRunLengths to determine how many copies.
-
Field Details
-
INSTANCE
-
-
Method Details
-
expandDuplicates
public void expandDuplicates(int expandedSize, WritableChunk<? extends Attributes.Any> chunkToExpand, IntChunk<Attributes.ChunkLengths> keyRunLengths) Description copied from interface:DupExpandKernelExpands entries values from chunkToExpand in-place, using keyRunLengths to determine how many copies. The keyRunLengths chunk is parallel to the original chunkToExpand; it is never modified.- Specified by:
expandDuplicatesin interfaceDupExpandKernel- Parameters:
expandedSize- the sum of all entries in keyRunLengthschunkToExpand- the values to expand in-place (this writable chunk must have capacity >= expandedSize)keyRunLengths- the key run-lengths parallel to chunkToExpand
-
expandDuplicates
public static void expandDuplicates(int expandedSize, WritableCharChunk<? extends Attributes.Any> chunkToExpand, IntChunk<Attributes.ChunkLengths> keyRunLengths)
-