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

public interface StampKernel extends Context
  • Method Details

    • makeStampKernel

      static StampKernel makeStampKernel(ChunkType type, SortingOrder order, boolean disallowExactMatch)
    • makeStampKernel

      @NotNull static @NotNull StampKernel makeStampKernel(ChunkType type)
    • makeStampKernelNoExact

      @NotNull static @NotNull StampKernel makeStampKernelNoExact(ChunkType type)
    • makeReverseStampKernel

      @NotNull static @NotNull StampKernel makeReverseStampKernel(ChunkType type)
    • makeReverseStampKernelNoExact

      @NotNull static @NotNull StampKernel makeReverseStampKernelNoExact(ChunkType type)
    • 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 values
      rightStamps - the input rhs stamp values
      rightKeyIndices - the input rhs stamp indices
      leftRedirections - the resulting redirections from the stamping operation