Class IntPartitionKernel
java.lang.Object
com.illumon.iris.db.v2.sort.partition.IntPartitionKernel
public class IntPartitionKernel extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntPartitionKernel.PartitionKernelContext -
Constructor Summary
Constructors Constructor Description IntPartitionKernel() -
Method Summary
Modifier and Type Method Description static IntPartitionKernel.PartitionKernelContextcreateContext(Index index, ColumnSource<Integer> columnSource, int chunkSize, int nPartitions, boolean preserveEquality)static voidpartition(IntPartitionKernel.PartitionKernelContext context, LongChunk<Attributes.KeyIndices> indexKeys, IntChunk values)After we have created the context, we can determine what things are in a partition.
-
Constructor Details
-
IntPartitionKernel
public IntPartitionKernel()
-
-
Method Details
-
createContext
public static IntPartitionKernel.PartitionKernelContext createContext(Index index, ColumnSource<Integer> columnSource, int chunkSize, int nPartitions, boolean preserveEquality) -
partition
public static void partition(IntPartitionKernel.PartitionKernelContext context, LongChunk<Attributes.KeyIndices> indexKeys, IntChunk 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
-