sstableinternal

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

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