Package

io.iohk

iodb

Permalink

package iodb

Visibility
  1. Public
  2. All

Type Members

  1. case class ByteArrayWrapper(data: Array[Byte]) extends Serializable with Comparable[ByteArrayWrapper] with Ordered[ByteArrayWrapper] with Product with Serializable

    Permalink

    Wraps byte array and provides hashCode, equals and compare methods.

  2. class DataCorruptionException extends RuntimeException

    Permalink

    Exception if data in files are corrupted

  3. sealed abstract class FileAccess extends AnyRef

    Permalink

    Different ways to access files (RandomAccessFile, memory-mapped, direct mmap with Unsafe)

  4. class LSMStore extends Store

    Permalink

    Created by jan on 18.1.17.

  5. case class LogFileUpdate(offset: Int, keyCount: Int, merged: Boolean, fileNum: Long, versionID: VersionID, prevVersionID: VersionID) extends Product with Serializable

    Permalink
  6. case class ShardSpec(versionID: VersionID, shards: Seq[ShardSpecEntry]) extends Product with Serializable

    Permalink
  7. case class ShardSpecEntry(startKey: K, endKey: K, fileNum: Long, versionID: VersionID) extends Product with Serializable

    Permalink
  8. trait Store extends AnyRef

    Permalink

    Interface for a key-value versioned database.

    Interface for a key-value versioned database. It has been created with a blockchain core needs in mind.

Value Members

  1. object ByteArrayWrapper extends Serializable

    Permalink
  2. object FileAccess

    Permalink
  3. object KeyOffsetValueComparator extends Comparator[(K, Int, V)]

    Permalink

    Compares key-value pairs.

    Compares key-value pairs. Key is used for comparation, value is ignored

    Attributes
    protected
  4. object LSMStore

    Permalink
    Attributes
    protected
  5. object Store

    Permalink

Ungrouped