Documentation
¶
Index ¶
- Variables
- type CollectionLocks
- func (*CollectionLocks) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionLocks) GetCollectionLock() Lock_LockType
- func (x *CollectionLocks) GetLocks() []*Lock
- func (*CollectionLocks) ProtoMessage()
- func (x *CollectionLocks) ProtoReflect() protoreflect.Message
- func (x *CollectionLocks) Reset()
- func (x *CollectionLocks) String() string
- type CollectionWrites
- func (*CollectionWrites) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionWrites) GetLocks() *CollectionLocks
- func (x *CollectionWrites) GetPrefix() string
- func (x *CollectionWrites) GetWrites() []*Write
- func (*CollectionWrites) ProtoMessage()
- func (x *CollectionWrites) ProtoReflect() protoreflect.Message
- func (x *CollectionWrites) Reset()
- func (x *CollectionWrites) String() string
- type Lock
- type Lock_LockType
- func (Lock_LockType) Descriptor() protoreflect.EnumDescriptor
- func (x Lock_LockType) Enum() *Lock_LockType
- func (Lock_LockType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Lock_LockType) Number() protoreflect.EnumNumber
- func (x Lock_LockType) String() string
- func (Lock_LockType) Type() protoreflect.EnumType
- type TransactionLog
- func (*TransactionLog) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionLog) GetStatus() TransactionLog_Status
- func (x *TransactionLog) GetTimestamp() *timestamp.Timestamp
- func (x *TransactionLog) GetWrites() []*CollectionWrites
- func (*TransactionLog) ProtoMessage()
- func (x *TransactionLog) ProtoReflect() protoreflect.Message
- func (x *TransactionLog) Reset()
- func (x *TransactionLog) String() string
- type TransactionLog_Status
- func (TransactionLog_Status) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionLog_Status) Enum() *TransactionLog_Status
- func (TransactionLog_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionLog_Status) Number() protoreflect.EnumNumber
- func (x TransactionLog_Status) String() string
- func (TransactionLog_Status) Type() protoreflect.EnumType
- type Write
- func (*Write) Descriptor() ([]byte, []int)deprecated
- func (x *Write) GetDeleted() bool
- func (x *Write) GetPrevTid() []byte
- func (x *Write) GetSuffix() string
- func (m *Write) GetValDelete() isWrite_ValDelete
- func (x *Write) GetValue() []byte
- func (*Write) ProtoMessage()
- func (x *Write) ProtoReflect() protoreflect.Message
- func (x *Write) Reset()
- func (x *Write) String() string
- type Write_Deleted
- type Write_Value
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TransactionLog_Status_name = map[int32]string{ 0: "DEFAULT", 1: "COMMITTED", 2: "ABORTED", 3: "PENDING", } TransactionLog_Status_value = map[string]int32{ "DEFAULT": 0, "COMMITTED": 1, "ABORTED": 2, "PENDING": 3, } )
Enum value maps for TransactionLog_Status.
View Source
var ( Lock_LockType_name = map[int32]string{ 0: "UNKNOWN", 1: "NONE", 2: "READ", 3: "WRITE", 4: "CREATE", } Lock_LockType_value = map[string]int32{ "UNKNOWN": 0, "NONE": 1, "READ": 2, "WRITE": 3, "CREATE": 4, } )
Enum value maps for Lock_LockType.
View Source
var File_transaction_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CollectionLocks ¶
type CollectionLocks struct { CollectionLock Lock_LockType `` /* 131-byte string literal not displayed */ Locks []*Lock `protobuf:"bytes,3,rep,name=locks,proto3" json:"locks,omitempty"` // contains filtered or unexported fields }
func (*CollectionLocks) Descriptor
deprecated
func (*CollectionLocks) Descriptor() ([]byte, []int)
Deprecated: Use CollectionLocks.ProtoReflect.Descriptor instead.
func (*CollectionLocks) GetCollectionLock ¶
func (x *CollectionLocks) GetCollectionLock() Lock_LockType
func (*CollectionLocks) GetLocks ¶
func (x *CollectionLocks) GetLocks() []*Lock
func (*CollectionLocks) ProtoMessage ¶
func (*CollectionLocks) ProtoMessage()
func (*CollectionLocks) ProtoReflect ¶
func (x *CollectionLocks) ProtoReflect() protoreflect.Message
func (*CollectionLocks) Reset ¶
func (x *CollectionLocks) Reset()
func (*CollectionLocks) String ¶
func (x *CollectionLocks) String() string
type CollectionWrites ¶
type CollectionWrites struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Writes []*Write `protobuf:"bytes,2,rep,name=writes,proto3" json:"writes,omitempty"` Locks *CollectionLocks `protobuf:"bytes,3,opt,name=locks,proto3" json:"locks,omitempty"` // contains filtered or unexported fields }
func (*CollectionWrites) Descriptor
deprecated
func (*CollectionWrites) Descriptor() ([]byte, []int)
Deprecated: Use CollectionWrites.ProtoReflect.Descriptor instead.
func (*CollectionWrites) GetLocks ¶
func (x *CollectionWrites) GetLocks() *CollectionLocks
func (*CollectionWrites) GetPrefix ¶
func (x *CollectionWrites) GetPrefix() string
func (*CollectionWrites) GetWrites ¶
func (x *CollectionWrites) GetWrites() []*Write
func (*CollectionWrites) ProtoMessage ¶
func (*CollectionWrites) ProtoMessage()
func (*CollectionWrites) ProtoReflect ¶
func (x *CollectionWrites) ProtoReflect() protoreflect.Message
func (*CollectionWrites) Reset ¶
func (x *CollectionWrites) Reset()
func (*CollectionWrites) String ¶
func (x *CollectionWrites) String() string
type Lock ¶
type Lock struct { Suffix string `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"` LockType Lock_LockType `protobuf:"varint,2,opt,name=lock_type,json=lockType,proto3,enum=glassdb.Lock_LockType" json:"lock_type,omitempty"` // contains filtered or unexported fields }
func (*Lock) Descriptor
deprecated
func (*Lock) GetLockType ¶
func (x *Lock) GetLockType() Lock_LockType
func (*Lock) ProtoMessage ¶
func (*Lock) ProtoMessage()
func (*Lock) ProtoReflect ¶
func (x *Lock) ProtoReflect() protoreflect.Message
type Lock_LockType ¶
type Lock_LockType int32
const ( Lock_UNKNOWN Lock_LockType = 0 Lock_NONE Lock_LockType = 1 Lock_READ Lock_LockType = 2 Lock_WRITE Lock_LockType = 3 Lock_CREATE Lock_LockType = 4 )
func (Lock_LockType) Descriptor ¶
func (Lock_LockType) Descriptor() protoreflect.EnumDescriptor
func (Lock_LockType) Enum ¶
func (x Lock_LockType) Enum() *Lock_LockType
func (Lock_LockType) EnumDescriptor
deprecated
func (Lock_LockType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Lock_LockType.Descriptor instead.
func (Lock_LockType) Number ¶
func (x Lock_LockType) Number() protoreflect.EnumNumber
func (Lock_LockType) String ¶
func (x Lock_LockType) String() string
func (Lock_LockType) Type ¶
func (Lock_LockType) Type() protoreflect.EnumType
type TransactionLog ¶
type TransactionLog struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Status TransactionLog_Status `protobuf:"varint,2,opt,name=status,proto3,enum=glassdb.TransactionLog_Status" json:"status,omitempty"` Writes []*CollectionWrites `protobuf:"bytes,3,rep,name=writes,proto3" json:"writes,omitempty"` // contains filtered or unexported fields }
func (*TransactionLog) Descriptor
deprecated
func (*TransactionLog) Descriptor() ([]byte, []int)
Deprecated: Use TransactionLog.ProtoReflect.Descriptor instead.
func (*TransactionLog) GetStatus ¶
func (x *TransactionLog) GetStatus() TransactionLog_Status
func (*TransactionLog) GetTimestamp ¶
func (x *TransactionLog) GetTimestamp() *timestamp.Timestamp
func (*TransactionLog) GetWrites ¶
func (x *TransactionLog) GetWrites() []*CollectionWrites
func (*TransactionLog) ProtoMessage ¶
func (*TransactionLog) ProtoMessage()
func (*TransactionLog) ProtoReflect ¶
func (x *TransactionLog) ProtoReflect() protoreflect.Message
func (*TransactionLog) Reset ¶
func (x *TransactionLog) Reset()
func (*TransactionLog) String ¶
func (x *TransactionLog) String() string
type TransactionLog_Status ¶
type TransactionLog_Status int32
const ( TransactionLog_DEFAULT TransactionLog_Status = 0 TransactionLog_COMMITTED TransactionLog_Status = 1 TransactionLog_ABORTED TransactionLog_Status = 2 TransactionLog_PENDING TransactionLog_Status = 3 )
func (TransactionLog_Status) Descriptor ¶
func (TransactionLog_Status) Descriptor() protoreflect.EnumDescriptor
func (TransactionLog_Status) Enum ¶
func (x TransactionLog_Status) Enum() *TransactionLog_Status
func (TransactionLog_Status) EnumDescriptor
deprecated
func (TransactionLog_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionLog_Status.Descriptor instead.
func (TransactionLog_Status) Number ¶
func (x TransactionLog_Status) Number() protoreflect.EnumNumber
func (TransactionLog_Status) String ¶
func (x TransactionLog_Status) String() string
func (TransactionLog_Status) Type ¶
func (TransactionLog_Status) Type() protoreflect.EnumType
type Write ¶
type Write struct { Suffix string `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"` // The ID of the last transaction writing to this key. PrevTid []byte `protobuf:"bytes,3,opt,name=prev_tid,json=prevTid,proto3" json:"prev_tid,omitempty"` // Types that are assignable to ValDelete: // // *Write_Value // *Write_Deleted ValDelete isWrite_ValDelete `protobuf_oneof:"val_delete"` // contains filtered or unexported fields }
func (*Write) Descriptor
deprecated
func (*Write) GetDeleted ¶
func (*Write) GetPrevTid ¶
func (*Write) GetValDelete ¶
func (m *Write) GetValDelete() isWrite_ValDelete
func (*Write) ProtoMessage ¶
func (*Write) ProtoMessage()
func (*Write) ProtoReflect ¶
func (x *Write) ProtoReflect() protoreflect.Message
type Write_Deleted ¶
type Write_Deleted struct {
Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3,oneof"`
}
type Write_Value ¶
type Write_Value struct {
Value []byte `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.