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