package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

DisableReaderAssertions unwraps any storage.Reader implementations that may assert access against a given SpanSet.
DisableReadWriterAssertions unwraps any storage.ReadWriter implementations that may assert access against a given SpanSet.
New creates a new empty SpanSet.
NewBatch returns a storage.Batch that asserts access of the underlying Batch against the given SpanSet.
NewBatchAt returns an storage.Batch that asserts access of the underlying Batch against the given SpanSet at the given timestamp.
NewEventuallyFileOnlySnapshot returns a storage.EventuallyFileOnlyReader that asserts access of the underlying EFOS against the given SpanSet.
NewIterator constructs an iterator that verifies access of the underlying iterator against the given SpanSet.
NewIteratorAt constructs an iterator that verifies access of the underlying iterator against the given SpanSet at the given timestamp.
NewReader returns a storage.Reader that asserts access of the underlying Reader against the given SpanSet at a given timestamp.
NewReadWriterAt returns a storage.ReadWriter that asserts access of the underlying ReadWriter against the given SpanSet at a given timestamp.

# Constants

Constants for SpanAccess.
Constants for span scopes.
Constants for span scopes.
Constants for span scopes.
Constants for SpanAccess.
Constants for SpanAccess.

# Structs

EngineIterator wraps a storage.EngineIterator and ensures that it can only be used to access spans in a SpanSet.
MVCCIterator wraps an storage.MVCCIterator and ensures that it can only be used to access spans in a SpanSet.
ReadWriter is used outside of the spanset package internally, in ccl.
Span is used to represent a keyspan accessed by a request at a given timestamp.
SpanSet tracks the set of key spans touched by a command, broken into MVCC and non-MVCC accesses.

# Type aliases

SpanAccess records the intended mode of access in a SpanSet.
SpanScope divides access types into local and global keys.