package
2.0.2
Repository: https://github.com/cockroachdb/pebble.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Copy copies the specified range from the input to the output.
IsExternalTable returns true if a table with the given fileNum exists and is external.
IsLocalTable returns true if a table with the given fileNum exists and is local.
MakeNoopReadHandle initializes a NoopReadHandle.

# Constants

NoReadBefore specifies no read-before.
ReadBeforeForIndexAndFilter is used for an iterator reading the top-level index, filter and second-level index blocks.
ReadBeforeForNewReader is used for a new Reader reading the footer, metaindex, properties.
SharedNoCleanup is used for remote objects that are managed externally; the objstorage provider never deletes such objects.
SharedRefTracking is used for shared objects for which objstorage providers keep track of references via reference marker objects.

# Structs

CreateOptions contains optional arguments for Create.
MemObj is an in-memory implementation of the Writable and Readable that holds all data in memory.
NoopReadHandle can be used by Readable implementations that don't support read-ahead.
ObjectMetadata contains the metadata required to be able to access an object.
OpenOptions contains optional arguments for OpenForReading.
RemoteObjectToAttach contains the arguments needed to attach an existing remote object.

# Interfaces

Provider is a singleton object used to access and manage objects.
Readable is the handle for an object that is open for reading.
ReadHandle is used to perform reads that are related and might benefit from optimizations like read-ahead.
RemoteObjectBackingHandle is a container for a RemoteObjectBacking which ensures that the backing stays valid.
Writable is the handle for an object that is open for writing.

# Type aliases

CreatorID identifies the DB instance that originally created a shared object.
ReadBeforeSize specifies whether the first read should read additional bytes before the offset, and how big the overall read should be.
RemoteObjectBacking encodes the metadata necessary to incorporate a shared object into a different Pebble instance.
SharedCleanupMethod indicates the method for cleaning up unused shared objects.