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