Interface StampKernel
- All Superinterfaces:
AutoCloseable,Context,SafeCloseable
- All Known Implementing Classes:
ByteNoExactReverseStampKernel,ByteNoExactStampKernel,ByteReverseStampKernel,ByteStampKernel,CharNoExactReverseStampKernel,CharNoExactStampKernel,CharReverseStampKernel,CharStampKernel,DoubleNoExactReverseStampKernel,DoubleNoExactStampKernel,DoubleReverseStampKernel,DoubleStampKernel,FloatNoExactReverseStampKernel,FloatNoExactStampKernel,FloatReverseStampKernel,FloatStampKernel,IntNoExactReverseStampKernel,IntNoExactStampKernel,IntReverseStampKernel,IntStampKernel,LongNoExactReverseStampKernel,LongNoExactStampKernel,LongReverseStampKernel,LongStampKernel,NullAwareCharNoExactReverseStampKernel,NullAwareCharNoExactStampKernel,NullAwareCharReverseStampKernel,NullAwareCharStampKernel,ObjectNoExactReverseStampKernel,ObjectNoExactStampKernel,ObjectReverseStampKernel,ObjectStampKernel,ShortNoExactReverseStampKernel,ShortNoExactStampKernel,ShortReverseStampKernel,ShortStampKernel
-
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeRedirections(Chunk<Values> leftStamps, Chunk<Values> rightStamps, LongChunk<RowKeys> rightKeyIndices, WritableLongChunk<RowKeys> leftRedirections) Stamps the left-hand-side values with the corresponding right hand side.static @NotNull StampKernelstatic @NotNull StampKernelstatic @NotNull StampKernelmakeStampKernel(ChunkType type) static StampKernelmakeStampKernel(ChunkType type, SortingOrder order, boolean disallowExactMatch) static @NotNull StampKernel
-
Method Details
-
makeStampKernel
-
makeStampKernel
-
makeStampKernelNoExact
-
makeReverseStampKernel
-
makeReverseStampKernelNoExact
-
computeRedirections
void computeRedirections(Chunk<Values> leftStamps, Chunk<Values> rightStamps, LongChunk<RowKeys> rightKeyIndices, WritableLongChunk<RowKeys> leftRedirections) Stamps the left-hand-side values with the corresponding right hand side.The rightKeyIndices are parallel to the stamp values in rightStamps; and used to compute a new chunk of redirections parallel to leftStamps.
- Parameters:
leftStamps- the input lhs stamp valuesrightStamps- the input rhs stamp valuesrightKeyIndices- the input rhs stamp indicesleftRedirections- the resulting redirections from the stamping operation
-