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

# Functions

DecodeKey decodes an key/timestamp from its serialized representation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ScanDecodeKeyValue decodes a key/value pair from a binary stream, such as in an MVCCScan "batch" (this is not the RocksDB batch repr format), returning the key/value, the timestamp, and the suffix of data remaining in the batch.
ScanDecodeKeyValueNoTS decodes a key/value pair from a binary stream, such as in an MVCCScan "batch" (this is not the RocksDB batch repr format), returning the key/value and the suffix of data remaining in the batch.
SplitMVCCKey returns the key and timestamp components of an encoded MVCC key.

# Constants

The Env using data-level keys.
The default Env when no encryption is used.
The Env using store-level keys.
MaxTxnPriority is the maximum allowed txn priority.
MinTxnPriority is the minimum allowed txn priority.
The only version so far.

# Variables

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

# Structs

No description provided by the author
Registry describes how a files are handled.
HistogramData holds the relevant metrics returned by a call to `rocksdb::Statistics::histogramData()`.
MVCCAbortIntentOp corresponds to an intent being aborted for a given transaction.
MVCCAbortTxnOp corresponds to an entire transaction being aborted.
MVCCCommitIntentOp corresponds to an intent being committed for a given transaction.
MVCCLogicalOp is a union of all logical MVCC operation types.
MVCCMetadata holds MVCC metadata for a key.
SequencedIntent stores a value at a given key and the sequence number it was written at - to be stored in an IntentHistory of a key during a transaction.
MVCCPersistentStats is convertible to MVCCStats, but uses signed variable width encodings for most fields that make it efficient to store positive values but inefficient to store negative values.
MVCCStats tracks byte and instance counts for various groups of keys, values, or key-value pairs; see the field comments for details.
MVCCStatsDelta is convertible to MVCCStats, but uses signed variable width encodings for most fields that make it more efficient to store negative values.
MVCCUpdateIntentOp corresponds to an intent being updates at a larger timestamp for a given transaction.
MVCCUpdateIntentOp corresponds to an intent being written for a given transaction.
MVCCWriteValueOp corresponds to a value being written outside of a transaction.
RangeAppliedState combines the raft and lease applied indices with mvcc stats.
SSTUserProperties contains the user-added properties of a single sstable.
SSTUserPropertiesCollection contains the user-added properties of every sstable in a RocksDB instance.
TickersAndHistograms holds maps from ticker/histogram name to its value for all stats measured by a `rocksdb::Statistics` object.
TxnMeta is the metadata of a Transaction record.

# Type aliases

EnvType determines which rocksdb::Env is used and for what purpose.
No description provided by the author
TxnEpoch is a zero-indexed epoch for a transaction.
TxnPriority defines the priority that a transaction operates at.
TxnSeq is a zero-indexed sequence number asssigned to a a request performed by a transaction.