Class BlockZipper.Context

java.lang.Object
com.illumon.iris.db.v2.sources.chunk.kernels.BlockZipper.Context
All Implemented Interfaces:
Context, SafeCloseable, AutoCloseable
Enclosing class:
BlockZipper

public class BlockZipper.Context
extends Object
implements Context
  • Field Details

  • Constructor Details

    • Context

      public Context​(int chunkSize, int logBlockCount)
      Constructs a context reflecting the size for the current session
      Parameters:
      chunkSize - - The size of the hash input chunks
      logBlockCount - - Log base 2 of the number of blocks in the target hash table
  • Method Details

    • updateBlockSizeAndCount

      public void updateBlockSizeAndCount​(int logBlockCount)
      Updates the size of the target hash table, presumably as the result of a resize
      Parameters:
      logBlockCount - - Log base 2 of the number of blocks in the target hash table