Versions in this module Expand all Collapse all v1 v1.1.5 Jan 29, 2018 Changes in this version + var ErrIntOverflowMvcc = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowRocksdb = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthMvcc = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthRocksdb = fmt.Errorf("proto: negative length found during unmarshaling") + var IsolationType_name = map[int32]string + var IsolationType_value = map[string]int32 + type IsolationType int32 + const SERIALIZABLE + const SNAPSHOT + func (IsolationType) EnumDescriptor() ([]byte, []int) + func (x *IsolationType) UnmarshalJSON(data []byte) error + func (x IsolationType) Enum() *IsolationType + func (x IsolationType) String() string + func (x IsolationType) ToLowerCaseString() string + type MVCCMetadata struct + Deleted bool + KeyBytes int64 + MergeTimestamp *cockroach_util_hlc.Timestamp + RawBytes []byte + Timestamp cockroach_util_hlc.Timestamp + Txn *TxnMeta + ValBytes int64 + func NewPopulatedMVCCMetadata(r randyMvcc, easy bool) *MVCCMetadata + func (*MVCCMetadata) Descriptor() ([]byte, []int) + func (*MVCCMetadata) ProtoMessage() + func (m *MVCCMetadata) Marshal() (dAtA []byte, err error) + func (m *MVCCMetadata) MarshalTo(dAtA []byte) (int, error) + func (m *MVCCMetadata) Reset() + func (m *MVCCMetadata) Size() (n int) + func (m *MVCCMetadata) String() string + func (m *MVCCMetadata) Unmarshal(dAtA []byte) error + func (meta MVCCMetadata) IsInline() bool + type MVCCStats struct + ContainsEstimates bool + GCBytesAge int64 + IntentAge int64 + IntentBytes int64 + IntentCount int64 + KeyBytes int64 + KeyCount int64 + LastUpdateNanos int64 + LiveBytes int64 + LiveCount int64 + SysBytes int64 + SysCount int64 + ValBytes int64 + ValCount int64 + func NewPopulatedMVCCStats(r randyMvcc, easy bool) *MVCCStats + func (*MVCCStats) Descriptor() ([]byte, []int) + func (*MVCCStats) ProtoMessage() + func (m *MVCCStats) Marshal() (dAtA []byte, err error) + func (m *MVCCStats) MarshalTo(dAtA []byte) (int, error) + func (m *MVCCStats) Reset() + func (m *MVCCStats) Size() (n int) + func (m *MVCCStats) String() string + func (m *MVCCStats) Unmarshal(dAtA []byte) error + func (ms *MVCCStats) Add(oms MVCCStats) + func (ms *MVCCStats) AgeTo(nowNanos int64) + func (ms *MVCCStats) Subtract(oms MVCCStats) + func (ms MVCCStats) AvgIntentAge(nowNanos int64) float64 + func (ms MVCCStats) GCByteAge(nowNanos int64) int64 + func (ms MVCCStats) GCBytes() int64 + func (ms MVCCStats) Total() int64 + func (this *MVCCStats) Equal(that interface{}) bool + type SSTUserProperties struct + Path string + TsMax *cockroach_util_hlc.Timestamp + TsMin *cockroach_util_hlc.Timestamp + func (*SSTUserProperties) Descriptor() ([]byte, []int) + func (*SSTUserProperties) ProtoMessage() + func (m *SSTUserProperties) Marshal() (dAtA []byte, err error) + func (m *SSTUserProperties) MarshalTo(dAtA []byte) (int, error) + func (m *SSTUserProperties) Reset() + func (m *SSTUserProperties) Size() (n int) + func (m *SSTUserProperties) String() string + func (m *SSTUserProperties) Unmarshal(dAtA []byte) error + type SSTUserPropertiesCollection struct + Error string + Sst []SSTUserProperties + func (*SSTUserPropertiesCollection) Descriptor() ([]byte, []int) + func (*SSTUserPropertiesCollection) ProtoMessage() + func (m *SSTUserPropertiesCollection) Marshal() (dAtA []byte, err error) + func (m *SSTUserPropertiesCollection) MarshalTo(dAtA []byte) (int, error) + func (m *SSTUserPropertiesCollection) Reset() + func (m *SSTUserPropertiesCollection) Size() (n int) + func (m *SSTUserPropertiesCollection) String() string + func (m *SSTUserPropertiesCollection) Unmarshal(dAtA []byte) error + type TxnMeta struct + BatchIndex int32 + Epoch uint32 + ID github_com_cockroachdb_cockroach_pkg_util_uuid.UUID + Isolation IsolationType + Key []byte + Priority int32 + Sequence int32 + Timestamp cockroach_util_hlc.Timestamp + func NewPopulatedTxnMeta(r randyMvcc, easy bool) *TxnMeta + func (*TxnMeta) Descriptor() ([]byte, []int) + func (*TxnMeta) ProtoMessage() + func (m *TxnMeta) Marshal() (dAtA []byte, err error) + func (m *TxnMeta) MarshalTo(dAtA []byte) (int, error) + func (m *TxnMeta) Reset() + func (m *TxnMeta) Size() (n int) + func (m *TxnMeta) String() string + func (m *TxnMeta) Unmarshal(dAtA []byte) error + func (t TxnMeta) Short() string + func (this *TxnMeta) Equal(that interface{}) bool