Class CompressionMetadata.Chunk

java.lang.Object
org.apache.cassandra.io.compress.CompressionMetadata.Chunk
Enclosing class:
CompressionMetadata

public static class CompressionMetadata.Chunk extends Object
Holds offset and length of the file chunk
  • Field Details

  • Constructor Details

    • Chunk

      public Chunk(long offset, int length)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • chunkEnd

      public long chunkEnd()
      Returns:
      the end of the chunk in the file, including the checksum