rangekey

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: BSD-3-Clause Imports: 3 Imported by: 2

Documentation

Overview

Package rangekey provides functionality for working with range keys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRangeKey

func IsRangeKey(ik sstable.InternalKey) bool

IsRangeKey returns if this InternalKey is a range key. Alias for rangekey.IsRangeKey.

Types

type Fragmenter added in v1.1.0

type Fragmenter = keyspan.Fragmenter

Fragmenter exports the keyspan.Fragmenter type.

type Key

type Key = keyspan.Key

Key exports the keyspan.Key type.

type Span

type Span = keyspan.Span

Span exports the keyspan.Span type.

func Decode

func Decode(ik sstable.InternalKey, val []byte, keysDst []keyspan.Key) (Span, error)

Decode decodes an InternalKey into a keyspan.Span, if it is a range key. If keysDst is provided, keys will be appended to keysDst to reduce allocations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL