Class FloatByteTimsortDescendingKernel.FloatByteSortKernelContext<SORT_VALUES_ATTR extends Any,PERMUTE_VALUES_ATTR extends Any>
java.lang.Object
io.deephaven.engine.table.impl.sort.timsort.FloatByteTimsortDescendingKernel.FloatByteSortKernelContext<SORT_VALUES_ATTR,PERMUTE_VALUES_ATTR>
- All Implemented Interfaces:
Context
,ByteSortKernel<SORT_VALUES_ATTR,
,PERMUTE_VALUES_ATTR> SafeCloseable
,AutoCloseable
- Enclosing class:
- FloatByteTimsortDescendingKernel
public static class FloatByteTimsortDescendingKernel.FloatByteSortKernelContext<SORT_VALUES_ATTR extends Any,PERMUTE_VALUES_ATTR extends Any>
extends Object
implements ByteSortKernel<SORT_VALUES_ATTR,PERMUTE_VALUES_ATTR>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Release any resources associated with this context.void
sort
(WritableByteChunk<PERMUTE_VALUES_ATTR> valuesToPermute, WritableChunk<SORT_VALUES_ATTR> valuesToSort) Sort the values in valuesToSort permuting the valuesToPermute chunk in the same way.void
sort
(WritableByteChunk<PERMUTE_VALUES_ATTR> valuesToPermute, WritableChunk<SORT_VALUES_ATTR> valuesToSort, IntChunk<? extends ChunkPositions> offsetsIn, IntChunk<? extends ChunkLengths> lengthsIn) Sort the values in valuesToSort permuting the valuesToPermute chunk in the same way.
-
Method Details
-
sort
public void sort(WritableByteChunk<PERMUTE_VALUES_ATTR> valuesToPermute, WritableChunk<SORT_VALUES_ATTR> valuesToSort) Description copied from interface:ByteSortKernel
Sort the values in valuesToSort permuting the valuesToPermute chunk in the same way.- Specified by:
sort
in interfaceByteSortKernel<SORT_VALUES_ATTR extends Any,
PERMUTE_VALUES_ATTR extends Any>
-
sort
public void sort(WritableByteChunk<PERMUTE_VALUES_ATTR> valuesToPermute, WritableChunk<SORT_VALUES_ATTR> valuesToSort, IntChunk<? extends ChunkPositions> offsetsIn, IntChunk<? extends ChunkLengths> lengthsIn) Description copied from interface:ByteSortKernel
Sort the values in valuesToSort permuting the valuesToPermute chunk in the same way.The offsetsIn chunk is contains the offsets of runs to sort in valuesToPermute; and the lengthsIn contains the lengths of the runs. This allows the kernel to be used for a secondary column sort, chaining it together with smaller runs sorted on each pass.
- Specified by:
sort
in interfaceByteSortKernel<SORT_VALUES_ATTR extends Any,
PERMUTE_VALUES_ATTR extends Any>
-
close
public void close()Description copied from interface:Context
Release any resources associated with this context. The context should not be used afterwards.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceContext
- Specified by:
close
in interfaceSafeCloseable
-