sstableinternal

package
v2.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheOptions

type CacheOptions struct {
	// CacheHandle can be nil, in which case no cache is used. When non-nil, the
	// other fields must be set accordingly.
	CacheHandle *cache.Handle
	FileNum     base.DiskFileNum
}

CacheOptions contains the information needed to interact with the block cache.

type ReaderOptions

type ReaderOptions struct {
	CacheOpts CacheOptions
}

ReaderOptions are fields of sstable.ReaderOptions that can only be set from within the pebble package.

type WriterOptions

type WriterOptions struct {
	CacheOpts CacheOptions

	// DisableKeyOrderChecks disables the checks that keys are added to an sstable
	// in order. It is intended for use only in the construction of invalid
	// sstables for testing. See tool/make_test_sstables.go.
	DisableKeyOrderChecks bool
}

WriterOptions are fields of sstable.ReaderOptions that can only be set from within the pebble package.

Jump to

Keyboard shortcuts

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