java.lang.Object
org.aksw.commons.io.hadoop.binseach.v2.Block

public class Block extends Object
  • Field Details

    • thisBlockId

      protected long thisBlockId
      A physical offset in the block source - position in the encoded/compressed data.
    • nextBlockId

      protected long nextBlockId
      A physical offset in the block source - position in the encoded/compressed data.
    • buffer

      protected Buffer<byte[]> buffer
    • blockSource

      protected BlockSource blockSource
  • Constructor Details

    • Block

      public Block(BlockSource blockSource, Buffer<byte[]> buffer, long thisBlockId, long nextBlockId)
    • Block

      public Block(Buffer<byte[]> buffer, long thisBlockId, long nextBlockId)
  • Method Details

    • getBuffer

      public Buffer<byte[]> getBuffer()
    • getNextBlockId

      public long getNextBlockId()
    • getThisBlockId

      public long getThisBlockId()
    • size

      public int size()