Class LongPartitionKernel
java.lang.Object
com.illumon.iris.db.v2.sort.partition.LongPartitionKernel
public class LongPartitionKernel extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LongPartitionKernel.PartitionKernelContext
-
Constructor Summary
Constructors Constructor Description LongPartitionKernel()
-
Method Summary
Modifier and Type Method Description static LongPartitionKernel.PartitionKernelContext
createContext(Index index, ColumnSource<Long> columnSource, int chunkSize, int nPartitions, boolean preserveEquality)
static void
partition(LongPartitionKernel.PartitionKernelContext context, LongChunk<Attributes.KeyIndices> indexKeys, LongChunk values)
After we have created the context, we can determine what things are in a partition.
-
Constructor Details
-
LongPartitionKernel
public LongPartitionKernel()
-
-
Method Details
-
createContext
public static LongPartitionKernel.PartitionKernelContext createContext(Index index, ColumnSource<Long> columnSource, int chunkSize, int nPartitions, boolean preserveEquality) -
partition
public static void partition(LongPartitionKernel.PartitionKernelContext context, LongChunk<Attributes.KeyIndices> indexKeys, LongChunk values)After we have created the context, we can determine what things are in a partition.- Parameters:
context
- our context, containing the pivotsindexKeys
- a chunk of index keys to partitionvalues
- a chunk of values that go with the index keys
-