Object

io.treeverse.jpebble

BlockParser

Related Doc: package jpebble

Permalink

object BlockParser

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlockParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val COMPRESSION_BLOCK_TYPE_NONE: Int

    Permalink
  5. val COMPRESSION_BLOCK_TYPE_SNAPPY: Int

    Permalink
  6. val INDEX_TYPE_KEY: Array[Byte]

    Permalink
  7. val INDEX_TYPE_TWO_LEVEL: Int

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. val blockTrailerLen: Int

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def entryIterator(in: BlockReadable): Iterator[Entry]

    Permalink

    returns

    Iterator over all SSTable entries

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fixupCRC(crc: Int): Int

    Permalink

    Mix bits of CRC32C to match its use in RocksDB SSTables.

    Mix bits of CRC32C to match its use in RocksDB SSTables. (That format includes CRCs inside checksummed data, meaning further CRCs of that block can fail to detect anything; defining this mixing protects that protocol. We need to follow the format regardless of whether or not using CRCs like this is justified!)

  16. val footerLength: Int

    Permalink
  17. val footerMagic: Seq[Byte]

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def parseDataBlock(block: IndexedBytes): DataBlockIterator

    Permalink
  25. def readBlockHandle(bytes: Iterator[Byte]): BlockHandle

    Permalink
  26. def readBytes(bytes: Iterator[Byte], size: Long): Seq[Byte]

    Permalink
  27. def readEnd(bytes: Iterator[Byte]): Unit

    Permalink
  28. def readFooter(bytes: Iterator[Byte]): IndexBlockHandles

    Permalink
  29. def readInt32(bytes: Iterator[Byte]): Int

    Permalink

    Return an int32 with (fixed-width, 4 byte) little-endian encoding from bytes.

  30. def readMagic(bytes: Iterator[Byte]): Unit

    Permalink
  31. def readProperties(file: BlockReadable, footer: IndexBlockHandles): Map[Seq[Byte], Array[Byte]]

    Permalink
  32. def readSignedVarLong(bytes: Iterator[Byte]): Long

    Permalink
  33. def readUnsignedVarLong(bytes: Iterator[Byte]): Long

    Permalink
  34. def startBlockParse(block: IndexedBytes): IndexedBytes

    Permalink

    Verify the block checksum and return the sequence of its contents.

    Verify the block checksum and return the sequence of its contents. block should be the entire contents of a BlockHandle plus blockTrailerLen (5) bytes.

    Uses a ByteBuffer so we can use whatever efficient CRC32C implementation is available on the JVM.

    TODO(ariels): decompression.

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. def update(checksum: Checksum, buf: Array[Byte], offset: Int, length: Int): Unit

    Permalink
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped