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