package
19.2.12+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
ComputeStatsForRange computes the stats for a given range by iterating over all key ranges for the given range that should be accounted for in its stats.
MakeAllKeyRanges returns all key ranges for the given Range.
MakeRangeIDLocalKeyRange returns the range-id local key range.
MakeRangeLocalKeyRange returns the range local key range.
MakeReplicatedKeyRanges returns all key ranges that are fully Raft replicated for the given Range.
MakeUserKeyRange returns the user key range.
NewReplicaDataIterator creates a ReplicaDataIterator for the given replica.
# Structs
KeyRange is a helper struct for the ReplicaDataIterator.
ReplicaDataIterator provides a complete iteration over all key / value rows in a range, including all system-local metadata and user data.