Interface FlatHashStrategy


public interface FlatHashStrategy
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
    getTotalVariableWidth(Block[] blocks, int position)
     
    long
    hash(byte[] fixedChunk, int fixedOffset, byte[] variableChunk)
     
    long
    hash(Block[] blocks, int position)
     
    void
    hashBlocksBatched(Block[] blocks, long[] hashes, int offset, int length)
     
    boolean
     
    void
    readFlat(byte[] fixedChunk, int fixedOffset, byte[] variableChunk, BlockBuilder[] blockBuilders)
     
    boolean
    valueNotDistinctFrom(byte[] leftFixedChunk, int leftFixedOffset, byte[] leftVariableChunk, Block[] rightBlocks, int rightPosition)
     
    void
    writeFlat(Block[] blocks, int position, byte[] fixedChunk, int fixedOffset, byte[] variableChunk, int variableOffset)
     
  • Method Details

    • isAnyVariableWidth

      boolean isAnyVariableWidth()
    • getTotalFlatFixedLength

      int getTotalFlatFixedLength()
    • getTotalVariableWidth

      int getTotalVariableWidth(Block[] blocks, int position)
    • readFlat

      void readFlat(byte[] fixedChunk, int fixedOffset, byte[] variableChunk, BlockBuilder[] blockBuilders)
    • writeFlat

      void writeFlat(Block[] blocks, int position, byte[] fixedChunk, int fixedOffset, byte[] variableChunk, int variableOffset)
    • valueNotDistinctFrom

      boolean valueNotDistinctFrom(byte[] leftFixedChunk, int leftFixedOffset, byte[] leftVariableChunk, Block[] rightBlocks, int rightPosition)
    • hash

      long hash(Block[] blocks, int position)
    • hash

      long hash(byte[] fixedChunk, int fixedOffset, byte[] variableChunk)
    • hashBlocksBatched

      void hashBlocksBatched(Block[] blocks, long[] hashes, int offset, int length)