Package

swaydb.core

segment

Permalink

package segment

Visibility
  1. Public
  2. All

Type Members

  1. class DeadlineAndFunctionId extends AnyRef

    Permalink
    Attributes
    protected
  2. case class MemorySegment(path: Path, minKey: Slice[Byte], maxKey: MaxKey[Slice[Byte]], minMaxFunctionId: Option[MinMax[Slice[Byte]]], segmentSize: Int, hasRange: Boolean, hasPut: Boolean, createdInLevel: Int, skipList: Immutable[SliceOption[Byte], MemoryOption, Slice[Byte], Memory], nearestPutDeadline: Option[Deadline])(implicit keyOrder: KeyOrder[Slice[Byte]], timeOrder: TimeOrder[Slice[Byte]], functionStore: FunctionStore, fileSweeper: Enabled) extends Segment with LazyLogging with Product with Serializable

    Permalink
    Attributes
    protected
  3. trait PersistentSegment extends Segment

    Permalink
  4. case class PersistentSegmentMany(file: DBFile, createdInLevel: Int, minKey: Slice[Byte], maxKey: MaxKey[Slice[Byte]], minMaxFunctionId: Option[MinMax[Slice[Byte]]], segmentSize: Int, nearestPutDeadline: Option[Deadline], segmentsCache: Cache[Error.Segment, Unit, Immutable[SliceOption[Byte], SegmentRefOption, Slice[Byte], SegmentRef]])(implicit keyOrder: KeyOrder[Slice[Byte]], timeOrder: TimeOrder[Slice[Byte]], functionStore: FunctionStore, blockCache: Option[State], fileSweeper: Enabled, keyValueMemorySweeper: Option[KeyValue], segmentIO: SegmentIO) extends PersistentSegment with LazyLogging with Product with Serializable

    Permalink
    Attributes
    protected
  5. case class PersistentSegmentOne(file: DBFile, createdInLevel: Int, minKey: Slice[Byte], maxKey: MaxKey[Slice[Byte]], minMaxFunctionId: Option[MinMax[Slice[Byte]]], segmentSize: Int, nearestPutDeadline: Option[Deadline], ref: SegmentRef)(implicit keyOrder: KeyOrder[Slice[Byte]], timeOrder: TimeOrder[Slice[Byte]], functionStore: FunctionStore, blockCache: Option[State], fileSweeper: Enabled, keyValueMemorySweeper: Option[KeyValue], segmentIO: SegmentIO) extends PersistentSegment with LazyLogging with Product with Serializable

    Permalink
    Attributes
    protected
  6. class SegmentReadState extends SegmentReadStateOption

    Permalink

    Both Get and Higher functions mutate foundKeyValue.

    Both Get and Higher functions mutate foundKeyValue. But lower can only mutate foundLowerKeyValue as it depends on get to fetch the end key-value for faster lower search and should not mutate get's set foundKeyValue.

    Attributes
    protected
  7. sealed trait SegmentReadStateOption extends SomeOrNone[SegmentReadStateOption, SegmentReadState]

    Permalink
    Attributes
    protected

Value Members

  1. object DeadlineAndFunctionId

    Permalink
    Attributes
    protected
  2. object PersistentSegmentMany extends Serializable

    Permalink
    Attributes
    protected
  3. object PersistentSegmentOne extends Serializable

    Permalink
    Attributes
    protected
  4. object SegmentReadState

    Permalink
    Attributes
    protected
  5. package format

    Permalink

Ungrouped