Documentation
¶
Index ¶
- Variables
- type CheckpointMetadata
- func (*CheckpointMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CheckpointMetadata) GetCreatedAt() uint64
- func (x *CheckpointMetadata) GetFileInfos() []*FileInfo
- func (x *CheckpointMetadata) GetFiles() []string
- func (x *CheckpointMetadata) GetTxid() []byte
- func (*CheckpointMetadata) ProtoMessage()
- func (x *CheckpointMetadata) ProtoReflect() protoreflect.Message
- func (x *CheckpointMetadata) Reset()
- func (x *CheckpointMetadata) String() string
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetDeleteReq() *rpc.DeleteRangeRequest
- func (x *Command) GetIncrReq() *rpc.IncrementRequest
- func (x *Command) GetNopReq() *NopRequest
- func (x *Command) GetPutReq() *rpc.PutRequest
- func (m *Command) GetReq() isCommand_Req
- func (x *Command) GetTxnReq() *rpc.TxnRequest
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type Command_DeleteReq
- type Command_IncrReq
- type Command_NopReq
- type Command_PutReq
- type Command_TxnReq
- type FileInfo
- type KeyMeta
- func (*KeyMeta) Descriptor() ([]byte, []int)deprecated
- func (x *KeyMeta) GetCreateRevision() int64
- func (x *KeyMeta) GetExpireTime() int64
- func (x *KeyMeta) GetModRevision() int64
- func (x *KeyMeta) GetValueType() ValueType
- func (x *KeyMeta) GetVersion() int64
- func (*KeyMeta) ProtoMessage()
- func (x *KeyMeta) ProtoReflect() protoreflect.Message
- func (x *KeyMeta) Reset()
- func (x *KeyMeta) String() string
- type NopRequest
- type ValueType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ValueType_name = map[int32]string{ 0: "BYTES", 1: "NUMBER", } ValueType_value = map[string]int32{ "BYTES": 0, "NUMBER": 1, } )
Enum value maps for ValueType.
View Source
var File_kv_store_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckpointMetadata ¶
type CheckpointMetadata struct { Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` CreatedAt uint64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` FileInfos []*FileInfo `protobuf:"bytes,4,rep,name=fileInfos,proto3" json:"fileInfos,omitempty"` // contains filtered or unexported fields }
func (*CheckpointMetadata) Descriptor
deprecated
func (*CheckpointMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointMetadata.ProtoReflect.Descriptor instead.
func (*CheckpointMetadata) GetCreatedAt ¶
func (x *CheckpointMetadata) GetCreatedAt() uint64
func (*CheckpointMetadata) GetFileInfos ¶
func (x *CheckpointMetadata) GetFileInfos() []*FileInfo
func (*CheckpointMetadata) GetFiles ¶
func (x *CheckpointMetadata) GetFiles() []string
func (*CheckpointMetadata) GetTxid ¶
func (x *CheckpointMetadata) GetTxid() []byte
func (*CheckpointMetadata) ProtoMessage ¶
func (*CheckpointMetadata) ProtoMessage()
func (*CheckpointMetadata) ProtoReflect ¶
func (x *CheckpointMetadata) ProtoReflect() protoreflect.Message
func (*CheckpointMetadata) Reset ¶
func (x *CheckpointMetadata) Reset()
func (*CheckpointMetadata) String ¶
func (x *CheckpointMetadata) String() string
type Command ¶
type Command struct { // Types that are assignable to Req: // // *Command_NopReq // *Command_PutReq // *Command_DeleteReq // *Command_TxnReq // *Command_IncrReq Req isCommand_Req `protobuf_oneof:"req"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetDeleteReq ¶
func (x *Command) GetDeleteReq() *rpc.DeleteRangeRequest
func (*Command) GetIncrReq ¶
func (x *Command) GetIncrReq() *rpc.IncrementRequest
func (*Command) GetNopReq ¶
func (x *Command) GetNopReq() *NopRequest
func (*Command) GetPutReq ¶
func (x *Command) GetPutReq() *rpc.PutRequest
func (*Command) GetTxnReq ¶
func (x *Command) GetTxnReq() *rpc.TxnRequest
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type Command_DeleteReq ¶
type Command_DeleteReq struct {
DeleteReq *rpc.DeleteRangeRequest `protobuf:"bytes,3,opt,name=delete_req,json=deleteReq,proto3,oneof"`
}
type Command_IncrReq ¶
type Command_IncrReq struct {
IncrReq *rpc.IncrementRequest `protobuf:"bytes,5,opt,name=incr_req,json=incrReq,proto3,oneof"`
}
type Command_NopReq ¶
type Command_NopReq struct {
NopReq *NopRequest `protobuf:"bytes,1,opt,name=nop_req,json=nopReq,proto3,oneof"`
}
type Command_PutReq ¶
type Command_PutReq struct {
PutReq *rpc.PutRequest `protobuf:"bytes,2,opt,name=put_req,json=putReq,proto3,oneof"`
}
type Command_TxnReq ¶
type Command_TxnReq struct {
TxnReq *rpc.TxnRequest `protobuf:"bytes,4,opt,name=txn_req,json=txnReq,proto3,oneof"`
}
type FileInfo ¶
type FileInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetChecksum ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type KeyMeta ¶
type KeyMeta struct { // create_revision is the revision of the last creation on the key CreateRevision int64 `protobuf:"varint,1,opt,name=create_revision,json=createRevision,proto3" json:"create_revision,omitempty"` // mod_revision is the revision of the last modification on the key ModRevision int64 `protobuf:"varint,2,opt,name=mod_revision,json=modRevision,proto3" json:"mod_revision,omitempty"` // version is the version of the most recent value Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // value type ValueType ValueType `` /* 130-byte string literal not displayed */ // time in milliseconds when the record expires (0 for none) ExpireTime int64 `protobuf:"varint,5,opt,name=expireTime,proto3" json:"expireTime,omitempty"` // contains filtered or unexported fields }
KeyRecord holds mvcc metadata for a given key
func (*KeyMeta) Descriptor
deprecated
func (*KeyMeta) GetCreateRevision ¶
func (*KeyMeta) GetExpireTime ¶
func (*KeyMeta) GetModRevision ¶
func (*KeyMeta) GetValueType ¶
func (*KeyMeta) GetVersion ¶
func (*KeyMeta) ProtoMessage ¶
func (*KeyMeta) ProtoMessage()
func (*KeyMeta) ProtoReflect ¶
func (x *KeyMeta) ProtoReflect() protoreflect.Message
type NopRequest ¶
type NopRequest struct {
// contains filtered or unexported fields
}
func (*NopRequest) Descriptor
deprecated
func (*NopRequest) Descriptor() ([]byte, []int)
Deprecated: Use NopRequest.ProtoReflect.Descriptor instead.
func (*NopRequest) ProtoMessage ¶
func (*NopRequest) ProtoMessage()
func (*NopRequest) ProtoReflect ¶
func (x *NopRequest) ProtoReflect() protoreflect.Message
func (*NopRequest) Reset ¶
func (x *NopRequest) Reset()
func (*NopRequest) String ¶
func (x *NopRequest) String() string
type ValueType ¶
type ValueType int32
func (ValueType) Descriptor ¶
func (ValueType) Descriptor() protoreflect.EnumDescriptor
func (ValueType) EnumDescriptor
deprecated
func (ValueType) Number ¶
func (x ValueType) Number() protoreflect.EnumNumber
func (ValueType) Type ¶
func (ValueType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.