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.
Click to show internal directories.
Click to hide internal directories.