Class ObjectDupExpandKernel
java.lang.Object
io.deephaven.engine.table.impl.join.dupexpand.ObjectDupExpandKernel
- All Implemented Interfaces:
DupExpandKernel
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
expandDuplicates
(int expandedSize, WritableChunk<? extends Any> chunkToExpand, IntChunk<ChunkLengths> keyRunLengths) Expands entries values from chunkToExpand in-place, using keyRunLengths to determine how many copies.static void
expandDuplicates
(int expandedSize, WritableObjectChunk<Object, ? extends Any> chunkToExpand, IntChunk<ChunkLengths> keyRunLengths)
-
Field Details
-
INSTANCE
-
-
Method Details
-
expandDuplicates
public void expandDuplicates(int expandedSize, WritableChunk<? extends Any> chunkToExpand, IntChunk<ChunkLengths> keyRunLengths) Description copied from interface:DupExpandKernel
Expands 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:
expandDuplicates
in 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, WritableObjectChunk<Object, ? extends Any> chunkToExpand, IntChunk<ChunkLengths> keyRunLengths)
-