virtual

package
v2.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtualReaderParams

type VirtualReaderParams struct {
	Lower   base.InternalKey
	Upper   base.InternalKey
	FileNum base.FileNum
}

VirtualReaderParams are the parameters necessary for a reader to read virtual sstables.

func (*VirtualReaderParams) ConstrainBounds

func (v *VirtualReaderParams) ConstrainBounds(
	start, end []byte, endInclusive bool, compare func([]byte, []byte) int,
) (lastKeyInclusive bool, first []byte, last []byte)

Constrain bounds will narrow the start, end bounds if they do not fit within the virtual sstable. The function will return if the new end key is inclusive.

Jump to

Keyboard shortcuts

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