Documentation ¶
Index ¶
- Variables
- type APIVersion
- type Action
- type AlreadyExist
- func (*AlreadyExist) Descriptor() ([]byte, []int)
- func (m *AlreadyExist) GetKey() []byte
- func (m *AlreadyExist) Marshal() (dAtA []byte, err error)
- func (m *AlreadyExist) MarshalTo(dAtA []byte) (int, error)
- func (m *AlreadyExist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AlreadyExist) ProtoMessage()
- func (m *AlreadyExist) Reset()
- func (m *AlreadyExist) Size() (n int)
- func (m *AlreadyExist) String() string
- func (m *AlreadyExist) Unmarshal(dAtA []byte) error
- func (m *AlreadyExist) XXX_DiscardUnknown()
- func (m *AlreadyExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AlreadyExist) XXX_Merge(src proto.Message)
- func (m *AlreadyExist) XXX_Size() int
- func (m *AlreadyExist) XXX_Unmarshal(b []byte) error
- type Assertion
- type AssertionFailed
- func (*AssertionFailed) Descriptor() ([]byte, []int)
- func (m *AssertionFailed) GetAssertion() Assertion
- func (m *AssertionFailed) GetExistingCommitTs() uint64
- func (m *AssertionFailed) GetExistingStartTs() uint64
- func (m *AssertionFailed) GetKey() []byte
- func (m *AssertionFailed) GetStartTs() uint64
- func (m *AssertionFailed) Marshal() (dAtA []byte, err error)
- func (m *AssertionFailed) MarshalTo(dAtA []byte) (int, error)
- func (m *AssertionFailed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssertionFailed) ProtoMessage()
- func (m *AssertionFailed) Reset()
- func (m *AssertionFailed) Size() (n int)
- func (m *AssertionFailed) String() string
- func (m *AssertionFailed) Unmarshal(dAtA []byte) error
- func (m *AssertionFailed) XXX_DiscardUnknown()
- func (m *AssertionFailed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssertionFailed) XXX_Merge(src proto.Message)
- func (m *AssertionFailed) XXX_Size() int
- func (m *AssertionFailed) XXX_Unmarshal(b []byte) error
- type AssertionLevel
- type BatchGetRequest
- func (*BatchGetRequest) Descriptor() ([]byte, []int)
- func (m *BatchGetRequest) GetContext() *Context
- func (m *BatchGetRequest) GetKeys() [][]byte
- func (m *BatchGetRequest) GetVersion() uint64
- func (m *BatchGetRequest) Marshal() (dAtA []byte, err error)
- func (m *BatchGetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchGetRequest) ProtoMessage()
- func (m *BatchGetRequest) Reset()
- func (m *BatchGetRequest) Size() (n int)
- func (m *BatchGetRequest) String() string
- func (m *BatchGetRequest) Unmarshal(dAtA []byte) error
- func (m *BatchGetRequest) XXX_DiscardUnknown()
- func (m *BatchGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchGetRequest) XXX_Merge(src proto.Message)
- func (m *BatchGetRequest) XXX_Size() int
- func (m *BatchGetRequest) XXX_Unmarshal(b []byte) error
- type BatchGetResponse
- func (*BatchGetResponse) Descriptor() ([]byte, []int)
- func (m *BatchGetResponse) GetError() *KeyError
- func (m *BatchGetResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *BatchGetResponse) GetPairs() []*KvPair
- func (m *BatchGetResponse) GetRegionError() *errorpb.Error
- func (m *BatchGetResponse) Marshal() (dAtA []byte, err error)
- func (m *BatchGetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchGetResponse) ProtoMessage()
- func (m *BatchGetResponse) Reset()
- func (m *BatchGetResponse) Size() (n int)
- func (m *BatchGetResponse) String() string
- func (m *BatchGetResponse) Unmarshal(dAtA []byte) error
- func (m *BatchGetResponse) XXX_DiscardUnknown()
- func (m *BatchGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchGetResponse) XXX_Merge(src proto.Message)
- func (m *BatchGetResponse) XXX_Size() int
- func (m *BatchGetResponse) XXX_Unmarshal(b []byte) error
- type BatchRollbackRequest
- func (*BatchRollbackRequest) Descriptor() ([]byte, []int)
- func (m *BatchRollbackRequest) GetContext() *Context
- func (m *BatchRollbackRequest) GetKeys() [][]byte
- func (m *BatchRollbackRequest) GetStartVersion() uint64
- func (m *BatchRollbackRequest) Marshal() (dAtA []byte, err error)
- func (m *BatchRollbackRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchRollbackRequest) ProtoMessage()
- func (m *BatchRollbackRequest) Reset()
- func (m *BatchRollbackRequest) Size() (n int)
- func (m *BatchRollbackRequest) String() string
- func (m *BatchRollbackRequest) Unmarshal(dAtA []byte) error
- func (m *BatchRollbackRequest) XXX_DiscardUnknown()
- func (m *BatchRollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchRollbackRequest) XXX_Merge(src proto.Message)
- func (m *BatchRollbackRequest) XXX_Size() int
- func (m *BatchRollbackRequest) XXX_Unmarshal(b []byte) error
- type BatchRollbackResponse
- func (*BatchRollbackResponse) Descriptor() ([]byte, []int)
- func (m *BatchRollbackResponse) GetError() *KeyError
- func (m *BatchRollbackResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *BatchRollbackResponse) GetRegionError() *errorpb.Error
- func (m *BatchRollbackResponse) Marshal() (dAtA []byte, err error)
- func (m *BatchRollbackResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchRollbackResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchRollbackResponse) ProtoMessage()
- func (m *BatchRollbackResponse) Reset()
- func (m *BatchRollbackResponse) Size() (n int)
- func (m *BatchRollbackResponse) String() string
- func (m *BatchRollbackResponse) Unmarshal(dAtA []byte) error
- func (m *BatchRollbackResponse) XXX_DiscardUnknown()
- func (m *BatchRollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchRollbackResponse) XXX_Merge(src proto.Message)
- func (m *BatchRollbackResponse) XXX_Size() int
- func (m *BatchRollbackResponse) XXX_Unmarshal(b []byte) error
- type CheckLeaderRequest
- func (*CheckLeaderRequest) Descriptor() ([]byte, []int)
- func (m *CheckLeaderRequest) GetRegions() []*LeaderInfo
- func (m *CheckLeaderRequest) GetTs() uint64
- func (m *CheckLeaderRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckLeaderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckLeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckLeaderRequest) ProtoMessage()
- func (m *CheckLeaderRequest) Reset()
- func (m *CheckLeaderRequest) Size() (n int)
- func (m *CheckLeaderRequest) String() string
- func (m *CheckLeaderRequest) Unmarshal(dAtA []byte) error
- func (m *CheckLeaderRequest) XXX_DiscardUnknown()
- func (m *CheckLeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckLeaderRequest) XXX_Merge(src proto.Message)
- func (m *CheckLeaderRequest) XXX_Size() int
- func (m *CheckLeaderRequest) XXX_Unmarshal(b []byte) error
- type CheckLeaderResponse
- func (*CheckLeaderResponse) Descriptor() ([]byte, []int)
- func (m *CheckLeaderResponse) GetRegions() []uint64
- func (m *CheckLeaderResponse) GetTs() uint64
- func (m *CheckLeaderResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckLeaderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckLeaderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckLeaderResponse) ProtoMessage()
- func (m *CheckLeaderResponse) Reset()
- func (m *CheckLeaderResponse) Size() (n int)
- func (m *CheckLeaderResponse) String() string
- func (m *CheckLeaderResponse) Unmarshal(dAtA []byte) error
- func (m *CheckLeaderResponse) XXX_DiscardUnknown()
- func (m *CheckLeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckLeaderResponse) XXX_Merge(src proto.Message)
- func (m *CheckLeaderResponse) XXX_Size() int
- func (m *CheckLeaderResponse) XXX_Unmarshal(b []byte) error
- type CheckLockObserverRequest
- func (*CheckLockObserverRequest) Descriptor() ([]byte, []int)
- func (m *CheckLockObserverRequest) GetContext() *Context
- func (m *CheckLockObserverRequest) GetMaxTs() uint64
- func (m *CheckLockObserverRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckLockObserverRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckLockObserverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckLockObserverRequest) ProtoMessage()
- func (m *CheckLockObserverRequest) Reset()
- func (m *CheckLockObserverRequest) Size() (n int)
- func (m *CheckLockObserverRequest) String() string
- func (m *CheckLockObserverRequest) Unmarshal(dAtA []byte) error
- func (m *CheckLockObserverRequest) XXX_DiscardUnknown()
- func (m *CheckLockObserverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckLockObserverRequest) XXX_Merge(src proto.Message)
- func (m *CheckLockObserverRequest) XXX_Size() int
- func (m *CheckLockObserverRequest) XXX_Unmarshal(b []byte) error
- type CheckLockObserverResponse
- func (*CheckLockObserverResponse) Descriptor() ([]byte, []int)
- func (m *CheckLockObserverResponse) GetError() string
- func (m *CheckLockObserverResponse) GetIsClean() bool
- func (m *CheckLockObserverResponse) GetLocks() []*LockInfo
- func (m *CheckLockObserverResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckLockObserverResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckLockObserverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckLockObserverResponse) ProtoMessage()
- func (m *CheckLockObserverResponse) Reset()
- func (m *CheckLockObserverResponse) Size() (n int)
- func (m *CheckLockObserverResponse) String() string
- func (m *CheckLockObserverResponse) Unmarshal(dAtA []byte) error
- func (m *CheckLockObserverResponse) XXX_DiscardUnknown()
- func (m *CheckLockObserverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckLockObserverResponse) XXX_Merge(src proto.Message)
- func (m *CheckLockObserverResponse) XXX_Size() int
- func (m *CheckLockObserverResponse) XXX_Unmarshal(b []byte) error
- type CheckSecondaryLocksRequest
- func (*CheckSecondaryLocksRequest) Descriptor() ([]byte, []int)
- func (m *CheckSecondaryLocksRequest) GetContext() *Context
- func (m *CheckSecondaryLocksRequest) GetKeys() [][]byte
- func (m *CheckSecondaryLocksRequest) GetStartVersion() uint64
- func (m *CheckSecondaryLocksRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckSecondaryLocksRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckSecondaryLocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckSecondaryLocksRequest) ProtoMessage()
- func (m *CheckSecondaryLocksRequest) Reset()
- func (m *CheckSecondaryLocksRequest) Size() (n int)
- func (m *CheckSecondaryLocksRequest) String() string
- func (m *CheckSecondaryLocksRequest) Unmarshal(dAtA []byte) error
- func (m *CheckSecondaryLocksRequest) XXX_DiscardUnknown()
- func (m *CheckSecondaryLocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckSecondaryLocksRequest) XXX_Merge(src proto.Message)
- func (m *CheckSecondaryLocksRequest) XXX_Size() int
- func (m *CheckSecondaryLocksRequest) XXX_Unmarshal(b []byte) error
- type CheckSecondaryLocksResponse
- func (*CheckSecondaryLocksResponse) Descriptor() ([]byte, []int)
- func (m *CheckSecondaryLocksResponse) GetCommitTs() uint64
- func (m *CheckSecondaryLocksResponse) GetError() *KeyError
- func (m *CheckSecondaryLocksResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *CheckSecondaryLocksResponse) GetLocks() []*LockInfo
- func (m *CheckSecondaryLocksResponse) GetRegionError() *errorpb.Error
- func (m *CheckSecondaryLocksResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckSecondaryLocksResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckSecondaryLocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckSecondaryLocksResponse) ProtoMessage()
- func (m *CheckSecondaryLocksResponse) Reset()
- func (m *CheckSecondaryLocksResponse) Size() (n int)
- func (m *CheckSecondaryLocksResponse) String() string
- func (m *CheckSecondaryLocksResponse) Unmarshal(dAtA []byte) error
- func (m *CheckSecondaryLocksResponse) XXX_DiscardUnknown()
- func (m *CheckSecondaryLocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckSecondaryLocksResponse) XXX_Merge(src proto.Message)
- func (m *CheckSecondaryLocksResponse) XXX_Size() int
- func (m *CheckSecondaryLocksResponse) XXX_Unmarshal(b []byte) error
- type CheckTxnStatusRequest
- func (*CheckTxnStatusRequest) Descriptor() ([]byte, []int)
- func (m *CheckTxnStatusRequest) GetCallerStartTs() uint64
- func (m *CheckTxnStatusRequest) GetContext() *Context
- func (m *CheckTxnStatusRequest) GetCurrentTs() uint64
- func (m *CheckTxnStatusRequest) GetForceSyncCommit() bool
- func (m *CheckTxnStatusRequest) GetLockTs() uint64
- func (m *CheckTxnStatusRequest) GetPrimaryKey() []byte
- func (m *CheckTxnStatusRequest) GetResolvingPessimisticLock() bool
- func (m *CheckTxnStatusRequest) GetRollbackIfNotExist() bool
- func (m *CheckTxnStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *CheckTxnStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckTxnStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckTxnStatusRequest) ProtoMessage()
- func (m *CheckTxnStatusRequest) Reset()
- func (m *CheckTxnStatusRequest) Size() (n int)
- func (m *CheckTxnStatusRequest) String() string
- func (m *CheckTxnStatusRequest) Unmarshal(dAtA []byte) error
- func (m *CheckTxnStatusRequest) XXX_DiscardUnknown()
- func (m *CheckTxnStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckTxnStatusRequest) XXX_Merge(src proto.Message)
- func (m *CheckTxnStatusRequest) XXX_Size() int
- func (m *CheckTxnStatusRequest) XXX_Unmarshal(b []byte) error
- type CheckTxnStatusResponse
- func (*CheckTxnStatusResponse) Descriptor() ([]byte, []int)
- func (m *CheckTxnStatusResponse) GetAction() Action
- func (m *CheckTxnStatusResponse) GetCommitVersion() uint64
- func (m *CheckTxnStatusResponse) GetError() *KeyError
- func (m *CheckTxnStatusResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *CheckTxnStatusResponse) GetLockInfo() *LockInfo
- func (m *CheckTxnStatusResponse) GetLockTtl() uint64
- func (m *CheckTxnStatusResponse) GetRegionError() *errorpb.Error
- func (m *CheckTxnStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *CheckTxnStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckTxnStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckTxnStatusResponse) ProtoMessage()
- func (m *CheckTxnStatusResponse) Reset()
- func (m *CheckTxnStatusResponse) Size() (n int)
- func (m *CheckTxnStatusResponse) String() string
- func (m *CheckTxnStatusResponse) Unmarshal(dAtA []byte) error
- func (m *CheckTxnStatusResponse) XXX_DiscardUnknown()
- func (m *CheckTxnStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckTxnStatusResponse) XXX_Merge(src proto.Message)
- func (m *CheckTxnStatusResponse) XXX_Size() int
- func (m *CheckTxnStatusResponse) XXX_Unmarshal(b []byte) error
- type ChecksumAlgorithm
- type CleanupRequest
- func (*CleanupRequest) Descriptor() ([]byte, []int)
- func (m *CleanupRequest) GetContext() *Context
- func (m *CleanupRequest) GetCurrentTs() uint64
- func (m *CleanupRequest) GetKey() []byte
- func (m *CleanupRequest) GetStartVersion() uint64
- func (m *CleanupRequest) Marshal() (dAtA []byte, err error)
- func (m *CleanupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CleanupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CleanupRequest) ProtoMessage()
- func (m *CleanupRequest) Reset()
- func (m *CleanupRequest) Size() (n int)
- func (m *CleanupRequest) String() string
- func (m *CleanupRequest) Unmarshal(dAtA []byte) error
- func (m *CleanupRequest) XXX_DiscardUnknown()
- func (m *CleanupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CleanupRequest) XXX_Merge(src proto.Message)
- func (m *CleanupRequest) XXX_Size() int
- func (m *CleanupRequest) XXX_Unmarshal(b []byte) error
- type CleanupResponse
- func (*CleanupResponse) Descriptor() ([]byte, []int)
- func (m *CleanupResponse) GetCommitVersion() uint64
- func (m *CleanupResponse) GetError() *KeyError
- func (m *CleanupResponse) GetRegionError() *errorpb.Error
- func (m *CleanupResponse) Marshal() (dAtA []byte, err error)
- func (m *CleanupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CleanupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CleanupResponse) ProtoMessage()
- func (m *CleanupResponse) Reset()
- func (m *CleanupResponse) Size() (n int)
- func (m *CleanupResponse) String() string
- func (m *CleanupResponse) Unmarshal(dAtA []byte) error
- func (m *CleanupResponse) XXX_DiscardUnknown()
- func (m *CleanupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CleanupResponse) XXX_Merge(src proto.Message)
- func (m *CleanupResponse) XXX_Size() int
- func (m *CleanupResponse) XXX_Unmarshal(b []byte) error
- type CommandPri
- type CommitRequest
- func (*CommitRequest) Descriptor() ([]byte, []int)
- func (m *CommitRequest) GetCommitVersion() uint64
- func (m *CommitRequest) GetContext() *Context
- func (m *CommitRequest) GetKeys() [][]byte
- func (m *CommitRequest) GetStartVersion() uint64
- func (m *CommitRequest) Marshal() (dAtA []byte, err error)
- func (m *CommitRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitRequest) ProtoMessage()
- func (m *CommitRequest) Reset()
- func (m *CommitRequest) Size() (n int)
- func (m *CommitRequest) String() string
- func (m *CommitRequest) Unmarshal(dAtA []byte) error
- func (m *CommitRequest) XXX_DiscardUnknown()
- func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitRequest) XXX_Merge(src proto.Message)
- func (m *CommitRequest) XXX_Size() int
- func (m *CommitRequest) XXX_Unmarshal(b []byte) error
- type CommitResponse
- func (*CommitResponse) Descriptor() ([]byte, []int)
- func (m *CommitResponse) GetCommitVersion() uint64
- func (m *CommitResponse) GetError() *KeyError
- func (m *CommitResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *CommitResponse) GetRegionError() *errorpb.Error
- func (m *CommitResponse) Marshal() (dAtA []byte, err error)
- func (m *CommitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitResponse) ProtoMessage()
- func (m *CommitResponse) Reset()
- func (m *CommitResponse) Size() (n int)
- func (m *CommitResponse) String() string
- func (m *CommitResponse) Unmarshal(dAtA []byte) error
- func (m *CommitResponse) XXX_DiscardUnknown()
- func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitResponse) XXX_Merge(src proto.Message)
- func (m *CommitResponse) XXX_Size() int
- func (m *CommitResponse) XXX_Unmarshal(b []byte) error
- type CommitTsExpired
- func (*CommitTsExpired) Descriptor() ([]byte, []int)
- func (m *CommitTsExpired) GetAttemptedCommitTs() uint64
- func (m *CommitTsExpired) GetKey() []byte
- func (m *CommitTsExpired) GetMinCommitTs() uint64
- func (m *CommitTsExpired) GetStartTs() uint64
- func (m *CommitTsExpired) Marshal() (dAtA []byte, err error)
- func (m *CommitTsExpired) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitTsExpired) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitTsExpired) ProtoMessage()
- func (m *CommitTsExpired) Reset()
- func (m *CommitTsExpired) Size() (n int)
- func (m *CommitTsExpired) String() string
- func (m *CommitTsExpired) Unmarshal(dAtA []byte) error
- func (m *CommitTsExpired) XXX_DiscardUnknown()
- func (m *CommitTsExpired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitTsExpired) XXX_Merge(src proto.Message)
- func (m *CommitTsExpired) XXX_Size() int
- func (m *CommitTsExpired) XXX_Unmarshal(b []byte) error
- type CommitTsTooLarge
- func (*CommitTsTooLarge) Descriptor() ([]byte, []int)
- func (m *CommitTsTooLarge) GetCommitTs() uint64
- func (m *CommitTsTooLarge) Marshal() (dAtA []byte, err error)
- func (m *CommitTsTooLarge) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitTsTooLarge) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitTsTooLarge) ProtoMessage()
- func (m *CommitTsTooLarge) Reset()
- func (m *CommitTsTooLarge) Size() (n int)
- func (m *CommitTsTooLarge) String() string
- func (m *CommitTsTooLarge) Unmarshal(dAtA []byte) error
- func (m *CommitTsTooLarge) XXX_DiscardUnknown()
- func (m *CommitTsTooLarge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitTsTooLarge) XXX_Merge(src proto.Message)
- func (m *CommitTsTooLarge) XXX_Size() int
- func (m *CommitTsTooLarge) XXX_Unmarshal(b []byte) error
- type CompactError
- func (*CompactError) Descriptor() ([]byte, []int)
- func (m *CompactError) GetErrCompactInProgress() *CompactErrorCompactInProgress
- func (m *CompactError) GetErrInvalidStartKey() *CompactErrorInvalidStartKey
- func (m *CompactError) GetErrPhysicalTableNotExist() *CompactErrorPhysicalTableNotExist
- func (m *CompactError) GetErrTooManyPendingTasks() *CompactErrorTooManyPendingTasks
- func (m *CompactError) GetError() isCompactError_Error
- func (m *CompactError) Marshal() (dAtA []byte, err error)
- func (m *CompactError) MarshalTo(dAtA []byte) (int, error)
- func (m *CompactError) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompactError) ProtoMessage()
- func (m *CompactError) Reset()
- func (m *CompactError) Size() (n int)
- func (m *CompactError) String() string
- func (m *CompactError) Unmarshal(dAtA []byte) error
- func (m *CompactError) XXX_DiscardUnknown()
- func (m *CompactError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompactError) XXX_Merge(src proto.Message)
- func (*CompactError) XXX_OneofWrappers() []interface{}
- func (m *CompactError) XXX_Size() int
- func (m *CompactError) XXX_Unmarshal(b []byte) error
- type CompactErrorCompactInProgress
- func (*CompactErrorCompactInProgress) Descriptor() ([]byte, []int)
- func (m *CompactErrorCompactInProgress) Marshal() (dAtA []byte, err error)
- func (m *CompactErrorCompactInProgress) MarshalTo(dAtA []byte) (int, error)
- func (m *CompactErrorCompactInProgress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompactErrorCompactInProgress) ProtoMessage()
- func (m *CompactErrorCompactInProgress) Reset()
- func (m *CompactErrorCompactInProgress) Size() (n int)
- func (m *CompactErrorCompactInProgress) String() string
- func (m *CompactErrorCompactInProgress) Unmarshal(dAtA []byte) error
- func (m *CompactErrorCompactInProgress) XXX_DiscardUnknown()
- func (m *CompactErrorCompactInProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompactErrorCompactInProgress) XXX_Merge(src proto.Message)
- func (m *CompactErrorCompactInProgress) XXX_Size() int
- func (m *CompactErrorCompactInProgress) XXX_Unmarshal(b []byte) error
- type CompactErrorInvalidStartKey
- func (*CompactErrorInvalidStartKey) Descriptor() ([]byte, []int)
- func (m *CompactErrorInvalidStartKey) Marshal() (dAtA []byte, err error)
- func (m *CompactErrorInvalidStartKey) MarshalTo(dAtA []byte) (int, error)
- func (m *CompactErrorInvalidStartKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompactErrorInvalidStartKey) ProtoMessage()
- func (m *CompactErrorInvalidStartKey) Reset()
- func (m *CompactErrorInvalidStartKey) Size() (n int)
- func (m *CompactErrorInvalidStartKey) String() string
- func (m *CompactErrorInvalidStartKey) Unmarshal(dAtA []byte) error
- func (m *CompactErrorInvalidStartKey) XXX_DiscardUnknown()
- func (m *CompactErrorInvalidStartKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompactErrorInvalidStartKey) XXX_Merge(src proto.Message)
- func (m *CompactErrorInvalidStartKey) XXX_Size() int
- func (m *CompactErrorInvalidStartKey) XXX_Unmarshal(b []byte) error
- type CompactErrorPhysicalTableNotExist
- func (*CompactErrorPhysicalTableNotExist) Descriptor() ([]byte, []int)
- func (m *CompactErrorPhysicalTableNotExist) Marshal() (dAtA []byte, err error)
- func (m *CompactErrorPhysicalTableNotExist) MarshalTo(dAtA []byte) (int, error)
- func (m *CompactErrorPhysicalTableNotExist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompactErrorPhysicalTableNotExist) ProtoMessage()
- func (m *CompactErrorPhysicalTableNotExist) Reset()
- func (m *CompactErrorPhysicalTableNotExist) Size() (n int)
- func (m *CompactErrorPhysicalTableNotExist) String() string
- func (m *CompactErrorPhysicalTableNotExist) Unmarshal(dAtA []byte) error
- func (m *CompactErrorPhysicalTableNotExist) XXX_DiscardUnknown()
- func (m *CompactErrorPhysicalTableNotExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompactErrorPhysicalTableNotExist) XXX_Merge(src proto.Message)
- func (m *CompactErrorPhysicalTableNotExist) XXX_Size() int
- func (m *CompactErrorPhysicalTableNotExist) XXX_Unmarshal(b []byte) error
- type CompactErrorTooManyPendingTasks
- func (*CompactErrorTooManyPendingTasks) Descriptor() ([]byte, []int)
- func (m *CompactErrorTooManyPendingTasks) Marshal() (dAtA []byte, err error)
- func (m *CompactErrorTooManyPendingTasks) MarshalTo(dAtA []byte) (int, error)
- func (m *CompactErrorTooManyPendingTasks) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompactErrorTooManyPendingTasks) ProtoMessage()
- func (m *CompactErrorTooManyPendingTasks) Reset()
- func (m *CompactErrorTooManyPendingTasks) Size() (n int)
- func (m *CompactErrorTooManyPendingTasks) String() string
- func (m *CompactErrorTooManyPendingTasks) Unmarshal(dAtA []byte) error
- func (m *CompactErrorTooManyPendingTasks) XXX_DiscardUnknown()
- func (m *CompactErrorTooManyPendingTasks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompactErrorTooManyPendingTasks) XXX_Merge(src proto.Message)
- func (m *CompactErrorTooManyPendingTasks) XXX_Size() int
- func (m *CompactErrorTooManyPendingTasks) XXX_Unmarshal(b []byte) error
- type CompactError_ErrCompactInProgress
- type CompactError_ErrInvalidStartKey
- type CompactError_ErrPhysicalTableNotExist
- type CompactError_ErrTooManyPendingTasks
- type CompactRequest
- func (*CompactRequest) Descriptor() ([]byte, []int)
- func (m *CompactRequest) GetLogicalTableId() int64
- func (m *CompactRequest) GetPhysicalTableId() int64
- func (m *CompactRequest) GetStartKey() []byte
- func (m *CompactRequest) Marshal() (dAtA []byte, err error)
- func (m *CompactRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CompactRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompactRequest) ProtoMessage()
- func (m *CompactRequest) Reset()
- func (m *CompactRequest) Size() (n int)
- func (m *CompactRequest) String() string
- func (m *CompactRequest) Unmarshal(dAtA []byte) error
- func (m *CompactRequest) XXX_DiscardUnknown()
- func (m *CompactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompactRequest) XXX_Merge(src proto.Message)
- func (m *CompactRequest) XXX_Size() int
- func (m *CompactRequest) XXX_Unmarshal(b []byte) error
- type CompactResponse
- func (*CompactResponse) Descriptor() ([]byte, []int)
- func (m *CompactResponse) GetCompactedEndKey() []byte
- func (m *CompactResponse) GetCompactedStartKey() []byte
- func (m *CompactResponse) GetError() *CompactError
- func (m *CompactResponse) GetHasRemaining() bool
- func (m *CompactResponse) Marshal() (dAtA []byte, err error)
- func (m *CompactResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CompactResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompactResponse) ProtoMessage()
- func (m *CompactResponse) Reset()
- func (m *CompactResponse) Size() (n int)
- func (m *CompactResponse) String() string
- func (m *CompactResponse) Unmarshal(dAtA []byte) error
- func (m *CompactResponse) XXX_DiscardUnknown()
- func (m *CompactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompactResponse) XXX_Merge(src proto.Message)
- func (m *CompactResponse) XXX_Size() int
- func (m *CompactResponse) XXX_Unmarshal(b []byte) error
- type Context
- func (*Context) Descriptor() ([]byte, []int)
- func (m *Context) GetApiVersion() APIVersion
- func (m *Context) GetAppliedIndex() uint64
- func (m *Context) GetCommittedLocks() []uint64
- func (m *Context) GetDiskFullOpt() DiskFullOpt
- func (m *Context) GetIsRetryRequest() bool
- func (m *Context) GetIsolationLevel() IsolationLevel
- func (m *Context) GetMaxExecutionDurationMs() uint64
- func (m *Context) GetNotFillCache() bool
- func (m *Context) GetPeer() *metapb.Peer
- func (m *Context) GetPriority() CommandPri
- func (m *Context) GetRecordScanStat() bool
- func (m *Context) GetRecordTimeStat() bool
- func (m *Context) GetRegionEpoch() *metapb.RegionEpoch
- func (m *Context) GetRegionId() uint64
- func (m *Context) GetReplicaRead() bool
- func (m *Context) GetRequestSource() string
- func (m *Context) GetResolvedLocks() []uint64
- func (m *Context) GetResourceGroupTag() []byte
- func (m *Context) GetStaleRead() bool
- func (m *Context) GetSyncLog() bool
- func (m *Context) GetTaskId() uint64
- func (m *Context) GetTerm() uint64
- func (m *Context) GetTraceContext() *tracepb.TraceContext
- func (m *Context) Marshal() (dAtA []byte, err error)
- func (m *Context) MarshalTo(dAtA []byte) (int, error)
- func (m *Context) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Context) ProtoMessage()
- func (m *Context) Reset()
- func (m *Context) Size() (n int)
- func (m *Context) String() string
- func (m *Context) Unmarshal(dAtA []byte) error
- func (m *Context) XXX_DiscardUnknown()
- func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Context) XXX_Merge(src proto.Message)
- func (m *Context) XXX_Size() int
- func (m *Context) XXX_Unmarshal(b []byte) error
- type Deadlock
- func (*Deadlock) Descriptor() ([]byte, []int)
- func (m *Deadlock) GetDeadlockKeyHash() uint64
- func (m *Deadlock) GetLockKey() []byte
- func (m *Deadlock) GetLockTs() uint64
- func (m *Deadlock) GetWaitChain() []*deadlock.WaitForEntry
- func (m *Deadlock) Marshal() (dAtA []byte, err error)
- func (m *Deadlock) MarshalTo(dAtA []byte) (int, error)
- func (m *Deadlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Deadlock) ProtoMessage()
- func (m *Deadlock) Reset()
- func (m *Deadlock) Size() (n int)
- func (m *Deadlock) String() string
- func (m *Deadlock) Unmarshal(dAtA []byte) error
- func (m *Deadlock) XXX_DiscardUnknown()
- func (m *Deadlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deadlock) XXX_Merge(src proto.Message)
- func (m *Deadlock) XXX_Size() int
- func (m *Deadlock) XXX_Unmarshal(b []byte) error
- type DeleteRangeRequest
- func (*DeleteRangeRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRangeRequest) GetContext() *Context
- func (m *DeleteRangeRequest) GetEndKey() []byte
- func (m *DeleteRangeRequest) GetNotifyOnly() bool
- func (m *DeleteRangeRequest) GetStartKey() []byte
- func (m *DeleteRangeRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteRangeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteRangeRequest) ProtoMessage()
- func (m *DeleteRangeRequest) Reset()
- func (m *DeleteRangeRequest) Size() (n int)
- func (m *DeleteRangeRequest) String() string
- func (m *DeleteRangeRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteRangeRequest) XXX_DiscardUnknown()
- func (m *DeleteRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRangeRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRangeRequest) XXX_Size() int
- func (m *DeleteRangeRequest) XXX_Unmarshal(b []byte) error
- type DeleteRangeResponse
- func (*DeleteRangeResponse) Descriptor() ([]byte, []int)
- func (m *DeleteRangeResponse) GetError() string
- func (m *DeleteRangeResponse) GetRegionError() *errorpb.Error
- func (m *DeleteRangeResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteRangeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteRangeResponse) ProtoMessage()
- func (m *DeleteRangeResponse) Reset()
- func (m *DeleteRangeResponse) Size() (n int)
- func (m *DeleteRangeResponse) String() string
- func (m *DeleteRangeResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteRangeResponse) XXX_DiscardUnknown()
- func (m *DeleteRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRangeResponse) XXX_Merge(src proto.Message)
- func (m *DeleteRangeResponse) XXX_Size() int
- func (m *DeleteRangeResponse) XXX_Unmarshal(b []byte) error
- type DiskFullOpt
- type ExecDetails
- func (*ExecDetails) Descriptor() ([]byte, []int)
- func (m *ExecDetails) GetScanDetail() *ScanDetail
- func (m *ExecDetails) GetTimeDetail() *TimeDetail
- func (m *ExecDetails) Marshal() (dAtA []byte, err error)
- func (m *ExecDetails) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecDetails) ProtoMessage()
- func (m *ExecDetails) Reset()
- func (m *ExecDetails) Size() (n int)
- func (m *ExecDetails) String() string
- func (m *ExecDetails) Unmarshal(dAtA []byte) error
- func (m *ExecDetails) XXX_DiscardUnknown()
- func (m *ExecDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecDetails) XXX_Merge(src proto.Message)
- func (m *ExecDetails) XXX_Size() int
- func (m *ExecDetails) XXX_Unmarshal(b []byte) error
- type ExecDetailsV2
- func (*ExecDetailsV2) Descriptor() ([]byte, []int)
- func (m *ExecDetailsV2) GetScanDetailV2() *ScanDetailV2
- func (m *ExecDetailsV2) GetTimeDetail() *TimeDetail
- func (m *ExecDetailsV2) GetWriteDetail() *WriteDetail
- func (m *ExecDetailsV2) Marshal() (dAtA []byte, err error)
- func (m *ExecDetailsV2) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecDetailsV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecDetailsV2) ProtoMessage()
- func (m *ExecDetailsV2) Reset()
- func (m *ExecDetailsV2) Size() (n int)
- func (m *ExecDetailsV2) String() string
- func (m *ExecDetailsV2) Unmarshal(dAtA []byte) error
- func (m *ExecDetailsV2) XXX_DiscardUnknown()
- func (m *ExecDetailsV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecDetailsV2) XXX_Merge(src proto.Message)
- func (m *ExecDetailsV2) XXX_Size() int
- func (m *ExecDetailsV2) XXX_Unmarshal(b []byte) error
- type ExtraOp
- type GCRequest
- func (*GCRequest) Descriptor() ([]byte, []int)
- func (m *GCRequest) GetContext() *Context
- func (m *GCRequest) GetSafePoint() uint64
- func (m *GCRequest) Marshal() (dAtA []byte, err error)
- func (m *GCRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GCRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GCRequest) ProtoMessage()
- func (m *GCRequest) Reset()
- func (m *GCRequest) Size() (n int)
- func (m *GCRequest) String() string
- func (m *GCRequest) Unmarshal(dAtA []byte) error
- func (m *GCRequest) XXX_DiscardUnknown()
- func (m *GCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GCRequest) XXX_Merge(src proto.Message)
- func (m *GCRequest) XXX_Size() int
- func (m *GCRequest) XXX_Unmarshal(b []byte) error
- type GCResponse
- func (*GCResponse) Descriptor() ([]byte, []int)
- func (m *GCResponse) GetError() *KeyError
- func (m *GCResponse) GetRegionError() *errorpb.Error
- func (m *GCResponse) Marshal() (dAtA []byte, err error)
- func (m *GCResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GCResponse) ProtoMessage()
- func (m *GCResponse) Reset()
- func (m *GCResponse) Size() (n int)
- func (m *GCResponse) String() string
- func (m *GCResponse) Unmarshal(dAtA []byte) error
- func (m *GCResponse) XXX_DiscardUnknown()
- func (m *GCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GCResponse) XXX_Merge(src proto.Message)
- func (m *GCResponse) XXX_Size() int
- func (m *GCResponse) XXX_Unmarshal(b []byte) error
- type GetLockWaitInfoRequest
- func (*GetLockWaitInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetLockWaitInfoRequest) GetContext() *Context
- func (m *GetLockWaitInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *GetLockWaitInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetLockWaitInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetLockWaitInfoRequest) ProtoMessage()
- func (m *GetLockWaitInfoRequest) Reset()
- func (m *GetLockWaitInfoRequest) Size() (n int)
- func (m *GetLockWaitInfoRequest) String() string
- func (m *GetLockWaitInfoRequest) Unmarshal(dAtA []byte) error
- func (m *GetLockWaitInfoRequest) XXX_DiscardUnknown()
- func (m *GetLockWaitInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLockWaitInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetLockWaitInfoRequest) XXX_Size() int
- func (m *GetLockWaitInfoRequest) XXX_Unmarshal(b []byte) error
- type GetLockWaitInfoResponse
- func (*GetLockWaitInfoResponse) Descriptor() ([]byte, []int)
- func (m *GetLockWaitInfoResponse) GetEntries() []*deadlock.WaitForEntry
- func (m *GetLockWaitInfoResponse) GetError() string
- func (m *GetLockWaitInfoResponse) GetRegionError() *errorpb.Error
- func (m *GetLockWaitInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *GetLockWaitInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetLockWaitInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetLockWaitInfoResponse) ProtoMessage()
- func (m *GetLockWaitInfoResponse) Reset()
- func (m *GetLockWaitInfoResponse) Size() (n int)
- func (m *GetLockWaitInfoResponse) String() string
- func (m *GetLockWaitInfoResponse) Unmarshal(dAtA []byte) error
- func (m *GetLockWaitInfoResponse) XXX_DiscardUnknown()
- func (m *GetLockWaitInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLockWaitInfoResponse) XXX_Merge(src proto.Message)
- func (m *GetLockWaitInfoResponse) XXX_Size() int
- func (m *GetLockWaitInfoResponse) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetContext() *Context
- func (m *GetRequest) GetKey() []byte
- func (m *GetRequest) GetVersion() uint64
- func (m *GetRequest) Marshal() (dAtA []byte, err error)
- func (m *GetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) Size() (n int)
- func (m *GetRequest) String() string
- func (m *GetRequest) Unmarshal(dAtA []byte) error
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetError() *KeyError
- func (m *GetResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *GetResponse) GetNotFound() bool
- func (m *GetResponse) GetRegionError() *errorpb.Error
- func (m *GetResponse) GetValue() []byte
- func (m *GetResponse) Marshal() (dAtA []byte, err error)
- func (m *GetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) Size() (n int)
- func (m *GetResponse) String() string
- func (m *GetResponse) Unmarshal(dAtA []byte) error
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type ImportRequest
- func (*ImportRequest) Descriptor() ([]byte, []int)
- func (m *ImportRequest) GetCommitVersion() uint64
- func (m *ImportRequest) GetMutations() []*Mutation
- func (m *ImportRequest) Marshal() (dAtA []byte, err error)
- func (m *ImportRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ImportRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ImportRequest) ProtoMessage()
- func (m *ImportRequest) Reset()
- func (m *ImportRequest) Size() (n int)
- func (m *ImportRequest) String() string
- func (m *ImportRequest) Unmarshal(dAtA []byte) error
- func (m *ImportRequest) XXX_DiscardUnknown()
- func (m *ImportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportRequest) XXX_Merge(src proto.Message)
- func (m *ImportRequest) XXX_Size() int
- func (m *ImportRequest) XXX_Unmarshal(b []byte) error
- type ImportResponse
- func (*ImportResponse) Descriptor() ([]byte, []int)
- func (m *ImportResponse) GetError() string
- func (m *ImportResponse) GetRegionError() *errorpb.Error
- func (m *ImportResponse) Marshal() (dAtA []byte, err error)
- func (m *ImportResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ImportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ImportResponse) ProtoMessage()
- func (m *ImportResponse) Reset()
- func (m *ImportResponse) Size() (n int)
- func (m *ImportResponse) String() string
- func (m *ImportResponse) Unmarshal(dAtA []byte) error
- func (m *ImportResponse) XXX_DiscardUnknown()
- func (m *ImportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportResponse) XXX_Merge(src proto.Message)
- func (m *ImportResponse) XXX_Size() int
- func (m *ImportResponse) XXX_Unmarshal(b []byte) error
- type IsolationLevel
- type KeyError
- func (*KeyError) Descriptor() ([]byte, []int)
- func (m *KeyError) GetAbort() string
- func (m *KeyError) GetAlreadyExist() *AlreadyExist
- func (m *KeyError) GetAssertionFailed() *AssertionFailed
- func (m *KeyError) GetCommitTsExpired() *CommitTsExpired
- func (m *KeyError) GetCommitTsTooLarge() *CommitTsTooLarge
- func (m *KeyError) GetConflict() *WriteConflict
- func (m *KeyError) GetDeadlock() *Deadlock
- func (m *KeyError) GetLocked() *LockInfo
- func (m *KeyError) GetRetryable() string
- func (m *KeyError) GetTxnNotFound() *TxnNotFound
- func (m *KeyError) Marshal() (dAtA []byte, err error)
- func (m *KeyError) MarshalTo(dAtA []byte) (int, error)
- func (m *KeyError) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KeyError) ProtoMessage()
- func (m *KeyError) Reset()
- func (m *KeyError) Size() (n int)
- func (m *KeyError) String() string
- func (m *KeyError) Unmarshal(dAtA []byte) error
- func (m *KeyError) XXX_DiscardUnknown()
- func (m *KeyError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyError) XXX_Merge(src proto.Message)
- func (m *KeyError) XXX_Size() int
- func (m *KeyError) XXX_Unmarshal(b []byte) error
- type KeyRange
- func (*KeyRange) Descriptor() ([]byte, []int)
- func (m *KeyRange) GetEndKey() []byte
- func (m *KeyRange) GetStartKey() []byte
- func (m *KeyRange) Marshal() (dAtA []byte, err error)
- func (m *KeyRange) MarshalTo(dAtA []byte) (int, error)
- func (m *KeyRange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KeyRange) ProtoMessage()
- func (m *KeyRange) Reset()
- func (m *KeyRange) Size() (n int)
- func (m *KeyRange) String() string
- func (m *KeyRange) Unmarshal(dAtA []byte) error
- func (m *KeyRange) XXX_DiscardUnknown()
- func (m *KeyRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyRange) XXX_Merge(src proto.Message)
- func (m *KeyRange) XXX_Size() int
- func (m *KeyRange) XXX_Unmarshal(b []byte) error
- type KvPair
- func (*KvPair) Descriptor() ([]byte, []int)
- func (m *KvPair) GetError() *KeyError
- func (m *KvPair) GetKey() []byte
- func (m *KvPair) GetValue() []byte
- func (m *KvPair) Marshal() (dAtA []byte, err error)
- func (m *KvPair) MarshalTo(dAtA []byte) (int, error)
- func (m *KvPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KvPair) ProtoMessage()
- func (m *KvPair) Reset()
- func (m *KvPair) Size() (n int)
- func (m *KvPair) String() string
- func (m *KvPair) Unmarshal(dAtA []byte) error
- func (m *KvPair) XXX_DiscardUnknown()
- func (m *KvPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KvPair) XXX_Merge(src proto.Message)
- func (m *KvPair) XXX_Size() int
- func (m *KvPair) XXX_Unmarshal(b []byte) error
- type LeaderInfo
- func (*LeaderInfo) Descriptor() ([]byte, []int)
- func (m *LeaderInfo) GetPeerId() uint64
- func (m *LeaderInfo) GetReadState() *ReadState
- func (m *LeaderInfo) GetRegionEpoch() *metapb.RegionEpoch
- func (m *LeaderInfo) GetRegionId() uint64
- func (m *LeaderInfo) GetTerm() uint64
- func (m *LeaderInfo) Marshal() (dAtA []byte, err error)
- func (m *LeaderInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *LeaderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LeaderInfo) ProtoMessage()
- func (m *LeaderInfo) Reset()
- func (m *LeaderInfo) Size() (n int)
- func (m *LeaderInfo) String() string
- func (m *LeaderInfo) Unmarshal(dAtA []byte) error
- func (m *LeaderInfo) XXX_DiscardUnknown()
- func (m *LeaderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LeaderInfo) XXX_Merge(src proto.Message)
- func (m *LeaderInfo) XXX_Size() int
- func (m *LeaderInfo) XXX_Unmarshal(b []byte) error
- type LockInfo
- func (*LockInfo) Descriptor() ([]byte, []int)
- func (m *LockInfo) GetKey() []byte
- func (m *LockInfo) GetLockForUpdateTs() uint64
- func (m *LockInfo) GetLockTtl() uint64
- func (m *LockInfo) GetLockType() Op
- func (m *LockInfo) GetLockVersion() uint64
- func (m *LockInfo) GetMinCommitTs() uint64
- func (m *LockInfo) GetPrimaryLock() []byte
- func (m *LockInfo) GetSecondaries() [][]byte
- func (m *LockInfo) GetTxnSize() uint64
- func (m *LockInfo) GetUseAsyncCommit() bool
- func (m *LockInfo) Marshal() (dAtA []byte, err error)
- func (m *LockInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *LockInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LockInfo) ProtoMessage()
- func (m *LockInfo) Reset()
- func (m *LockInfo) Size() (n int)
- func (m *LockInfo) String() string
- func (m *LockInfo) Unmarshal(dAtA []byte) error
- func (m *LockInfo) XXX_DiscardUnknown()
- func (m *LockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockInfo) XXX_Merge(src proto.Message)
- func (m *LockInfo) XXX_Size() int
- func (m *LockInfo) XXX_Unmarshal(b []byte) error
- type Mutation
- func (*Mutation) Descriptor() ([]byte, []int)
- func (m *Mutation) GetAssertion() Assertion
- func (m *Mutation) GetKey() []byte
- func (m *Mutation) GetOp() Op
- func (m *Mutation) GetValue() []byte
- func (m *Mutation) Marshal() (dAtA []byte, err error)
- func (m *Mutation) MarshalTo(dAtA []byte) (int, error)
- func (m *Mutation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Mutation) ProtoMessage()
- func (m *Mutation) Reset()
- func (m *Mutation) Size() (n int)
- func (m *Mutation) String() string
- func (m *Mutation) Unmarshal(dAtA []byte) error
- func (m *Mutation) XXX_DiscardUnknown()
- func (m *Mutation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mutation) XXX_Merge(src proto.Message)
- func (m *Mutation) XXX_Size() int
- func (m *Mutation) XXX_Unmarshal(b []byte) error
- type MvccGetByKeyRequest
- func (*MvccGetByKeyRequest) Descriptor() ([]byte, []int)
- func (m *MvccGetByKeyRequest) GetContext() *Context
- func (m *MvccGetByKeyRequest) GetKey() []byte
- func (m *MvccGetByKeyRequest) Marshal() (dAtA []byte, err error)
- func (m *MvccGetByKeyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MvccGetByKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MvccGetByKeyRequest) ProtoMessage()
- func (m *MvccGetByKeyRequest) Reset()
- func (m *MvccGetByKeyRequest) Size() (n int)
- func (m *MvccGetByKeyRequest) String() string
- func (m *MvccGetByKeyRequest) Unmarshal(dAtA []byte) error
- func (m *MvccGetByKeyRequest) XXX_DiscardUnknown()
- func (m *MvccGetByKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MvccGetByKeyRequest) XXX_Merge(src proto.Message)
- func (m *MvccGetByKeyRequest) XXX_Size() int
- func (m *MvccGetByKeyRequest) XXX_Unmarshal(b []byte) error
- type MvccGetByKeyResponse
- func (*MvccGetByKeyResponse) Descriptor() ([]byte, []int)
- func (m *MvccGetByKeyResponse) GetError() string
- func (m *MvccGetByKeyResponse) GetInfo() *MvccInfo
- func (m *MvccGetByKeyResponse) GetRegionError() *errorpb.Error
- func (m *MvccGetByKeyResponse) Marshal() (dAtA []byte, err error)
- func (m *MvccGetByKeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MvccGetByKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MvccGetByKeyResponse) ProtoMessage()
- func (m *MvccGetByKeyResponse) Reset()
- func (m *MvccGetByKeyResponse) Size() (n int)
- func (m *MvccGetByKeyResponse) String() string
- func (m *MvccGetByKeyResponse) Unmarshal(dAtA []byte) error
- func (m *MvccGetByKeyResponse) XXX_DiscardUnknown()
- func (m *MvccGetByKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MvccGetByKeyResponse) XXX_Merge(src proto.Message)
- func (m *MvccGetByKeyResponse) XXX_Size() int
- func (m *MvccGetByKeyResponse) XXX_Unmarshal(b []byte) error
- type MvccGetByStartTsRequest
- func (*MvccGetByStartTsRequest) Descriptor() ([]byte, []int)
- func (m *MvccGetByStartTsRequest) GetContext() *Context
- func (m *MvccGetByStartTsRequest) GetStartTs() uint64
- func (m *MvccGetByStartTsRequest) Marshal() (dAtA []byte, err error)
- func (m *MvccGetByStartTsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MvccGetByStartTsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MvccGetByStartTsRequest) ProtoMessage()
- func (m *MvccGetByStartTsRequest) Reset()
- func (m *MvccGetByStartTsRequest) Size() (n int)
- func (m *MvccGetByStartTsRequest) String() string
- func (m *MvccGetByStartTsRequest) Unmarshal(dAtA []byte) error
- func (m *MvccGetByStartTsRequest) XXX_DiscardUnknown()
- func (m *MvccGetByStartTsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MvccGetByStartTsRequest) XXX_Merge(src proto.Message)
- func (m *MvccGetByStartTsRequest) XXX_Size() int
- func (m *MvccGetByStartTsRequest) XXX_Unmarshal(b []byte) error
- type MvccGetByStartTsResponse
- func (*MvccGetByStartTsResponse) Descriptor() ([]byte, []int)
- func (m *MvccGetByStartTsResponse) GetError() string
- func (m *MvccGetByStartTsResponse) GetInfo() *MvccInfo
- func (m *MvccGetByStartTsResponse) GetKey() []byte
- func (m *MvccGetByStartTsResponse) GetRegionError() *errorpb.Error
- func (m *MvccGetByStartTsResponse) Marshal() (dAtA []byte, err error)
- func (m *MvccGetByStartTsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MvccGetByStartTsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MvccGetByStartTsResponse) ProtoMessage()
- func (m *MvccGetByStartTsResponse) Reset()
- func (m *MvccGetByStartTsResponse) Size() (n int)
- func (m *MvccGetByStartTsResponse) String() string
- func (m *MvccGetByStartTsResponse) Unmarshal(dAtA []byte) error
- func (m *MvccGetByStartTsResponse) XXX_DiscardUnknown()
- func (m *MvccGetByStartTsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MvccGetByStartTsResponse) XXX_Merge(src proto.Message)
- func (m *MvccGetByStartTsResponse) XXX_Size() int
- func (m *MvccGetByStartTsResponse) XXX_Unmarshal(b []byte) error
- type MvccInfo
- func (*MvccInfo) Descriptor() ([]byte, []int)
- func (m *MvccInfo) GetLock() *MvccLock
- func (m *MvccInfo) GetValues() []*MvccValue
- func (m *MvccInfo) GetWrites() []*MvccWrite
- func (m *MvccInfo) Marshal() (dAtA []byte, err error)
- func (m *MvccInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MvccInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MvccInfo) ProtoMessage()
- func (m *MvccInfo) Reset()
- func (m *MvccInfo) Size() (n int)
- func (m *MvccInfo) String() string
- func (m *MvccInfo) Unmarshal(dAtA []byte) error
- func (m *MvccInfo) XXX_DiscardUnknown()
- func (m *MvccInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MvccInfo) XXX_Merge(src proto.Message)
- func (m *MvccInfo) XXX_Size() int
- func (m *MvccInfo) XXX_Unmarshal(b []byte) error
- type MvccLock
- func (*MvccLock) Descriptor() ([]byte, []int)
- func (m *MvccLock) GetForUpdateTs() uint64
- func (m *MvccLock) GetPrimary() []byte
- func (m *MvccLock) GetRollbackTs() []uint64
- func (m *MvccLock) GetSecondaries() [][]byte
- func (m *MvccLock) GetShortValue() []byte
- func (m *MvccLock) GetStartTs() uint64
- func (m *MvccLock) GetTtl() uint64
- func (m *MvccLock) GetTxnSize() uint64
- func (m *MvccLock) GetType() Op
- func (m *MvccLock) GetUseAsyncCommit() bool
- func (m *MvccLock) Marshal() (dAtA []byte, err error)
- func (m *MvccLock) MarshalTo(dAtA []byte) (int, error)
- func (m *MvccLock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MvccLock) ProtoMessage()
- func (m *MvccLock) Reset()
- func (m *MvccLock) Size() (n int)
- func (m *MvccLock) String() string
- func (m *MvccLock) Unmarshal(dAtA []byte) error
- func (m *MvccLock) XXX_DiscardUnknown()
- func (m *MvccLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MvccLock) XXX_Merge(src proto.Message)
- func (m *MvccLock) XXX_Size() int
- func (m *MvccLock) XXX_Unmarshal(b []byte) error
- type MvccValue
- func (*MvccValue) Descriptor() ([]byte, []int)
- func (m *MvccValue) GetStartTs() uint64
- func (m *MvccValue) GetValue() []byte
- func (m *MvccValue) Marshal() (dAtA []byte, err error)
- func (m *MvccValue) MarshalTo(dAtA []byte) (int, error)
- func (m *MvccValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MvccValue) ProtoMessage()
- func (m *MvccValue) Reset()
- func (m *MvccValue) Size() (n int)
- func (m *MvccValue) String() string
- func (m *MvccValue) Unmarshal(dAtA []byte) error
- func (m *MvccValue) XXX_DiscardUnknown()
- func (m *MvccValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MvccValue) XXX_Merge(src proto.Message)
- func (m *MvccValue) XXX_Size() int
- func (m *MvccValue) XXX_Unmarshal(b []byte) error
- type MvccWrite
- func (*MvccWrite) Descriptor() ([]byte, []int)
- func (m *MvccWrite) GetCommitTs() uint64
- func (m *MvccWrite) GetGcFence() uint64
- func (m *MvccWrite) GetHasGcFence() bool
- func (m *MvccWrite) GetHasOverlappedRollback() bool
- func (m *MvccWrite) GetShortValue() []byte
- func (m *MvccWrite) GetStartTs() uint64
- func (m *MvccWrite) GetType() Op
- func (m *MvccWrite) Marshal() (dAtA []byte, err error)
- func (m *MvccWrite) MarshalTo(dAtA []byte) (int, error)
- func (m *MvccWrite) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MvccWrite) ProtoMessage()
- func (m *MvccWrite) Reset()
- func (m *MvccWrite) Size() (n int)
- func (m *MvccWrite) String() string
- func (m *MvccWrite) Unmarshal(dAtA []byte) error
- func (m *MvccWrite) XXX_DiscardUnknown()
- func (m *MvccWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MvccWrite) XXX_Merge(src proto.Message)
- func (m *MvccWrite) XXX_Size() int
- func (m *MvccWrite) XXX_Unmarshal(b []byte) error
- type Op
- type PessimisticLockRequest
- func (*PessimisticLockRequest) Descriptor() ([]byte, []int)
- func (m *PessimisticLockRequest) GetCheckExistence() bool
- func (m *PessimisticLockRequest) GetContext() *Context
- func (m *PessimisticLockRequest) GetForUpdateTs() uint64
- func (m *PessimisticLockRequest) GetForce() booldeprecated
- func (m *PessimisticLockRequest) GetIsFirstLock() bool
- func (m *PessimisticLockRequest) GetLockTtl() uint64
- func (m *PessimisticLockRequest) GetMinCommitTs() uint64
- func (m *PessimisticLockRequest) GetMutations() []*Mutation
- func (m *PessimisticLockRequest) GetPrimaryLock() []byte
- func (m *PessimisticLockRequest) GetReturnValues() bool
- func (m *PessimisticLockRequest) GetStartVersion() uint64
- func (m *PessimisticLockRequest) GetWaitTimeout() int64
- func (m *PessimisticLockRequest) Marshal() (dAtA []byte, err error)
- func (m *PessimisticLockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PessimisticLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PessimisticLockRequest) ProtoMessage()
- func (m *PessimisticLockRequest) Reset()
- func (m *PessimisticLockRequest) Size() (n int)
- func (m *PessimisticLockRequest) String() string
- func (m *PessimisticLockRequest) Unmarshal(dAtA []byte) error
- func (m *PessimisticLockRequest) XXX_DiscardUnknown()
- func (m *PessimisticLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PessimisticLockRequest) XXX_Merge(src proto.Message)
- func (m *PessimisticLockRequest) XXX_Size() int
- func (m *PessimisticLockRequest) XXX_Unmarshal(b []byte) error
- type PessimisticLockResponse
- func (*PessimisticLockResponse) Descriptor() ([]byte, []int)
- func (m *PessimisticLockResponse) GetCommitTs() uint64deprecated
- func (m *PessimisticLockResponse) GetErrors() []*KeyError
- func (m *PessimisticLockResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *PessimisticLockResponse) GetNotFounds() []bool
- func (m *PessimisticLockResponse) GetRegionError() *errorpb.Error
- func (m *PessimisticLockResponse) GetValue() []bytedeprecated
- func (m *PessimisticLockResponse) GetValues() [][]byte
- func (m *PessimisticLockResponse) Marshal() (dAtA []byte, err error)
- func (m *PessimisticLockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PessimisticLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PessimisticLockResponse) ProtoMessage()
- func (m *PessimisticLockResponse) Reset()
- func (m *PessimisticLockResponse) Size() (n int)
- func (m *PessimisticLockResponse) String() string
- func (m *PessimisticLockResponse) Unmarshal(dAtA []byte) error
- func (m *PessimisticLockResponse) XXX_DiscardUnknown()
- func (m *PessimisticLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PessimisticLockResponse) XXX_Merge(src proto.Message)
- func (m *PessimisticLockResponse) XXX_Size() int
- func (m *PessimisticLockResponse) XXX_Unmarshal(b []byte) error
- type PessimisticRollbackRequest
- func (*PessimisticRollbackRequest) Descriptor() ([]byte, []int)
- func (m *PessimisticRollbackRequest) GetContext() *Context
- func (m *PessimisticRollbackRequest) GetForUpdateTs() uint64
- func (m *PessimisticRollbackRequest) GetKeys() [][]byte
- func (m *PessimisticRollbackRequest) GetStartVersion() uint64
- func (m *PessimisticRollbackRequest) Marshal() (dAtA []byte, err error)
- func (m *PessimisticRollbackRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PessimisticRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PessimisticRollbackRequest) ProtoMessage()
- func (m *PessimisticRollbackRequest) Reset()
- func (m *PessimisticRollbackRequest) Size() (n int)
- func (m *PessimisticRollbackRequest) String() string
- func (m *PessimisticRollbackRequest) Unmarshal(dAtA []byte) error
- func (m *PessimisticRollbackRequest) XXX_DiscardUnknown()
- func (m *PessimisticRollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PessimisticRollbackRequest) XXX_Merge(src proto.Message)
- func (m *PessimisticRollbackRequest) XXX_Size() int
- func (m *PessimisticRollbackRequest) XXX_Unmarshal(b []byte) error
- type PessimisticRollbackResponse
- func (*PessimisticRollbackResponse) Descriptor() ([]byte, []int)
- func (m *PessimisticRollbackResponse) GetErrors() []*KeyError
- func (m *PessimisticRollbackResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *PessimisticRollbackResponse) GetRegionError() *errorpb.Error
- func (m *PessimisticRollbackResponse) Marshal() (dAtA []byte, err error)
- func (m *PessimisticRollbackResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PessimisticRollbackResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PessimisticRollbackResponse) ProtoMessage()
- func (m *PessimisticRollbackResponse) Reset()
- func (m *PessimisticRollbackResponse) Size() (n int)
- func (m *PessimisticRollbackResponse) String() string
- func (m *PessimisticRollbackResponse) Unmarshal(dAtA []byte) error
- func (m *PessimisticRollbackResponse) XXX_DiscardUnknown()
- func (m *PessimisticRollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PessimisticRollbackResponse) XXX_Merge(src proto.Message)
- func (m *PessimisticRollbackResponse) XXX_Size() int
- func (m *PessimisticRollbackResponse) XXX_Unmarshal(b []byte) error
- type PhysicalScanLockRequest
- func (*PhysicalScanLockRequest) Descriptor() ([]byte, []int)
- func (m *PhysicalScanLockRequest) GetContext() *Context
- func (m *PhysicalScanLockRequest) GetLimit() uint32
- func (m *PhysicalScanLockRequest) GetMaxTs() uint64
- func (m *PhysicalScanLockRequest) GetStartKey() []byte
- func (m *PhysicalScanLockRequest) Marshal() (dAtA []byte, err error)
- func (m *PhysicalScanLockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PhysicalScanLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PhysicalScanLockRequest) ProtoMessage()
- func (m *PhysicalScanLockRequest) Reset()
- func (m *PhysicalScanLockRequest) Size() (n int)
- func (m *PhysicalScanLockRequest) String() string
- func (m *PhysicalScanLockRequest) Unmarshal(dAtA []byte) error
- func (m *PhysicalScanLockRequest) XXX_DiscardUnknown()
- func (m *PhysicalScanLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PhysicalScanLockRequest) XXX_Merge(src proto.Message)
- func (m *PhysicalScanLockRequest) XXX_Size() int
- func (m *PhysicalScanLockRequest) XXX_Unmarshal(b []byte) error
- type PhysicalScanLockResponse
- func (*PhysicalScanLockResponse) Descriptor() ([]byte, []int)
- func (m *PhysicalScanLockResponse) GetError() string
- func (m *PhysicalScanLockResponse) GetLocks() []*LockInfo
- func (m *PhysicalScanLockResponse) Marshal() (dAtA []byte, err error)
- func (m *PhysicalScanLockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PhysicalScanLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PhysicalScanLockResponse) ProtoMessage()
- func (m *PhysicalScanLockResponse) Reset()
- func (m *PhysicalScanLockResponse) Size() (n int)
- func (m *PhysicalScanLockResponse) String() string
- func (m *PhysicalScanLockResponse) Unmarshal(dAtA []byte) error
- func (m *PhysicalScanLockResponse) XXX_DiscardUnknown()
- func (m *PhysicalScanLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PhysicalScanLockResponse) XXX_Merge(src proto.Message)
- func (m *PhysicalScanLockResponse) XXX_Size() int
- func (m *PhysicalScanLockResponse) XXX_Unmarshal(b []byte) error
- type PrewriteRequest
- func (*PrewriteRequest) Descriptor() ([]byte, []int)
- func (m *PrewriteRequest) GetAssertionLevel() AssertionLevel
- func (m *PrewriteRequest) GetContext() *Context
- func (m *PrewriteRequest) GetForUpdateTs() uint64
- func (m *PrewriteRequest) GetIsPessimisticLock() []bool
- func (m *PrewriteRequest) GetLockTtl() uint64
- func (m *PrewriteRequest) GetMaxCommitTs() uint64
- func (m *PrewriteRequest) GetMinCommitTs() uint64
- func (m *PrewriteRequest) GetMutations() []*Mutation
- func (m *PrewriteRequest) GetPrimaryLock() []byte
- func (m *PrewriteRequest) GetSecondaries() [][]byte
- func (m *PrewriteRequest) GetSkipConstraintCheck() bool
- func (m *PrewriteRequest) GetStartVersion() uint64
- func (m *PrewriteRequest) GetTryOnePc() bool
- func (m *PrewriteRequest) GetTxnSize() uint64
- func (m *PrewriteRequest) GetUseAsyncCommit() bool
- func (m *PrewriteRequest) Marshal() (dAtA []byte, err error)
- func (m *PrewriteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PrewriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrewriteRequest) ProtoMessage()
- func (m *PrewriteRequest) Reset()
- func (m *PrewriteRequest) Size() (n int)
- func (m *PrewriteRequest) String() string
- func (m *PrewriteRequest) Unmarshal(dAtA []byte) error
- func (m *PrewriteRequest) XXX_DiscardUnknown()
- func (m *PrewriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrewriteRequest) XXX_Merge(src proto.Message)
- func (m *PrewriteRequest) XXX_Size() int
- func (m *PrewriteRequest) XXX_Unmarshal(b []byte) error
- type PrewriteResponse
- func (*PrewriteResponse) Descriptor() ([]byte, []int)
- func (m *PrewriteResponse) GetErrors() []*KeyError
- func (m *PrewriteResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *PrewriteResponse) GetMinCommitTs() uint64
- func (m *PrewriteResponse) GetOnePcCommitTs() uint64
- func (m *PrewriteResponse) GetRegionError() *errorpb.Error
- func (m *PrewriteResponse) Marshal() (dAtA []byte, err error)
- func (m *PrewriteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PrewriteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrewriteResponse) ProtoMessage()
- func (m *PrewriteResponse) Reset()
- func (m *PrewriteResponse) Size() (n int)
- func (m *PrewriteResponse) String() string
- func (m *PrewriteResponse) Unmarshal(dAtA []byte) error
- func (m *PrewriteResponse) XXX_DiscardUnknown()
- func (m *PrewriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrewriteResponse) XXX_Merge(src proto.Message)
- func (m *PrewriteResponse) XXX_Size() int
- func (m *PrewriteResponse) XXX_Unmarshal(b []byte) error
- type RawBatchDeleteRequest
- func (*RawBatchDeleteRequest) Descriptor() ([]byte, []int)
- func (m *RawBatchDeleteRequest) GetCf() string
- func (m *RawBatchDeleteRequest) GetContext() *Context
- func (m *RawBatchDeleteRequest) GetForCas() bool
- func (m *RawBatchDeleteRequest) GetKeys() [][]byte
- func (m *RawBatchDeleteRequest) Marshal() (dAtA []byte, err error)
- func (m *RawBatchDeleteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawBatchDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawBatchDeleteRequest) ProtoMessage()
- func (m *RawBatchDeleteRequest) Reset()
- func (m *RawBatchDeleteRequest) Size() (n int)
- func (m *RawBatchDeleteRequest) String() string
- func (m *RawBatchDeleteRequest) Unmarshal(dAtA []byte) error
- func (m *RawBatchDeleteRequest) XXX_DiscardUnknown()
- func (m *RawBatchDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawBatchDeleteRequest) XXX_Merge(src proto.Message)
- func (m *RawBatchDeleteRequest) XXX_Size() int
- func (m *RawBatchDeleteRequest) XXX_Unmarshal(b []byte) error
- type RawBatchDeleteResponse
- func (*RawBatchDeleteResponse) Descriptor() ([]byte, []int)
- func (m *RawBatchDeleteResponse) GetError() string
- func (m *RawBatchDeleteResponse) GetRegionError() *errorpb.Error
- func (m *RawBatchDeleteResponse) Marshal() (dAtA []byte, err error)
- func (m *RawBatchDeleteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawBatchDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawBatchDeleteResponse) ProtoMessage()
- func (m *RawBatchDeleteResponse) Reset()
- func (m *RawBatchDeleteResponse) Size() (n int)
- func (m *RawBatchDeleteResponse) String() string
- func (m *RawBatchDeleteResponse) Unmarshal(dAtA []byte) error
- func (m *RawBatchDeleteResponse) XXX_DiscardUnknown()
- func (m *RawBatchDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawBatchDeleteResponse) XXX_Merge(src proto.Message)
- func (m *RawBatchDeleteResponse) XXX_Size() int
- func (m *RawBatchDeleteResponse) XXX_Unmarshal(b []byte) error
- type RawBatchGetRequest
- func (*RawBatchGetRequest) Descriptor() ([]byte, []int)
- func (m *RawBatchGetRequest) GetCf() string
- func (m *RawBatchGetRequest) GetContext() *Context
- func (m *RawBatchGetRequest) GetKeys() [][]byte
- func (m *RawBatchGetRequest) Marshal() (dAtA []byte, err error)
- func (m *RawBatchGetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawBatchGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawBatchGetRequest) ProtoMessage()
- func (m *RawBatchGetRequest) Reset()
- func (m *RawBatchGetRequest) Size() (n int)
- func (m *RawBatchGetRequest) String() string
- func (m *RawBatchGetRequest) Unmarshal(dAtA []byte) error
- func (m *RawBatchGetRequest) XXX_DiscardUnknown()
- func (m *RawBatchGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawBatchGetRequest) XXX_Merge(src proto.Message)
- func (m *RawBatchGetRequest) XXX_Size() int
- func (m *RawBatchGetRequest) XXX_Unmarshal(b []byte) error
- type RawBatchGetResponse
- func (*RawBatchGetResponse) Descriptor() ([]byte, []int)
- func (m *RawBatchGetResponse) GetPairs() []*KvPair
- func (m *RawBatchGetResponse) GetRegionError() *errorpb.Error
- func (m *RawBatchGetResponse) Marshal() (dAtA []byte, err error)
- func (m *RawBatchGetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawBatchGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawBatchGetResponse) ProtoMessage()
- func (m *RawBatchGetResponse) Reset()
- func (m *RawBatchGetResponse) Size() (n int)
- func (m *RawBatchGetResponse) String() string
- func (m *RawBatchGetResponse) Unmarshal(dAtA []byte) error
- func (m *RawBatchGetResponse) XXX_DiscardUnknown()
- func (m *RawBatchGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawBatchGetResponse) XXX_Merge(src proto.Message)
- func (m *RawBatchGetResponse) XXX_Size() int
- func (m *RawBatchGetResponse) XXX_Unmarshal(b []byte) error
- type RawBatchPutRequest
- func (*RawBatchPutRequest) Descriptor() ([]byte, []int)
- func (m *RawBatchPutRequest) GetCf() string
- func (m *RawBatchPutRequest) GetContext() *Context
- func (m *RawBatchPutRequest) GetForCas() bool
- func (m *RawBatchPutRequest) GetPairs() []*KvPair
- func (m *RawBatchPutRequest) GetTtl() uint64deprecated
- func (m *RawBatchPutRequest) GetTtls() []uint64
- func (m *RawBatchPutRequest) Marshal() (dAtA []byte, err error)
- func (m *RawBatchPutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawBatchPutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawBatchPutRequest) ProtoMessage()
- func (m *RawBatchPutRequest) Reset()
- func (m *RawBatchPutRequest) Size() (n int)
- func (m *RawBatchPutRequest) String() string
- func (m *RawBatchPutRequest) Unmarshal(dAtA []byte) error
- func (m *RawBatchPutRequest) XXX_DiscardUnknown()
- func (m *RawBatchPutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawBatchPutRequest) XXX_Merge(src proto.Message)
- func (m *RawBatchPutRequest) XXX_Size() int
- func (m *RawBatchPutRequest) XXX_Unmarshal(b []byte) error
- type RawBatchPutResponse
- func (*RawBatchPutResponse) Descriptor() ([]byte, []int)
- func (m *RawBatchPutResponse) GetError() string
- func (m *RawBatchPutResponse) GetRegionError() *errorpb.Error
- func (m *RawBatchPutResponse) Marshal() (dAtA []byte, err error)
- func (m *RawBatchPutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawBatchPutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawBatchPutResponse) ProtoMessage()
- func (m *RawBatchPutResponse) Reset()
- func (m *RawBatchPutResponse) Size() (n int)
- func (m *RawBatchPutResponse) String() string
- func (m *RawBatchPutResponse) Unmarshal(dAtA []byte) error
- func (m *RawBatchPutResponse) XXX_DiscardUnknown()
- func (m *RawBatchPutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawBatchPutResponse) XXX_Merge(src proto.Message)
- func (m *RawBatchPutResponse) XXX_Size() int
- func (m *RawBatchPutResponse) XXX_Unmarshal(b []byte) error
- type RawBatchScanRequest
- func (*RawBatchScanRequest) Descriptor() ([]byte, []int)
- func (m *RawBatchScanRequest) GetCf() string
- func (m *RawBatchScanRequest) GetContext() *Context
- func (m *RawBatchScanRequest) GetEachLimit() uint32
- func (m *RawBatchScanRequest) GetKeyOnly() bool
- func (m *RawBatchScanRequest) GetRanges() []*KeyRange
- func (m *RawBatchScanRequest) GetReverse() bool
- func (m *RawBatchScanRequest) Marshal() (dAtA []byte, err error)
- func (m *RawBatchScanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawBatchScanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawBatchScanRequest) ProtoMessage()
- func (m *RawBatchScanRequest) Reset()
- func (m *RawBatchScanRequest) Size() (n int)
- func (m *RawBatchScanRequest) String() string
- func (m *RawBatchScanRequest) Unmarshal(dAtA []byte) error
- func (m *RawBatchScanRequest) XXX_DiscardUnknown()
- func (m *RawBatchScanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawBatchScanRequest) XXX_Merge(src proto.Message)
- func (m *RawBatchScanRequest) XXX_Size() int
- func (m *RawBatchScanRequest) XXX_Unmarshal(b []byte) error
- type RawBatchScanResponse
- func (*RawBatchScanResponse) Descriptor() ([]byte, []int)
- func (m *RawBatchScanResponse) GetKvs() []*KvPair
- func (m *RawBatchScanResponse) GetRegionError() *errorpb.Error
- func (m *RawBatchScanResponse) Marshal() (dAtA []byte, err error)
- func (m *RawBatchScanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawBatchScanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawBatchScanResponse) ProtoMessage()
- func (m *RawBatchScanResponse) Reset()
- func (m *RawBatchScanResponse) Size() (n int)
- func (m *RawBatchScanResponse) String() string
- func (m *RawBatchScanResponse) Unmarshal(dAtA []byte) error
- func (m *RawBatchScanResponse) XXX_DiscardUnknown()
- func (m *RawBatchScanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawBatchScanResponse) XXX_Merge(src proto.Message)
- func (m *RawBatchScanResponse) XXX_Size() int
- func (m *RawBatchScanResponse) XXX_Unmarshal(b []byte) error
- type RawCASRequest
- func (*RawCASRequest) Descriptor() ([]byte, []int)
- func (m *RawCASRequest) GetCf() string
- func (m *RawCASRequest) GetContext() *Context
- func (m *RawCASRequest) GetKey() []byte
- func (m *RawCASRequest) GetPreviousNotExist() bool
- func (m *RawCASRequest) GetPreviousValue() []byte
- func (m *RawCASRequest) GetTtl() uint64
- func (m *RawCASRequest) GetValue() []byte
- func (m *RawCASRequest) Marshal() (dAtA []byte, err error)
- func (m *RawCASRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawCASRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawCASRequest) ProtoMessage()
- func (m *RawCASRequest) Reset()
- func (m *RawCASRequest) Size() (n int)
- func (m *RawCASRequest) String() string
- func (m *RawCASRequest) Unmarshal(dAtA []byte) error
- func (m *RawCASRequest) XXX_DiscardUnknown()
- func (m *RawCASRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawCASRequest) XXX_Merge(src proto.Message)
- func (m *RawCASRequest) XXX_Size() int
- func (m *RawCASRequest) XXX_Unmarshal(b []byte) error
- type RawCASResponse
- func (*RawCASResponse) Descriptor() ([]byte, []int)
- func (m *RawCASResponse) GetError() string
- func (m *RawCASResponse) GetPreviousNotExist() bool
- func (m *RawCASResponse) GetPreviousValue() []byte
- func (m *RawCASResponse) GetRegionError() *errorpb.Error
- func (m *RawCASResponse) GetSucceed() bool
- func (m *RawCASResponse) Marshal() (dAtA []byte, err error)
- func (m *RawCASResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawCASResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawCASResponse) ProtoMessage()
- func (m *RawCASResponse) Reset()
- func (m *RawCASResponse) Size() (n int)
- func (m *RawCASResponse) String() string
- func (m *RawCASResponse) Unmarshal(dAtA []byte) error
- func (m *RawCASResponse) XXX_DiscardUnknown()
- func (m *RawCASResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawCASResponse) XXX_Merge(src proto.Message)
- func (m *RawCASResponse) XXX_Size() int
- func (m *RawCASResponse) XXX_Unmarshal(b []byte) error
- type RawChecksumRequest
- func (*RawChecksumRequest) Descriptor() ([]byte, []int)
- func (m *RawChecksumRequest) GetAlgorithm() ChecksumAlgorithm
- func (m *RawChecksumRequest) GetContext() *Context
- func (m *RawChecksumRequest) GetRanges() []*KeyRange
- func (m *RawChecksumRequest) Marshal() (dAtA []byte, err error)
- func (m *RawChecksumRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawChecksumRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawChecksumRequest) ProtoMessage()
- func (m *RawChecksumRequest) Reset()
- func (m *RawChecksumRequest) Size() (n int)
- func (m *RawChecksumRequest) String() string
- func (m *RawChecksumRequest) Unmarshal(dAtA []byte) error
- func (m *RawChecksumRequest) XXX_DiscardUnknown()
- func (m *RawChecksumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawChecksumRequest) XXX_Merge(src proto.Message)
- func (m *RawChecksumRequest) XXX_Size() int
- func (m *RawChecksumRequest) XXX_Unmarshal(b []byte) error
- type RawChecksumResponse
- func (*RawChecksumResponse) Descriptor() ([]byte, []int)
- func (m *RawChecksumResponse) GetChecksum() uint64
- func (m *RawChecksumResponse) GetError() string
- func (m *RawChecksumResponse) GetRegionError() *errorpb.Error
- func (m *RawChecksumResponse) GetTotalBytes() uint64
- func (m *RawChecksumResponse) GetTotalKvs() uint64
- func (m *RawChecksumResponse) Marshal() (dAtA []byte, err error)
- func (m *RawChecksumResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawChecksumResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawChecksumResponse) ProtoMessage()
- func (m *RawChecksumResponse) Reset()
- func (m *RawChecksumResponse) Size() (n int)
- func (m *RawChecksumResponse) String() string
- func (m *RawChecksumResponse) Unmarshal(dAtA []byte) error
- func (m *RawChecksumResponse) XXX_DiscardUnknown()
- func (m *RawChecksumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawChecksumResponse) XXX_Merge(src proto.Message)
- func (m *RawChecksumResponse) XXX_Size() int
- func (m *RawChecksumResponse) XXX_Unmarshal(b []byte) error
- type RawCoprocessorRequest
- func (*RawCoprocessorRequest) Descriptor() ([]byte, []int)
- func (m *RawCoprocessorRequest) GetContext() *Context
- func (m *RawCoprocessorRequest) GetCoprName() string
- func (m *RawCoprocessorRequest) GetCoprVersionReq() string
- func (m *RawCoprocessorRequest) GetData() []byte
- func (m *RawCoprocessorRequest) GetRanges() []*KeyRange
- func (m *RawCoprocessorRequest) Marshal() (dAtA []byte, err error)
- func (m *RawCoprocessorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawCoprocessorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawCoprocessorRequest) ProtoMessage()
- func (m *RawCoprocessorRequest) Reset()
- func (m *RawCoprocessorRequest) Size() (n int)
- func (m *RawCoprocessorRequest) String() string
- func (m *RawCoprocessorRequest) Unmarshal(dAtA []byte) error
- func (m *RawCoprocessorRequest) XXX_DiscardUnknown()
- func (m *RawCoprocessorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawCoprocessorRequest) XXX_Merge(src proto.Message)
- func (m *RawCoprocessorRequest) XXX_Size() int
- func (m *RawCoprocessorRequest) XXX_Unmarshal(b []byte) error
- type RawCoprocessorResponse
- func (*RawCoprocessorResponse) Descriptor() ([]byte, []int)
- func (m *RawCoprocessorResponse) GetData() []byte
- func (m *RawCoprocessorResponse) GetError() string
- func (m *RawCoprocessorResponse) GetRegionError() *errorpb.Error
- func (m *RawCoprocessorResponse) Marshal() (dAtA []byte, err error)
- func (m *RawCoprocessorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawCoprocessorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawCoprocessorResponse) ProtoMessage()
- func (m *RawCoprocessorResponse) Reset()
- func (m *RawCoprocessorResponse) Size() (n int)
- func (m *RawCoprocessorResponse) String() string
- func (m *RawCoprocessorResponse) Unmarshal(dAtA []byte) error
- func (m *RawCoprocessorResponse) XXX_DiscardUnknown()
- func (m *RawCoprocessorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawCoprocessorResponse) XXX_Merge(src proto.Message)
- func (m *RawCoprocessorResponse) XXX_Size() int
- func (m *RawCoprocessorResponse) XXX_Unmarshal(b []byte) error
- type RawDeleteRangeRequest
- func (*RawDeleteRangeRequest) Descriptor() ([]byte, []int)
- func (m *RawDeleteRangeRequest) GetCf() string
- func (m *RawDeleteRangeRequest) GetContext() *Context
- func (m *RawDeleteRangeRequest) GetEndKey() []byte
- func (m *RawDeleteRangeRequest) GetStartKey() []byte
- func (m *RawDeleteRangeRequest) Marshal() (dAtA []byte, err error)
- func (m *RawDeleteRangeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawDeleteRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawDeleteRangeRequest) ProtoMessage()
- func (m *RawDeleteRangeRequest) Reset()
- func (m *RawDeleteRangeRequest) Size() (n int)
- func (m *RawDeleteRangeRequest) String() string
- func (m *RawDeleteRangeRequest) Unmarshal(dAtA []byte) error
- func (m *RawDeleteRangeRequest) XXX_DiscardUnknown()
- func (m *RawDeleteRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawDeleteRangeRequest) XXX_Merge(src proto.Message)
- func (m *RawDeleteRangeRequest) XXX_Size() int
- func (m *RawDeleteRangeRequest) XXX_Unmarshal(b []byte) error
- type RawDeleteRangeResponse
- func (*RawDeleteRangeResponse) Descriptor() ([]byte, []int)
- func (m *RawDeleteRangeResponse) GetError() string
- func (m *RawDeleteRangeResponse) GetRegionError() *errorpb.Error
- func (m *RawDeleteRangeResponse) Marshal() (dAtA []byte, err error)
- func (m *RawDeleteRangeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawDeleteRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawDeleteRangeResponse) ProtoMessage()
- func (m *RawDeleteRangeResponse) Reset()
- func (m *RawDeleteRangeResponse) Size() (n int)
- func (m *RawDeleteRangeResponse) String() string
- func (m *RawDeleteRangeResponse) Unmarshal(dAtA []byte) error
- func (m *RawDeleteRangeResponse) XXX_DiscardUnknown()
- func (m *RawDeleteRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawDeleteRangeResponse) XXX_Merge(src proto.Message)
- func (m *RawDeleteRangeResponse) XXX_Size() int
- func (m *RawDeleteRangeResponse) XXX_Unmarshal(b []byte) error
- type RawDeleteRequest
- func (*RawDeleteRequest) Descriptor() ([]byte, []int)
- func (m *RawDeleteRequest) GetCf() string
- func (m *RawDeleteRequest) GetContext() *Context
- func (m *RawDeleteRequest) GetForCas() bool
- func (m *RawDeleteRequest) GetKey() []byte
- func (m *RawDeleteRequest) Marshal() (dAtA []byte, err error)
- func (m *RawDeleteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawDeleteRequest) ProtoMessage()
- func (m *RawDeleteRequest) Reset()
- func (m *RawDeleteRequest) Size() (n int)
- func (m *RawDeleteRequest) String() string
- func (m *RawDeleteRequest) Unmarshal(dAtA []byte) error
- func (m *RawDeleteRequest) XXX_DiscardUnknown()
- func (m *RawDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawDeleteRequest) XXX_Merge(src proto.Message)
- func (m *RawDeleteRequest) XXX_Size() int
- func (m *RawDeleteRequest) XXX_Unmarshal(b []byte) error
- type RawDeleteResponse
- func (*RawDeleteResponse) Descriptor() ([]byte, []int)
- func (m *RawDeleteResponse) GetError() string
- func (m *RawDeleteResponse) GetRegionError() *errorpb.Error
- func (m *RawDeleteResponse) Marshal() (dAtA []byte, err error)
- func (m *RawDeleteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawDeleteResponse) ProtoMessage()
- func (m *RawDeleteResponse) Reset()
- func (m *RawDeleteResponse) Size() (n int)
- func (m *RawDeleteResponse) String() string
- func (m *RawDeleteResponse) Unmarshal(dAtA []byte) error
- func (m *RawDeleteResponse) XXX_DiscardUnknown()
- func (m *RawDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawDeleteResponse) XXX_Merge(src proto.Message)
- func (m *RawDeleteResponse) XXX_Size() int
- func (m *RawDeleteResponse) XXX_Unmarshal(b []byte) error
- type RawGetKeyTTLRequest
- func (*RawGetKeyTTLRequest) Descriptor() ([]byte, []int)
- func (m *RawGetKeyTTLRequest) GetCf() string
- func (m *RawGetKeyTTLRequest) GetContext() *Context
- func (m *RawGetKeyTTLRequest) GetKey() []byte
- func (m *RawGetKeyTTLRequest) Marshal() (dAtA []byte, err error)
- func (m *RawGetKeyTTLRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawGetKeyTTLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawGetKeyTTLRequest) ProtoMessage()
- func (m *RawGetKeyTTLRequest) Reset()
- func (m *RawGetKeyTTLRequest) Size() (n int)
- func (m *RawGetKeyTTLRequest) String() string
- func (m *RawGetKeyTTLRequest) Unmarshal(dAtA []byte) error
- func (m *RawGetKeyTTLRequest) XXX_DiscardUnknown()
- func (m *RawGetKeyTTLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawGetKeyTTLRequest) XXX_Merge(src proto.Message)
- func (m *RawGetKeyTTLRequest) XXX_Size() int
- func (m *RawGetKeyTTLRequest) XXX_Unmarshal(b []byte) error
- type RawGetKeyTTLResponse
- func (*RawGetKeyTTLResponse) Descriptor() ([]byte, []int)
- func (m *RawGetKeyTTLResponse) GetError() string
- func (m *RawGetKeyTTLResponse) GetNotFound() bool
- func (m *RawGetKeyTTLResponse) GetRegionError() *errorpb.Error
- func (m *RawGetKeyTTLResponse) GetTtl() uint64
- func (m *RawGetKeyTTLResponse) Marshal() (dAtA []byte, err error)
- func (m *RawGetKeyTTLResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawGetKeyTTLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawGetKeyTTLResponse) ProtoMessage()
- func (m *RawGetKeyTTLResponse) Reset()
- func (m *RawGetKeyTTLResponse) Size() (n int)
- func (m *RawGetKeyTTLResponse) String() string
- func (m *RawGetKeyTTLResponse) Unmarshal(dAtA []byte) error
- func (m *RawGetKeyTTLResponse) XXX_DiscardUnknown()
- func (m *RawGetKeyTTLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawGetKeyTTLResponse) XXX_Merge(src proto.Message)
- func (m *RawGetKeyTTLResponse) XXX_Size() int
- func (m *RawGetKeyTTLResponse) XXX_Unmarshal(b []byte) error
- type RawGetRequest
- func (*RawGetRequest) Descriptor() ([]byte, []int)
- func (m *RawGetRequest) GetCf() string
- func (m *RawGetRequest) GetContext() *Context
- func (m *RawGetRequest) GetKey() []byte
- func (m *RawGetRequest) Marshal() (dAtA []byte, err error)
- func (m *RawGetRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawGetRequest) ProtoMessage()
- func (m *RawGetRequest) Reset()
- func (m *RawGetRequest) Size() (n int)
- func (m *RawGetRequest) String() string
- func (m *RawGetRequest) Unmarshal(dAtA []byte) error
- func (m *RawGetRequest) XXX_DiscardUnknown()
- func (m *RawGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawGetRequest) XXX_Merge(src proto.Message)
- func (m *RawGetRequest) XXX_Size() int
- func (m *RawGetRequest) XXX_Unmarshal(b []byte) error
- type RawGetResponse
- func (*RawGetResponse) Descriptor() ([]byte, []int)
- func (m *RawGetResponse) GetError() string
- func (m *RawGetResponse) GetNotFound() bool
- func (m *RawGetResponse) GetRegionError() *errorpb.Error
- func (m *RawGetResponse) GetValue() []byte
- func (m *RawGetResponse) Marshal() (dAtA []byte, err error)
- func (m *RawGetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawGetResponse) ProtoMessage()
- func (m *RawGetResponse) Reset()
- func (m *RawGetResponse) Size() (n int)
- func (m *RawGetResponse) String() string
- func (m *RawGetResponse) Unmarshal(dAtA []byte) error
- func (m *RawGetResponse) XXX_DiscardUnknown()
- func (m *RawGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawGetResponse) XXX_Merge(src proto.Message)
- func (m *RawGetResponse) XXX_Size() int
- func (m *RawGetResponse) XXX_Unmarshal(b []byte) error
- type RawPutRequest
- func (*RawPutRequest) Descriptor() ([]byte, []int)
- func (m *RawPutRequest) GetCf() string
- func (m *RawPutRequest) GetContext() *Context
- func (m *RawPutRequest) GetForCas() bool
- func (m *RawPutRequest) GetKey() []byte
- func (m *RawPutRequest) GetTtl() uint64
- func (m *RawPutRequest) GetValue() []byte
- func (m *RawPutRequest) Marshal() (dAtA []byte, err error)
- func (m *RawPutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawPutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawPutRequest) ProtoMessage()
- func (m *RawPutRequest) Reset()
- func (m *RawPutRequest) Size() (n int)
- func (m *RawPutRequest) String() string
- func (m *RawPutRequest) Unmarshal(dAtA []byte) error
- func (m *RawPutRequest) XXX_DiscardUnknown()
- func (m *RawPutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawPutRequest) XXX_Merge(src proto.Message)
- func (m *RawPutRequest) XXX_Size() int
- func (m *RawPutRequest) XXX_Unmarshal(b []byte) error
- type RawPutResponse
- func (*RawPutResponse) Descriptor() ([]byte, []int)
- func (m *RawPutResponse) GetError() string
- func (m *RawPutResponse) GetRegionError() *errorpb.Error
- func (m *RawPutResponse) Marshal() (dAtA []byte, err error)
- func (m *RawPutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawPutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawPutResponse) ProtoMessage()
- func (m *RawPutResponse) Reset()
- func (m *RawPutResponse) Size() (n int)
- func (m *RawPutResponse) String() string
- func (m *RawPutResponse) Unmarshal(dAtA []byte) error
- func (m *RawPutResponse) XXX_DiscardUnknown()
- func (m *RawPutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawPutResponse) XXX_Merge(src proto.Message)
- func (m *RawPutResponse) XXX_Size() int
- func (m *RawPutResponse) XXX_Unmarshal(b []byte) error
- type RawScanRequest
- func (*RawScanRequest) Descriptor() ([]byte, []int)
- func (m *RawScanRequest) GetCf() string
- func (m *RawScanRequest) GetContext() *Context
- func (m *RawScanRequest) GetEndKey() []byte
- func (m *RawScanRequest) GetKeyOnly() bool
- func (m *RawScanRequest) GetLimit() uint32
- func (m *RawScanRequest) GetReverse() bool
- func (m *RawScanRequest) GetStartKey() []byte
- func (m *RawScanRequest) Marshal() (dAtA []byte, err error)
- func (m *RawScanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RawScanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawScanRequest) ProtoMessage()
- func (m *RawScanRequest) Reset()
- func (m *RawScanRequest) Size() (n int)
- func (m *RawScanRequest) String() string
- func (m *RawScanRequest) Unmarshal(dAtA []byte) error
- func (m *RawScanRequest) XXX_DiscardUnknown()
- func (m *RawScanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawScanRequest) XXX_Merge(src proto.Message)
- func (m *RawScanRequest) XXX_Size() int
- func (m *RawScanRequest) XXX_Unmarshal(b []byte) error
- type RawScanResponse
- func (*RawScanResponse) Descriptor() ([]byte, []int)
- func (m *RawScanResponse) GetKvs() []*KvPair
- func (m *RawScanResponse) GetRegionError() *errorpb.Error
- func (m *RawScanResponse) Marshal() (dAtA []byte, err error)
- func (m *RawScanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RawScanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawScanResponse) ProtoMessage()
- func (m *RawScanResponse) Reset()
- func (m *RawScanResponse) Size() (n int)
- func (m *RawScanResponse) String() string
- func (m *RawScanResponse) Unmarshal(dAtA []byte) error
- func (m *RawScanResponse) XXX_DiscardUnknown()
- func (m *RawScanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawScanResponse) XXX_Merge(src proto.Message)
- func (m *RawScanResponse) XXX_Size() int
- func (m *RawScanResponse) XXX_Unmarshal(b []byte) error
- type ReadIndexRequest
- func (*ReadIndexRequest) Descriptor() ([]byte, []int)
- func (m *ReadIndexRequest) GetContext() *Context
- func (m *ReadIndexRequest) GetRanges() []*KeyRange
- func (m *ReadIndexRequest) GetStartTs() uint64
- func (m *ReadIndexRequest) Marshal() (dAtA []byte, err error)
- func (m *ReadIndexRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadIndexRequest) ProtoMessage()
- func (m *ReadIndexRequest) Reset()
- func (m *ReadIndexRequest) Size() (n int)
- func (m *ReadIndexRequest) String() string
- func (m *ReadIndexRequest) Unmarshal(dAtA []byte) error
- func (m *ReadIndexRequest) XXX_DiscardUnknown()
- func (m *ReadIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadIndexRequest) XXX_Merge(src proto.Message)
- func (m *ReadIndexRequest) XXX_Size() int
- func (m *ReadIndexRequest) XXX_Unmarshal(b []byte) error
- type ReadIndexResponse
- func (*ReadIndexResponse) Descriptor() ([]byte, []int)
- func (m *ReadIndexResponse) GetLocked() *LockInfo
- func (m *ReadIndexResponse) GetReadIndex() uint64
- func (m *ReadIndexResponse) GetRegionError() *errorpb.Error
- func (m *ReadIndexResponse) Marshal() (dAtA []byte, err error)
- func (m *ReadIndexResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadIndexResponse) ProtoMessage()
- func (m *ReadIndexResponse) Reset()
- func (m *ReadIndexResponse) Size() (n int)
- func (m *ReadIndexResponse) String() string
- func (m *ReadIndexResponse) Unmarshal(dAtA []byte) error
- func (m *ReadIndexResponse) XXX_DiscardUnknown()
- func (m *ReadIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadIndexResponse) XXX_Merge(src proto.Message)
- func (m *ReadIndexResponse) XXX_Size() int
- func (m *ReadIndexResponse) XXX_Unmarshal(b []byte) error
- type ReadState
- func (*ReadState) Descriptor() ([]byte, []int)
- func (m *ReadState) GetAppliedIndex() uint64
- func (m *ReadState) GetSafeTs() uint64
- func (m *ReadState) Marshal() (dAtA []byte, err error)
- func (m *ReadState) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadState) ProtoMessage()
- func (m *ReadState) Reset()
- func (m *ReadState) Size() (n int)
- func (m *ReadState) String() string
- func (m *ReadState) Unmarshal(dAtA []byte) error
- func (m *ReadState) XXX_DiscardUnknown()
- func (m *ReadState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadState) XXX_Merge(src proto.Message)
- func (m *ReadState) XXX_Size() int
- func (m *ReadState) XXX_Unmarshal(b []byte) error
- type RegisterLockObserverRequest
- func (*RegisterLockObserverRequest) Descriptor() ([]byte, []int)
- func (m *RegisterLockObserverRequest) GetContext() *Context
- func (m *RegisterLockObserverRequest) GetMaxTs() uint64
- func (m *RegisterLockObserverRequest) Marshal() (dAtA []byte, err error)
- func (m *RegisterLockObserverRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterLockObserverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterLockObserverRequest) ProtoMessage()
- func (m *RegisterLockObserverRequest) Reset()
- func (m *RegisterLockObserverRequest) Size() (n int)
- func (m *RegisterLockObserverRequest) String() string
- func (m *RegisterLockObserverRequest) Unmarshal(dAtA []byte) error
- func (m *RegisterLockObserverRequest) XXX_DiscardUnknown()
- func (m *RegisterLockObserverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterLockObserverRequest) XXX_Merge(src proto.Message)
- func (m *RegisterLockObserverRequest) XXX_Size() int
- func (m *RegisterLockObserverRequest) XXX_Unmarshal(b []byte) error
- type RegisterLockObserverResponse
- func (*RegisterLockObserverResponse) Descriptor() ([]byte, []int)
- func (m *RegisterLockObserverResponse) GetError() string
- func (m *RegisterLockObserverResponse) Marshal() (dAtA []byte, err error)
- func (m *RegisterLockObserverResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterLockObserverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterLockObserverResponse) ProtoMessage()
- func (m *RegisterLockObserverResponse) Reset()
- func (m *RegisterLockObserverResponse) Size() (n int)
- func (m *RegisterLockObserverResponse) String() string
- func (m *RegisterLockObserverResponse) Unmarshal(dAtA []byte) error
- func (m *RegisterLockObserverResponse) XXX_DiscardUnknown()
- func (m *RegisterLockObserverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterLockObserverResponse) XXX_Merge(src proto.Message)
- func (m *RegisterLockObserverResponse) XXX_Size() int
- func (m *RegisterLockObserverResponse) XXX_Unmarshal(b []byte) error
- type RemoveLockObserverRequest
- func (*RemoveLockObserverRequest) Descriptor() ([]byte, []int)
- func (m *RemoveLockObserverRequest) GetContext() *Context
- func (m *RemoveLockObserverRequest) GetMaxTs() uint64
- func (m *RemoveLockObserverRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveLockObserverRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveLockObserverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveLockObserverRequest) ProtoMessage()
- func (m *RemoveLockObserverRequest) Reset()
- func (m *RemoveLockObserverRequest) Size() (n int)
- func (m *RemoveLockObserverRequest) String() string
- func (m *RemoveLockObserverRequest) Unmarshal(dAtA []byte) error
- func (m *RemoveLockObserverRequest) XXX_DiscardUnknown()
- func (m *RemoveLockObserverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveLockObserverRequest) XXX_Merge(src proto.Message)
- func (m *RemoveLockObserverRequest) XXX_Size() int
- func (m *RemoveLockObserverRequest) XXX_Unmarshal(b []byte) error
- type RemoveLockObserverResponse
- func (*RemoveLockObserverResponse) Descriptor() ([]byte, []int)
- func (m *RemoveLockObserverResponse) GetError() string
- func (m *RemoveLockObserverResponse) Marshal() (dAtA []byte, err error)
- func (m *RemoveLockObserverResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveLockObserverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveLockObserverResponse) ProtoMessage()
- func (m *RemoveLockObserverResponse) Reset()
- func (m *RemoveLockObserverResponse) Size() (n int)
- func (m *RemoveLockObserverResponse) String() string
- func (m *RemoveLockObserverResponse) Unmarshal(dAtA []byte) error
- func (m *RemoveLockObserverResponse) XXX_DiscardUnknown()
- func (m *RemoveLockObserverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveLockObserverResponse) XXX_Merge(src proto.Message)
- func (m *RemoveLockObserverResponse) XXX_Size() int
- func (m *RemoveLockObserverResponse) XXX_Unmarshal(b []byte) error
- type ResolveLockRequest
- func (*ResolveLockRequest) Descriptor() ([]byte, []int)
- func (m *ResolveLockRequest) GetCommitVersion() uint64
- func (m *ResolveLockRequest) GetContext() *Context
- func (m *ResolveLockRequest) GetKeys() [][]byte
- func (m *ResolveLockRequest) GetStartVersion() uint64
- func (m *ResolveLockRequest) GetTxnInfos() []*TxnInfo
- func (m *ResolveLockRequest) Marshal() (dAtA []byte, err error)
- func (m *ResolveLockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ResolveLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResolveLockRequest) ProtoMessage()
- func (m *ResolveLockRequest) Reset()
- func (m *ResolveLockRequest) Size() (n int)
- func (m *ResolveLockRequest) String() string
- func (m *ResolveLockRequest) Unmarshal(dAtA []byte) error
- func (m *ResolveLockRequest) XXX_DiscardUnknown()
- func (m *ResolveLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResolveLockRequest) XXX_Merge(src proto.Message)
- func (m *ResolveLockRequest) XXX_Size() int
- func (m *ResolveLockRequest) XXX_Unmarshal(b []byte) error
- type ResolveLockResponse
- func (*ResolveLockResponse) Descriptor() ([]byte, []int)
- func (m *ResolveLockResponse) GetError() *KeyError
- func (m *ResolveLockResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *ResolveLockResponse) GetRegionError() *errorpb.Error
- func (m *ResolveLockResponse) Marshal() (dAtA []byte, err error)
- func (m *ResolveLockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ResolveLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResolveLockResponse) ProtoMessage()
- func (m *ResolveLockResponse) Reset()
- func (m *ResolveLockResponse) Size() (n int)
- func (m *ResolveLockResponse) String() string
- func (m *ResolveLockResponse) Unmarshal(dAtA []byte) error
- func (m *ResolveLockResponse) XXX_DiscardUnknown()
- func (m *ResolveLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResolveLockResponse) XXX_Merge(src proto.Message)
- func (m *ResolveLockResponse) XXX_Size() int
- func (m *ResolveLockResponse) XXX_Unmarshal(b []byte) error
- type ScanDetail
- func (*ScanDetail) Descriptor() ([]byte, []int)
- func (m *ScanDetail) GetData() *ScanInfo
- func (m *ScanDetail) GetLock() *ScanInfo
- func (m *ScanDetail) GetWrite() *ScanInfo
- func (m *ScanDetail) Marshal() (dAtA []byte, err error)
- func (m *ScanDetail) MarshalTo(dAtA []byte) (int, error)
- func (m *ScanDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScanDetail) ProtoMessage()
- func (m *ScanDetail) Reset()
- func (m *ScanDetail) Size() (n int)
- func (m *ScanDetail) String() string
- func (m *ScanDetail) Unmarshal(dAtA []byte) error
- func (m *ScanDetail) XXX_DiscardUnknown()
- func (m *ScanDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScanDetail) XXX_Merge(src proto.Message)
- func (m *ScanDetail) XXX_Size() int
- func (m *ScanDetail) XXX_Unmarshal(b []byte) error
- type ScanDetailV2
- func (*ScanDetailV2) Descriptor() ([]byte, []int)
- func (m *ScanDetailV2) GetGetSnapshotNanos() uint64
- func (m *ScanDetailV2) GetProcessedVersions() uint64
- func (m *ScanDetailV2) GetProcessedVersionsSize() uint64
- func (m *ScanDetailV2) GetRocksdbBlockCacheHitCount() uint64
- func (m *ScanDetailV2) GetRocksdbBlockReadByte() uint64
- func (m *ScanDetailV2) GetRocksdbBlockReadCount() uint64
- func (m *ScanDetailV2) GetRocksdbBlockReadNanos() uint64
- func (m *ScanDetailV2) GetRocksdbDeleteSkippedCount() uint64
- func (m *ScanDetailV2) GetRocksdbKeySkippedCount() uint64
- func (m *ScanDetailV2) GetTotalVersions() uint64
- func (m *ScanDetailV2) Marshal() (dAtA []byte, err error)
- func (m *ScanDetailV2) MarshalTo(dAtA []byte) (int, error)
- func (m *ScanDetailV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScanDetailV2) ProtoMessage()
- func (m *ScanDetailV2) Reset()
- func (m *ScanDetailV2) Size() (n int)
- func (m *ScanDetailV2) String() string
- func (m *ScanDetailV2) Unmarshal(dAtA []byte) error
- func (m *ScanDetailV2) XXX_DiscardUnknown()
- func (m *ScanDetailV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScanDetailV2) XXX_Merge(src proto.Message)
- func (m *ScanDetailV2) XXX_Size() int
- func (m *ScanDetailV2) XXX_Unmarshal(b []byte) error
- type ScanInfo
- func (*ScanInfo) Descriptor() ([]byte, []int)
- func (m *ScanInfo) GetProcessed() int64
- func (m *ScanInfo) GetReadBytes() int64
- func (m *ScanInfo) GetTotal() int64
- func (m *ScanInfo) Marshal() (dAtA []byte, err error)
- func (m *ScanInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ScanInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScanInfo) ProtoMessage()
- func (m *ScanInfo) Reset()
- func (m *ScanInfo) Size() (n int)
- func (m *ScanInfo) String() string
- func (m *ScanInfo) Unmarshal(dAtA []byte) error
- func (m *ScanInfo) XXX_DiscardUnknown()
- func (m *ScanInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScanInfo) XXX_Merge(src proto.Message)
- func (m *ScanInfo) XXX_Size() int
- func (m *ScanInfo) XXX_Unmarshal(b []byte) error
- type ScanLockRequest
- func (*ScanLockRequest) Descriptor() ([]byte, []int)
- func (m *ScanLockRequest) GetContext() *Context
- func (m *ScanLockRequest) GetEndKey() []byte
- func (m *ScanLockRequest) GetLimit() uint32
- func (m *ScanLockRequest) GetMaxVersion() uint64
- func (m *ScanLockRequest) GetStartKey() []byte
- func (m *ScanLockRequest) Marshal() (dAtA []byte, err error)
- func (m *ScanLockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ScanLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScanLockRequest) ProtoMessage()
- func (m *ScanLockRequest) Reset()
- func (m *ScanLockRequest) Size() (n int)
- func (m *ScanLockRequest) String() string
- func (m *ScanLockRequest) Unmarshal(dAtA []byte) error
- func (m *ScanLockRequest) XXX_DiscardUnknown()
- func (m *ScanLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScanLockRequest) XXX_Merge(src proto.Message)
- func (m *ScanLockRequest) XXX_Size() int
- func (m *ScanLockRequest) XXX_Unmarshal(b []byte) error
- type ScanLockResponse
- func (*ScanLockResponse) Descriptor() ([]byte, []int)
- func (m *ScanLockResponse) GetError() *KeyError
- func (m *ScanLockResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *ScanLockResponse) GetLocks() []*LockInfo
- func (m *ScanLockResponse) GetRegionError() *errorpb.Error
- func (m *ScanLockResponse) Marshal() (dAtA []byte, err error)
- func (m *ScanLockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ScanLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScanLockResponse) ProtoMessage()
- func (m *ScanLockResponse) Reset()
- func (m *ScanLockResponse) Size() (n int)
- func (m *ScanLockResponse) String() string
- func (m *ScanLockResponse) Unmarshal(dAtA []byte) error
- func (m *ScanLockResponse) XXX_DiscardUnknown()
- func (m *ScanLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScanLockResponse) XXX_Merge(src proto.Message)
- func (m *ScanLockResponse) XXX_Size() int
- func (m *ScanLockResponse) XXX_Unmarshal(b []byte) error
- type ScanRequest
- func (*ScanRequest) Descriptor() ([]byte, []int)
- func (m *ScanRequest) GetContext() *Context
- func (m *ScanRequest) GetEndKey() []byte
- func (m *ScanRequest) GetKeyOnly() bool
- func (m *ScanRequest) GetLimit() uint32
- func (m *ScanRequest) GetReverse() bool
- func (m *ScanRequest) GetSampleStep() uint32
- func (m *ScanRequest) GetStartKey() []byte
- func (m *ScanRequest) GetVersion() uint64
- func (m *ScanRequest) Marshal() (dAtA []byte, err error)
- func (m *ScanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ScanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScanRequest) ProtoMessage()
- func (m *ScanRequest) Reset()
- func (m *ScanRequest) Size() (n int)
- func (m *ScanRequest) String() string
- func (m *ScanRequest) Unmarshal(dAtA []byte) error
- func (m *ScanRequest) XXX_DiscardUnknown()
- func (m *ScanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScanRequest) XXX_Merge(src proto.Message)
- func (m *ScanRequest) XXX_Size() int
- func (m *ScanRequest) XXX_Unmarshal(b []byte) error
- type ScanResponse
- func (*ScanResponse) Descriptor() ([]byte, []int)
- func (m *ScanResponse) GetError() *KeyError
- func (m *ScanResponse) GetPairs() []*KvPair
- func (m *ScanResponse) GetRegionError() *errorpb.Error
- func (m *ScanResponse) Marshal() (dAtA []byte, err error)
- func (m *ScanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ScanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScanResponse) ProtoMessage()
- func (m *ScanResponse) Reset()
- func (m *ScanResponse) Size() (n int)
- func (m *ScanResponse) String() string
- func (m *ScanResponse) Unmarshal(dAtA []byte) error
- func (m *ScanResponse) XXX_DiscardUnknown()
- func (m *ScanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScanResponse) XXX_Merge(src proto.Message)
- func (m *ScanResponse) XXX_Size() int
- func (m *ScanResponse) XXX_Unmarshal(b []byte) error
- type SplitRegionRequest
- func (*SplitRegionRequest) Descriptor() ([]byte, []int)
- func (m *SplitRegionRequest) GetContext() *Context
- func (m *SplitRegionRequest) GetIsRawKv() bool
- func (m *SplitRegionRequest) GetSplitKey() []bytedeprecated
- func (m *SplitRegionRequest) GetSplitKeys() [][]byte
- func (m *SplitRegionRequest) Marshal() (dAtA []byte, err error)
- func (m *SplitRegionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SplitRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SplitRegionRequest) ProtoMessage()
- func (m *SplitRegionRequest) Reset()
- func (m *SplitRegionRequest) Size() (n int)
- func (m *SplitRegionRequest) String() string
- func (m *SplitRegionRequest) Unmarshal(dAtA []byte) error
- func (m *SplitRegionRequest) XXX_DiscardUnknown()
- func (m *SplitRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SplitRegionRequest) XXX_Merge(src proto.Message)
- func (m *SplitRegionRequest) XXX_Size() int
- func (m *SplitRegionRequest) XXX_Unmarshal(b []byte) error
- type SplitRegionResponse
- func (*SplitRegionResponse) Descriptor() ([]byte, []int)
- func (m *SplitRegionResponse) GetLeft() *metapb.Regiondeprecated
- func (m *SplitRegionResponse) GetRegionError() *errorpb.Error
- func (m *SplitRegionResponse) GetRegions() []*metapb.Region
- func (m *SplitRegionResponse) GetRight() *metapb.Regiondeprecated
- func (m *SplitRegionResponse) Marshal() (dAtA []byte, err error)
- func (m *SplitRegionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SplitRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SplitRegionResponse) ProtoMessage()
- func (m *SplitRegionResponse) Reset()
- func (m *SplitRegionResponse) Size() (n int)
- func (m *SplitRegionResponse) String() string
- func (m *SplitRegionResponse) Unmarshal(dAtA []byte) error
- func (m *SplitRegionResponse) XXX_DiscardUnknown()
- func (m *SplitRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SplitRegionResponse) XXX_Merge(src proto.Message)
- func (m *SplitRegionResponse) XXX_Size() int
- func (m *SplitRegionResponse) XXX_Unmarshal(b []byte) error
- type StoreSafeTSRequest
- func (*StoreSafeTSRequest) Descriptor() ([]byte, []int)
- func (m *StoreSafeTSRequest) GetKeyRange() *KeyRange
- func (m *StoreSafeTSRequest) Marshal() (dAtA []byte, err error)
- func (m *StoreSafeTSRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *StoreSafeTSRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StoreSafeTSRequest) ProtoMessage()
- func (m *StoreSafeTSRequest) Reset()
- func (m *StoreSafeTSRequest) Size() (n int)
- func (m *StoreSafeTSRequest) String() string
- func (m *StoreSafeTSRequest) Unmarshal(dAtA []byte) error
- func (m *StoreSafeTSRequest) XXX_DiscardUnknown()
- func (m *StoreSafeTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreSafeTSRequest) XXX_Merge(src proto.Message)
- func (m *StoreSafeTSRequest) XXX_Size() int
- func (m *StoreSafeTSRequest) XXX_Unmarshal(b []byte) error
- type StoreSafeTSResponse
- func (*StoreSafeTSResponse) Descriptor() ([]byte, []int)
- func (m *StoreSafeTSResponse) GetSafeTs() uint64
- func (m *StoreSafeTSResponse) Marshal() (dAtA []byte, err error)
- func (m *StoreSafeTSResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *StoreSafeTSResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StoreSafeTSResponse) ProtoMessage()
- func (m *StoreSafeTSResponse) Reset()
- func (m *StoreSafeTSResponse) Size() (n int)
- func (m *StoreSafeTSResponse) String() string
- func (m *StoreSafeTSResponse) Unmarshal(dAtA []byte) error
- func (m *StoreSafeTSResponse) XXX_DiscardUnknown()
- func (m *StoreSafeTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreSafeTSResponse) XXX_Merge(src proto.Message)
- func (m *StoreSafeTSResponse) XXX_Size() int
- func (m *StoreSafeTSResponse) XXX_Unmarshal(b []byte) error
- type TimeDetail
- func (*TimeDetail) Descriptor() ([]byte, []int)
- func (m *TimeDetail) GetKvReadWallTimeMs() uint64
- func (m *TimeDetail) GetProcessWallTimeMs() uint64
- func (m *TimeDetail) GetTotalRpcWallTimeNs() uint64
- func (m *TimeDetail) GetWaitWallTimeMs() uint64
- func (m *TimeDetail) Marshal() (dAtA []byte, err error)
- func (m *TimeDetail) MarshalTo(dAtA []byte) (int, error)
- func (m *TimeDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimeDetail) ProtoMessage()
- func (m *TimeDetail) Reset()
- func (m *TimeDetail) Size() (n int)
- func (m *TimeDetail) String() string
- func (m *TimeDetail) Unmarshal(dAtA []byte) error
- func (m *TimeDetail) XXX_DiscardUnknown()
- func (m *TimeDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimeDetail) XXX_Merge(src proto.Message)
- func (m *TimeDetail) XXX_Size() int
- func (m *TimeDetail) XXX_Unmarshal(b []byte) error
- type TxnHeartBeatRequest
- func (*TxnHeartBeatRequest) Descriptor() ([]byte, []int)
- func (m *TxnHeartBeatRequest) GetAdviseLockTtl() uint64
- func (m *TxnHeartBeatRequest) GetContext() *Context
- func (m *TxnHeartBeatRequest) GetPrimaryLock() []byte
- func (m *TxnHeartBeatRequest) GetStartVersion() uint64
- func (m *TxnHeartBeatRequest) Marshal() (dAtA []byte, err error)
- func (m *TxnHeartBeatRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TxnHeartBeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxnHeartBeatRequest) ProtoMessage()
- func (m *TxnHeartBeatRequest) Reset()
- func (m *TxnHeartBeatRequest) Size() (n int)
- func (m *TxnHeartBeatRequest) String() string
- func (m *TxnHeartBeatRequest) Unmarshal(dAtA []byte) error
- func (m *TxnHeartBeatRequest) XXX_DiscardUnknown()
- func (m *TxnHeartBeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxnHeartBeatRequest) XXX_Merge(src proto.Message)
- func (m *TxnHeartBeatRequest) XXX_Size() int
- func (m *TxnHeartBeatRequest) XXX_Unmarshal(b []byte) error
- type TxnHeartBeatResponse
- func (*TxnHeartBeatResponse) Descriptor() ([]byte, []int)
- func (m *TxnHeartBeatResponse) GetError() *KeyError
- func (m *TxnHeartBeatResponse) GetExecDetailsV2() *ExecDetailsV2
- func (m *TxnHeartBeatResponse) GetLockTtl() uint64
- func (m *TxnHeartBeatResponse) GetRegionError() *errorpb.Error
- func (m *TxnHeartBeatResponse) Marshal() (dAtA []byte, err error)
- func (m *TxnHeartBeatResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TxnHeartBeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxnHeartBeatResponse) ProtoMessage()
- func (m *TxnHeartBeatResponse) Reset()
- func (m *TxnHeartBeatResponse) Size() (n int)
- func (m *TxnHeartBeatResponse) String() string
- func (m *TxnHeartBeatResponse) Unmarshal(dAtA []byte) error
- func (m *TxnHeartBeatResponse) XXX_DiscardUnknown()
- func (m *TxnHeartBeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxnHeartBeatResponse) XXX_Merge(src proto.Message)
- func (m *TxnHeartBeatResponse) XXX_Size() int
- func (m *TxnHeartBeatResponse) XXX_Unmarshal(b []byte) error
- type TxnInfo
- func (*TxnInfo) Descriptor() ([]byte, []int)
- func (m *TxnInfo) GetStatus() uint64
- func (m *TxnInfo) GetTxn() uint64
- func (m *TxnInfo) Marshal() (dAtA []byte, err error)
- func (m *TxnInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TxnInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxnInfo) ProtoMessage()
- func (m *TxnInfo) Reset()
- func (m *TxnInfo) Size() (n int)
- func (m *TxnInfo) String() string
- func (m *TxnInfo) Unmarshal(dAtA []byte) error
- func (m *TxnInfo) XXX_DiscardUnknown()
- func (m *TxnInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxnInfo) XXX_Merge(src proto.Message)
- func (m *TxnInfo) XXX_Size() int
- func (m *TxnInfo) XXX_Unmarshal(b []byte) error
- type TxnNotFound
- func (*TxnNotFound) Descriptor() ([]byte, []int)
- func (m *TxnNotFound) GetPrimaryKey() []byte
- func (m *TxnNotFound) GetStartTs() uint64
- func (m *TxnNotFound) Marshal() (dAtA []byte, err error)
- func (m *TxnNotFound) MarshalTo(dAtA []byte) (int, error)
- func (m *TxnNotFound) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxnNotFound) ProtoMessage()
- func (m *TxnNotFound) Reset()
- func (m *TxnNotFound) Size() (n int)
- func (m *TxnNotFound) String() string
- func (m *TxnNotFound) Unmarshal(dAtA []byte) error
- func (m *TxnNotFound) XXX_DiscardUnknown()
- func (m *TxnNotFound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxnNotFound) XXX_Merge(src proto.Message)
- func (m *TxnNotFound) XXX_Size() int
- func (m *TxnNotFound) XXX_Unmarshal(b []byte) error
- type UnsafeDestroyRangeRequest
- func (*UnsafeDestroyRangeRequest) Descriptor() ([]byte, []int)
- func (m *UnsafeDestroyRangeRequest) GetContext() *Context
- func (m *UnsafeDestroyRangeRequest) GetEndKey() []byte
- func (m *UnsafeDestroyRangeRequest) GetStartKey() []byte
- func (m *UnsafeDestroyRangeRequest) Marshal() (dAtA []byte, err error)
- func (m *UnsafeDestroyRangeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UnsafeDestroyRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnsafeDestroyRangeRequest) ProtoMessage()
- func (m *UnsafeDestroyRangeRequest) Reset()
- func (m *UnsafeDestroyRangeRequest) Size() (n int)
- func (m *UnsafeDestroyRangeRequest) String() string
- func (m *UnsafeDestroyRangeRequest) Unmarshal(dAtA []byte) error
- func (m *UnsafeDestroyRangeRequest) XXX_DiscardUnknown()
- func (m *UnsafeDestroyRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnsafeDestroyRangeRequest) XXX_Merge(src proto.Message)
- func (m *UnsafeDestroyRangeRequest) XXX_Size() int
- func (m *UnsafeDestroyRangeRequest) XXX_Unmarshal(b []byte) error
- type UnsafeDestroyRangeResponse
- func (*UnsafeDestroyRangeResponse) Descriptor() ([]byte, []int)
- func (m *UnsafeDestroyRangeResponse) GetError() string
- func (m *UnsafeDestroyRangeResponse) GetRegionError() *errorpb.Error
- func (m *UnsafeDestroyRangeResponse) Marshal() (dAtA []byte, err error)
- func (m *UnsafeDestroyRangeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UnsafeDestroyRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UnsafeDestroyRangeResponse) ProtoMessage()
- func (m *UnsafeDestroyRangeResponse) Reset()
- func (m *UnsafeDestroyRangeResponse) Size() (n int)
- func (m *UnsafeDestroyRangeResponse) String() string
- func (m *UnsafeDestroyRangeResponse) Unmarshal(dAtA []byte) error
- func (m *UnsafeDestroyRangeResponse) XXX_DiscardUnknown()
- func (m *UnsafeDestroyRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnsafeDestroyRangeResponse) XXX_Merge(src proto.Message)
- func (m *UnsafeDestroyRangeResponse) XXX_Size() int
- func (m *UnsafeDestroyRangeResponse) XXX_Unmarshal(b []byte) error
- type WriteConflict
- func (*WriteConflict) Descriptor() ([]byte, []int)
- func (m *WriteConflict) GetConflictCommitTs() uint64
- func (m *WriteConflict) GetConflictTs() uint64
- func (m *WriteConflict) GetKey() []byte
- func (m *WriteConflict) GetPrimary() []byte
- func (m *WriteConflict) GetStartTs() uint64
- func (m *WriteConflict) Marshal() (dAtA []byte, err error)
- func (m *WriteConflict) MarshalTo(dAtA []byte) (int, error)
- func (m *WriteConflict) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WriteConflict) ProtoMessage()
- func (m *WriteConflict) Reset()
- func (m *WriteConflict) Size() (n int)
- func (m *WriteConflict) String() string
- func (m *WriteConflict) Unmarshal(dAtA []byte) error
- func (m *WriteConflict) XXX_DiscardUnknown()
- func (m *WriteConflict) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteConflict) XXX_Merge(src proto.Message)
- func (m *WriteConflict) XXX_Size() int
- func (m *WriteConflict) XXX_Unmarshal(b []byte) error
- type WriteDetail
- func (*WriteDetail) Descriptor() ([]byte, []int)
- func (m *WriteDetail) GetApplyBatchWaitNanos() uint64
- func (m *WriteDetail) GetApplyLogNanos() uint64
- func (m *WriteDetail) GetApplyMutexLockNanos() uint64
- func (m *WriteDetail) GetApplyWriteLeaderWaitNanos() uint64
- func (m *WriteDetail) GetApplyWriteMemtableNanos() uint64
- func (m *WriteDetail) GetApplyWriteWalNanos() uint64
- func (m *WriteDetail) GetCommitLogNanos() uint64
- func (m *WriteDetail) GetPersistLogNanos() uint64
- func (m *WriteDetail) GetProposeSendWaitNanos() uint64
- func (m *WriteDetail) GetRaftDbSyncLogNanos() uint64
- func (m *WriteDetail) GetRaftDbWriteLeaderWaitNanos() uint64
- func (m *WriteDetail) GetRaftDbWriteMemtableNanos() uint64
- func (m *WriteDetail) GetStoreBatchWaitNanos() uint64
- func (m *WriteDetail) Marshal() (dAtA []byte, err error)
- func (m *WriteDetail) MarshalTo(dAtA []byte) (int, error)
- func (m *WriteDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WriteDetail) ProtoMessage()
- func (m *WriteDetail) Reset()
- func (m *WriteDetail) Size() (n int)
- func (m *WriteDetail) String() string
- func (m *WriteDetail) Unmarshal(dAtA []byte) error
- func (m *WriteDetail) XXX_DiscardUnknown()
- func (m *WriteDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteDetail) XXX_Merge(src proto.Message)
- func (m *WriteDetail) XXX_Size() int
- func (m *WriteDetail) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthKvrpcpb = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowKvrpcpb = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupKvrpcpb = fmt.Errorf("proto: unexpected end of group") )
var APIVersion_name = map[int32]string{
0: "V1",
1: "V1TTL",
2: "V2",
}
var APIVersion_value = map[string]int32{
"V1": 0,
"V1TTL": 1,
"V2": 2,
}
var Action_name = map[int32]string{
0: "NoAction",
1: "TTLExpireRollback",
2: "LockNotExistRollback",
3: "MinCommitTSPushed",
4: "TTLExpirePessimisticRollback",
5: "LockNotExistDoNothing",
}
var Action_value = map[string]int32{
"NoAction": 0,
"TTLExpireRollback": 1,
"LockNotExistRollback": 2,
"MinCommitTSPushed": 3,
"TTLExpirePessimisticRollback": 4,
"LockNotExistDoNothing": 5,
}
var AssertionLevel_name = map[int32]string{
0: "Off",
1: "Fast",
2: "Strict",
}
var AssertionLevel_value = map[string]int32{
"Off": 0,
"Fast": 1,
"Strict": 2,
}
var Assertion_name = map[int32]string{
0: "None",
1: "Exist",
2: "NotExist",
}
var Assertion_value = map[string]int32{
"None": 0,
"Exist": 1,
"NotExist": 2,
}
var ChecksumAlgorithm_name = map[int32]string{
0: "Crc64_Xor",
}
var ChecksumAlgorithm_value = map[string]int32{
"Crc64_Xor": 0,
}
var CommandPri_name = map[int32]string{
0: "Normal",
1: "Low",
2: "High",
}
var CommandPri_value = map[string]int32{
"Normal": 0,
"Low": 1,
"High": 2,
}
var DiskFullOpt_name = map[int32]string{
0: "NotAllowedOnFull",
1: "AllowedOnAlmostFull",
2: "AllowedOnAlreadyFull",
}
var DiskFullOpt_value = map[string]int32{
"NotAllowedOnFull": 0,
"AllowedOnAlmostFull": 1,
"AllowedOnAlreadyFull": 2,
}
var ExtraOp_name = map[int32]string{
0: "Noop",
1: "ReadOldValue",
}
var ExtraOp_value = map[string]int32{
"Noop": 0,
"ReadOldValue": 1,
}
var IsolationLevel_name = map[int32]string{
0: "SI",
1: "RC",
2: "RCCheckTS",
}
var IsolationLevel_value = map[string]int32{
"SI": 0,
"RC": 1,
"RCCheckTS": 2,
}
var Op_name = map[int32]string{
0: "Put",
1: "Del",
2: "Lock",
3: "Rollback",
4: "Insert",
5: "PessimisticLock",
6: "CheckNotExists",
}
var Op_value = map[string]int32{
"Put": 0,
"Del": 1,
"Lock": 2,
"Rollback": 3,
"Insert": 4,
"PessimisticLock": 5,
"CheckNotExists": 6,
}
Functions ¶
This section is empty.
Types ¶
type APIVersion ¶
type APIVersion int32
The API version the server and the client is using. See more details in https://github.com/tikv/rfcs/blob/master/text/0069-api-v2.md.
const ( // Mainly for TxnKV and not safe to use RawKV along with TxnKV. // // V1 server only accepts V1 requests. Except that the V1 raw requests with TTL // will be rejected. APIVersion_V1 APIVersion = 0 // Only RawKV is available, and then 8 bytes representing the unix timestamp in // seconds for expiring time will be append to the value of all RawKV kv pairs. // // ------------------------------------------------------------ // | User value | Expire Ts | // ------------------------------------------------------------ // | 0x12 0x34 0x56 | 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff | // ------------------------------------------------------------ // // V1TTL server only accepts V1 raw requests. // V1 client should not use `V1TTL` in request. V1 client should always send `V1`. APIVersion_V1TTL APIVersion = 1 // TxnKV keys start with `x{keyspace id}`, `m`, or `t`. // // RawKV keys must be in `default` CF and all start with `r{keyspace id}` prefix, // where the keyspace id is in varint format (little endian), whose bytes expect // the last one always sets the most significant bit to 1. // // The last byte in the raw value must be a meta flag. For example: // // -------------------------------------- // | User value | Meta flags | // -------------------------------------- // | 0x12 0x34 0x56 | 0x00 (0b00000000) | // -------------------------------------- // // As shown in the example below, the least significant bit of the meta flag // indicates whether the value contains 8 bytes expire ts at the very left to the // meta flags. // // -------------------------------------------------------------------------------- // | User value | Expire Ts | Meta flags | // -------------------------------------------------------------------------------- // | 0x12 0x34 0x56 | 0x00 0x00 0x00 0x00 0x00 0x00 0xff 0xff | 0x01 (0b00000001) | // -------------------------------------------------------------------------------- // // V2 server accpets V2 requests and V1 txn requests that statrts with TiDB key // prefix (`m` and `t`). APIVersion_V2 APIVersion = 2 )
func (APIVersion) EnumDescriptor ¶
func (APIVersion) EnumDescriptor() ([]byte, []int)
func (APIVersion) String ¶
func (x APIVersion) String() string
type AlreadyExist ¶
type AlreadyExist struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AlreadyExist) Descriptor ¶
func (*AlreadyExist) Descriptor() ([]byte, []int)
func (*AlreadyExist) GetKey ¶
func (m *AlreadyExist) GetKey() []byte
func (*AlreadyExist) Marshal ¶
func (m *AlreadyExist) Marshal() (dAtA []byte, err error)
func (*AlreadyExist) MarshalToSizedBuffer ¶
func (m *AlreadyExist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AlreadyExist) ProtoMessage ¶
func (*AlreadyExist) ProtoMessage()
func (*AlreadyExist) Reset ¶
func (m *AlreadyExist) Reset()
func (*AlreadyExist) Size ¶
func (m *AlreadyExist) Size() (n int)
func (*AlreadyExist) String ¶
func (m *AlreadyExist) String() string
func (*AlreadyExist) Unmarshal ¶
func (m *AlreadyExist) Unmarshal(dAtA []byte) error
func (*AlreadyExist) XXX_DiscardUnknown ¶
func (m *AlreadyExist) XXX_DiscardUnknown()
func (*AlreadyExist) XXX_Marshal ¶
func (m *AlreadyExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AlreadyExist) XXX_Merge ¶
func (m *AlreadyExist) XXX_Merge(src proto.Message)
func (*AlreadyExist) XXX_Size ¶
func (m *AlreadyExist) XXX_Size() int
func (*AlreadyExist) XXX_Unmarshal ¶
func (m *AlreadyExist) XXX_Unmarshal(b []byte) error
type AssertionFailed ¶
type AssertionFailed struct { StartTs uint64 `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Assertion Assertion `protobuf:"varint,3,opt,name=assertion,proto3,enum=kvrpcpb.Assertion" json:"assertion,omitempty"` ExistingStartTs uint64 `protobuf:"varint,4,opt,name=existing_start_ts,json=existingStartTs,proto3" json:"existing_start_ts,omitempty"` ExistingCommitTs uint64 `protobuf:"varint,5,opt,name=existing_commit_ts,json=existingCommitTs,proto3" json:"existing_commit_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AssertionFailed) Descriptor ¶
func (*AssertionFailed) Descriptor() ([]byte, []int)
func (*AssertionFailed) GetAssertion ¶
func (m *AssertionFailed) GetAssertion() Assertion
func (*AssertionFailed) GetExistingCommitTs ¶
func (m *AssertionFailed) GetExistingCommitTs() uint64
func (*AssertionFailed) GetExistingStartTs ¶
func (m *AssertionFailed) GetExistingStartTs() uint64
func (*AssertionFailed) GetKey ¶
func (m *AssertionFailed) GetKey() []byte
func (*AssertionFailed) GetStartTs ¶
func (m *AssertionFailed) GetStartTs() uint64
func (*AssertionFailed) Marshal ¶
func (m *AssertionFailed) Marshal() (dAtA []byte, err error)
func (*AssertionFailed) MarshalToSizedBuffer ¶
func (m *AssertionFailed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AssertionFailed) ProtoMessage ¶
func (*AssertionFailed) ProtoMessage()
func (*AssertionFailed) Reset ¶
func (m *AssertionFailed) Reset()
func (*AssertionFailed) Size ¶
func (m *AssertionFailed) Size() (n int)
func (*AssertionFailed) String ¶
func (m *AssertionFailed) String() string
func (*AssertionFailed) Unmarshal ¶
func (m *AssertionFailed) Unmarshal(dAtA []byte) error
func (*AssertionFailed) XXX_DiscardUnknown ¶
func (m *AssertionFailed) XXX_DiscardUnknown()
func (*AssertionFailed) XXX_Marshal ¶
func (m *AssertionFailed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssertionFailed) XXX_Merge ¶
func (m *AssertionFailed) XXX_Merge(src proto.Message)
func (*AssertionFailed) XXX_Size ¶
func (m *AssertionFailed) XXX_Size() int
func (*AssertionFailed) XXX_Unmarshal ¶
func (m *AssertionFailed) XXX_Unmarshal(b []byte) error
type AssertionLevel ¶
type AssertionLevel int32
const ( // No assertion. AssertionLevel_Off AssertionLevel = 0 // Assertion is enabled, but not enforced when it might affect performance. AssertionLevel_Fast AssertionLevel = 1 // Assertion is enabled and enforced. AssertionLevel_Strict AssertionLevel = 2 )
func (AssertionLevel) EnumDescriptor ¶
func (AssertionLevel) EnumDescriptor() ([]byte, []int)
func (AssertionLevel) String ¶
func (x AssertionLevel) String() string
type BatchGetRequest ¶
type BatchGetRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Keys [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Similar to a `Get` request.
func (*BatchGetRequest) Descriptor ¶
func (*BatchGetRequest) Descriptor() ([]byte, []int)
func (*BatchGetRequest) GetContext ¶
func (m *BatchGetRequest) GetContext() *Context
func (*BatchGetRequest) GetKeys ¶
func (m *BatchGetRequest) GetKeys() [][]byte
func (*BatchGetRequest) GetVersion ¶
func (m *BatchGetRequest) GetVersion() uint64
func (*BatchGetRequest) Marshal ¶
func (m *BatchGetRequest) Marshal() (dAtA []byte, err error)
func (*BatchGetRequest) MarshalToSizedBuffer ¶
func (m *BatchGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchGetRequest) ProtoMessage ¶
func (*BatchGetRequest) ProtoMessage()
func (*BatchGetRequest) Reset ¶
func (m *BatchGetRequest) Reset()
func (*BatchGetRequest) Size ¶
func (m *BatchGetRequest) Size() (n int)
func (*BatchGetRequest) String ¶
func (m *BatchGetRequest) String() string
func (*BatchGetRequest) Unmarshal ¶
func (m *BatchGetRequest) Unmarshal(dAtA []byte) error
func (*BatchGetRequest) XXX_DiscardUnknown ¶
func (m *BatchGetRequest) XXX_DiscardUnknown()
func (*BatchGetRequest) XXX_Marshal ¶
func (m *BatchGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchGetRequest) XXX_Merge ¶
func (m *BatchGetRequest) XXX_Merge(src proto.Message)
func (*BatchGetRequest) XXX_Size ¶
func (m *BatchGetRequest) XXX_Size() int
func (*BatchGetRequest) XXX_Unmarshal ¶
func (m *BatchGetRequest) XXX_Unmarshal(b []byte) error
type BatchGetResponse ¶
type BatchGetResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Pairs []*KvPair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` // Time and scan details when processing the request. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,4,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` // This KeyError exists when some key is locked but we cannot check locks of all keys. // In this case, `pairs` should be empty and the client should redo batch get all the keys // after resolving the lock. Error *KeyError `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchGetResponse) Descriptor ¶
func (*BatchGetResponse) Descriptor() ([]byte, []int)
func (*BatchGetResponse) GetError ¶
func (m *BatchGetResponse) GetError() *KeyError
func (*BatchGetResponse) GetExecDetailsV2 ¶
func (m *BatchGetResponse) GetExecDetailsV2() *ExecDetailsV2
func (*BatchGetResponse) GetPairs ¶
func (m *BatchGetResponse) GetPairs() []*KvPair
func (*BatchGetResponse) GetRegionError ¶
func (m *BatchGetResponse) GetRegionError() *errorpb.Error
func (*BatchGetResponse) Marshal ¶
func (m *BatchGetResponse) Marshal() (dAtA []byte, err error)
func (*BatchGetResponse) MarshalToSizedBuffer ¶
func (m *BatchGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchGetResponse) ProtoMessage ¶
func (*BatchGetResponse) ProtoMessage()
func (*BatchGetResponse) Reset ¶
func (m *BatchGetResponse) Reset()
func (*BatchGetResponse) Size ¶
func (m *BatchGetResponse) Size() (n int)
func (*BatchGetResponse) String ¶
func (m *BatchGetResponse) String() string
func (*BatchGetResponse) Unmarshal ¶
func (m *BatchGetResponse) Unmarshal(dAtA []byte) error
func (*BatchGetResponse) XXX_DiscardUnknown ¶
func (m *BatchGetResponse) XXX_DiscardUnknown()
func (*BatchGetResponse) XXX_Marshal ¶
func (m *BatchGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchGetResponse) XXX_Merge ¶
func (m *BatchGetResponse) XXX_Merge(src proto.Message)
func (*BatchGetResponse) XXX_Size ¶
func (m *BatchGetResponse) XXX_Size() int
func (*BatchGetResponse) XXX_Unmarshal ¶
func (m *BatchGetResponse) XXX_Unmarshal(b []byte) error
type BatchRollbackRequest ¶
type BatchRollbackRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // Identify the transaction to be rolled back. StartVersion uint64 `protobuf:"varint,2,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` // The keys to rollback. Keys [][]byte `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Rollback a prewritten transaction. This will remove the preliminary data from the database, unlock locks, and leave a rollback tombstone.
func (*BatchRollbackRequest) Descriptor ¶
func (*BatchRollbackRequest) Descriptor() ([]byte, []int)
func (*BatchRollbackRequest) GetContext ¶
func (m *BatchRollbackRequest) GetContext() *Context
func (*BatchRollbackRequest) GetKeys ¶
func (m *BatchRollbackRequest) GetKeys() [][]byte
func (*BatchRollbackRequest) GetStartVersion ¶
func (m *BatchRollbackRequest) GetStartVersion() uint64
func (*BatchRollbackRequest) Marshal ¶
func (m *BatchRollbackRequest) Marshal() (dAtA []byte, err error)
func (*BatchRollbackRequest) MarshalTo ¶
func (m *BatchRollbackRequest) MarshalTo(dAtA []byte) (int, error)
func (*BatchRollbackRequest) MarshalToSizedBuffer ¶
func (m *BatchRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchRollbackRequest) ProtoMessage ¶
func (*BatchRollbackRequest) ProtoMessage()
func (*BatchRollbackRequest) Reset ¶
func (m *BatchRollbackRequest) Reset()
func (*BatchRollbackRequest) Size ¶
func (m *BatchRollbackRequest) Size() (n int)
func (*BatchRollbackRequest) String ¶
func (m *BatchRollbackRequest) String() string
func (*BatchRollbackRequest) Unmarshal ¶
func (m *BatchRollbackRequest) Unmarshal(dAtA []byte) error
func (*BatchRollbackRequest) XXX_DiscardUnknown ¶
func (m *BatchRollbackRequest) XXX_DiscardUnknown()
func (*BatchRollbackRequest) XXX_Marshal ¶
func (m *BatchRollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchRollbackRequest) XXX_Merge ¶
func (m *BatchRollbackRequest) XXX_Merge(src proto.Message)
func (*BatchRollbackRequest) XXX_Size ¶
func (m *BatchRollbackRequest) XXX_Size() int
func (*BatchRollbackRequest) XXX_Unmarshal ¶
func (m *BatchRollbackRequest) XXX_Unmarshal(b []byte) error
type BatchRollbackResponse ¶
type BatchRollbackResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,3,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchRollbackResponse) Descriptor ¶
func (*BatchRollbackResponse) Descriptor() ([]byte, []int)
func (*BatchRollbackResponse) GetError ¶
func (m *BatchRollbackResponse) GetError() *KeyError
func (*BatchRollbackResponse) GetExecDetailsV2 ¶
func (m *BatchRollbackResponse) GetExecDetailsV2() *ExecDetailsV2
func (*BatchRollbackResponse) GetRegionError ¶
func (m *BatchRollbackResponse) GetRegionError() *errorpb.Error
func (*BatchRollbackResponse) Marshal ¶
func (m *BatchRollbackResponse) Marshal() (dAtA []byte, err error)
func (*BatchRollbackResponse) MarshalTo ¶
func (m *BatchRollbackResponse) MarshalTo(dAtA []byte) (int, error)
func (*BatchRollbackResponse) MarshalToSizedBuffer ¶
func (m *BatchRollbackResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchRollbackResponse) ProtoMessage ¶
func (*BatchRollbackResponse) ProtoMessage()
func (*BatchRollbackResponse) Reset ¶
func (m *BatchRollbackResponse) Reset()
func (*BatchRollbackResponse) Size ¶
func (m *BatchRollbackResponse) Size() (n int)
func (*BatchRollbackResponse) String ¶
func (m *BatchRollbackResponse) String() string
func (*BatchRollbackResponse) Unmarshal ¶
func (m *BatchRollbackResponse) Unmarshal(dAtA []byte) error
func (*BatchRollbackResponse) XXX_DiscardUnknown ¶
func (m *BatchRollbackResponse) XXX_DiscardUnknown()
func (*BatchRollbackResponse) XXX_Marshal ¶
func (m *BatchRollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchRollbackResponse) XXX_Merge ¶
func (m *BatchRollbackResponse) XXX_Merge(src proto.Message)
func (*BatchRollbackResponse) XXX_Size ¶
func (m *BatchRollbackResponse) XXX_Size() int
func (*BatchRollbackResponse) XXX_Unmarshal ¶
func (m *BatchRollbackResponse) XXX_Unmarshal(b []byte) error
type CheckLeaderRequest ¶
type CheckLeaderRequest struct { Regions []*LeaderInfo `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` Ts uint64 `protobuf:"varint,2,opt,name=ts,proto3" json:"ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckLeaderRequest) Descriptor ¶
func (*CheckLeaderRequest) Descriptor() ([]byte, []int)
func (*CheckLeaderRequest) GetRegions ¶
func (m *CheckLeaderRequest) GetRegions() []*LeaderInfo
func (*CheckLeaderRequest) GetTs ¶
func (m *CheckLeaderRequest) GetTs() uint64
func (*CheckLeaderRequest) Marshal ¶
func (m *CheckLeaderRequest) Marshal() (dAtA []byte, err error)
func (*CheckLeaderRequest) MarshalTo ¶
func (m *CheckLeaderRequest) MarshalTo(dAtA []byte) (int, error)
func (*CheckLeaderRequest) MarshalToSizedBuffer ¶
func (m *CheckLeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckLeaderRequest) ProtoMessage ¶
func (*CheckLeaderRequest) ProtoMessage()
func (*CheckLeaderRequest) Reset ¶
func (m *CheckLeaderRequest) Reset()
func (*CheckLeaderRequest) Size ¶
func (m *CheckLeaderRequest) Size() (n int)
func (*CheckLeaderRequest) String ¶
func (m *CheckLeaderRequest) String() string
func (*CheckLeaderRequest) Unmarshal ¶
func (m *CheckLeaderRequest) Unmarshal(dAtA []byte) error
func (*CheckLeaderRequest) XXX_DiscardUnknown ¶
func (m *CheckLeaderRequest) XXX_DiscardUnknown()
func (*CheckLeaderRequest) XXX_Marshal ¶
func (m *CheckLeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckLeaderRequest) XXX_Merge ¶
func (m *CheckLeaderRequest) XXX_Merge(src proto.Message)
func (*CheckLeaderRequest) XXX_Size ¶
func (m *CheckLeaderRequest) XXX_Size() int
func (*CheckLeaderRequest) XXX_Unmarshal ¶
func (m *CheckLeaderRequest) XXX_Unmarshal(b []byte) error
type CheckLeaderResponse ¶
type CheckLeaderResponse struct { Regions []uint64 `protobuf:"varint,1,rep,packed,name=regions,proto3" json:"regions,omitempty"` Ts uint64 `protobuf:"varint,2,opt,name=ts,proto3" json:"ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckLeaderResponse) Descriptor ¶
func (*CheckLeaderResponse) Descriptor() ([]byte, []int)
func (*CheckLeaderResponse) GetRegions ¶
func (m *CheckLeaderResponse) GetRegions() []uint64
func (*CheckLeaderResponse) GetTs ¶
func (m *CheckLeaderResponse) GetTs() uint64
func (*CheckLeaderResponse) Marshal ¶
func (m *CheckLeaderResponse) Marshal() (dAtA []byte, err error)
func (*CheckLeaderResponse) MarshalTo ¶
func (m *CheckLeaderResponse) MarshalTo(dAtA []byte) (int, error)
func (*CheckLeaderResponse) MarshalToSizedBuffer ¶
func (m *CheckLeaderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckLeaderResponse) ProtoMessage ¶
func (*CheckLeaderResponse) ProtoMessage()
func (*CheckLeaderResponse) Reset ¶
func (m *CheckLeaderResponse) Reset()
func (*CheckLeaderResponse) Size ¶
func (m *CheckLeaderResponse) Size() (n int)
func (*CheckLeaderResponse) String ¶
func (m *CheckLeaderResponse) String() string
func (*CheckLeaderResponse) Unmarshal ¶
func (m *CheckLeaderResponse) Unmarshal(dAtA []byte) error
func (*CheckLeaderResponse) XXX_DiscardUnknown ¶
func (m *CheckLeaderResponse) XXX_DiscardUnknown()
func (*CheckLeaderResponse) XXX_Marshal ¶
func (m *CheckLeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckLeaderResponse) XXX_Merge ¶
func (m *CheckLeaderResponse) XXX_Merge(src proto.Message)
func (*CheckLeaderResponse) XXX_Size ¶
func (m *CheckLeaderResponse) XXX_Size() int
func (*CheckLeaderResponse) XXX_Unmarshal ¶
func (m *CheckLeaderResponse) XXX_Unmarshal(b []byte) error
type CheckLockObserverRequest ¶
type CheckLockObserverRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` MaxTs uint64 `protobuf:"varint,2,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckLockObserverRequest) Descriptor ¶
func (*CheckLockObserverRequest) Descriptor() ([]byte, []int)
func (*CheckLockObserverRequest) GetContext ¶
func (m *CheckLockObserverRequest) GetContext() *Context
func (*CheckLockObserverRequest) GetMaxTs ¶
func (m *CheckLockObserverRequest) GetMaxTs() uint64
func (*CheckLockObserverRequest) Marshal ¶
func (m *CheckLockObserverRequest) Marshal() (dAtA []byte, err error)
func (*CheckLockObserverRequest) MarshalTo ¶
func (m *CheckLockObserverRequest) MarshalTo(dAtA []byte) (int, error)
func (*CheckLockObserverRequest) MarshalToSizedBuffer ¶
func (m *CheckLockObserverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckLockObserverRequest) ProtoMessage ¶
func (*CheckLockObserverRequest) ProtoMessage()
func (*CheckLockObserverRequest) Reset ¶
func (m *CheckLockObserverRequest) Reset()
func (*CheckLockObserverRequest) Size ¶
func (m *CheckLockObserverRequest) Size() (n int)
func (*CheckLockObserverRequest) String ¶
func (m *CheckLockObserverRequest) String() string
func (*CheckLockObserverRequest) Unmarshal ¶
func (m *CheckLockObserverRequest) Unmarshal(dAtA []byte) error
func (*CheckLockObserverRequest) XXX_DiscardUnknown ¶
func (m *CheckLockObserverRequest) XXX_DiscardUnknown()
func (*CheckLockObserverRequest) XXX_Marshal ¶
func (m *CheckLockObserverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckLockObserverRequest) XXX_Merge ¶
func (m *CheckLockObserverRequest) XXX_Merge(src proto.Message)
func (*CheckLockObserverRequest) XXX_Size ¶
func (m *CheckLockObserverRequest) XXX_Size() int
func (*CheckLockObserverRequest) XXX_Unmarshal ¶
func (m *CheckLockObserverRequest) XXX_Unmarshal(b []byte) error
type CheckLockObserverResponse ¶
type CheckLockObserverResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` IsClean bool `protobuf:"varint,2,opt,name=is_clean,json=isClean,proto3" json:"is_clean,omitempty"` Locks []*LockInfo `protobuf:"bytes,3,rep,name=locks,proto3" json:"locks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckLockObserverResponse) Descriptor ¶
func (*CheckLockObserverResponse) Descriptor() ([]byte, []int)
func (*CheckLockObserverResponse) GetError ¶
func (m *CheckLockObserverResponse) GetError() string
func (*CheckLockObserverResponse) GetIsClean ¶
func (m *CheckLockObserverResponse) GetIsClean() bool
func (*CheckLockObserverResponse) GetLocks ¶
func (m *CheckLockObserverResponse) GetLocks() []*LockInfo
func (*CheckLockObserverResponse) Marshal ¶
func (m *CheckLockObserverResponse) Marshal() (dAtA []byte, err error)
func (*CheckLockObserverResponse) MarshalTo ¶
func (m *CheckLockObserverResponse) MarshalTo(dAtA []byte) (int, error)
func (*CheckLockObserverResponse) MarshalToSizedBuffer ¶
func (m *CheckLockObserverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckLockObserverResponse) ProtoMessage ¶
func (*CheckLockObserverResponse) ProtoMessage()
func (*CheckLockObserverResponse) Reset ¶
func (m *CheckLockObserverResponse) Reset()
func (*CheckLockObserverResponse) Size ¶
func (m *CheckLockObserverResponse) Size() (n int)
func (*CheckLockObserverResponse) String ¶
func (m *CheckLockObserverResponse) String() string
func (*CheckLockObserverResponse) Unmarshal ¶
func (m *CheckLockObserverResponse) Unmarshal(dAtA []byte) error
func (*CheckLockObserverResponse) XXX_DiscardUnknown ¶
func (m *CheckLockObserverResponse) XXX_DiscardUnknown()
func (*CheckLockObserverResponse) XXX_Marshal ¶
func (m *CheckLockObserverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckLockObserverResponse) XXX_Merge ¶
func (m *CheckLockObserverResponse) XXX_Merge(src proto.Message)
func (*CheckLockObserverResponse) XXX_Size ¶
func (m *CheckLockObserverResponse) XXX_Size() int
func (*CheckLockObserverResponse) XXX_Unmarshal ¶
func (m *CheckLockObserverResponse) XXX_Unmarshal(b []byte) error
type CheckSecondaryLocksRequest ¶
type CheckSecondaryLocksRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Keys [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` // Identifies the transaction we are investigating. StartVersion uint64 `protobuf:"varint,3,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Part of the async commit protocol, checks for locks on all supplied keys. If a lock is missing, does not have a successful status, or belongs to another transaction, TiKV will leave a rollback tombstone for that key.
func (*CheckSecondaryLocksRequest) Descriptor ¶
func (*CheckSecondaryLocksRequest) Descriptor() ([]byte, []int)
func (*CheckSecondaryLocksRequest) GetContext ¶
func (m *CheckSecondaryLocksRequest) GetContext() *Context
func (*CheckSecondaryLocksRequest) GetKeys ¶
func (m *CheckSecondaryLocksRequest) GetKeys() [][]byte
func (*CheckSecondaryLocksRequest) GetStartVersion ¶
func (m *CheckSecondaryLocksRequest) GetStartVersion() uint64
func (*CheckSecondaryLocksRequest) Marshal ¶
func (m *CheckSecondaryLocksRequest) Marshal() (dAtA []byte, err error)
func (*CheckSecondaryLocksRequest) MarshalTo ¶
func (m *CheckSecondaryLocksRequest) MarshalTo(dAtA []byte) (int, error)
func (*CheckSecondaryLocksRequest) MarshalToSizedBuffer ¶
func (m *CheckSecondaryLocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckSecondaryLocksRequest) ProtoMessage ¶
func (*CheckSecondaryLocksRequest) ProtoMessage()
func (*CheckSecondaryLocksRequest) Reset ¶
func (m *CheckSecondaryLocksRequest) Reset()
func (*CheckSecondaryLocksRequest) Size ¶
func (m *CheckSecondaryLocksRequest) Size() (n int)
func (*CheckSecondaryLocksRequest) String ¶
func (m *CheckSecondaryLocksRequest) String() string
func (*CheckSecondaryLocksRequest) Unmarshal ¶
func (m *CheckSecondaryLocksRequest) Unmarshal(dAtA []byte) error
func (*CheckSecondaryLocksRequest) XXX_DiscardUnknown ¶
func (m *CheckSecondaryLocksRequest) XXX_DiscardUnknown()
func (*CheckSecondaryLocksRequest) XXX_Marshal ¶
func (m *CheckSecondaryLocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckSecondaryLocksRequest) XXX_Merge ¶
func (m *CheckSecondaryLocksRequest) XXX_Merge(src proto.Message)
func (*CheckSecondaryLocksRequest) XXX_Size ¶
func (m *CheckSecondaryLocksRequest) XXX_Size() int
func (*CheckSecondaryLocksRequest) XXX_Unmarshal ¶
func (m *CheckSecondaryLocksRequest) XXX_Unmarshal(b []byte) error
type CheckSecondaryLocksResponse ¶
type CheckSecondaryLocksResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // For each key in `keys` in `CheckSecondaryLocks`, there will be a lock in // this list if there is a lock present and belonging to the correct transaction, // nil otherwise. Locks []*LockInfo `protobuf:"bytes,3,rep,name=locks,proto3" json:"locks,omitempty"` // If any of the locks have been committed, this is the commit ts used. If no // locks have been committed, it will be zero. CommitTs uint64 `protobuf:"varint,4,opt,name=commit_ts,json=commitTs,proto3" json:"commit_ts,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,5,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckSecondaryLocksResponse) Descriptor ¶
func (*CheckSecondaryLocksResponse) Descriptor() ([]byte, []int)
func (*CheckSecondaryLocksResponse) GetCommitTs ¶
func (m *CheckSecondaryLocksResponse) GetCommitTs() uint64
func (*CheckSecondaryLocksResponse) GetError ¶
func (m *CheckSecondaryLocksResponse) GetError() *KeyError
func (*CheckSecondaryLocksResponse) GetExecDetailsV2 ¶
func (m *CheckSecondaryLocksResponse) GetExecDetailsV2() *ExecDetailsV2
func (*CheckSecondaryLocksResponse) GetLocks ¶
func (m *CheckSecondaryLocksResponse) GetLocks() []*LockInfo
func (*CheckSecondaryLocksResponse) GetRegionError ¶
func (m *CheckSecondaryLocksResponse) GetRegionError() *errorpb.Error
func (*CheckSecondaryLocksResponse) Marshal ¶
func (m *CheckSecondaryLocksResponse) Marshal() (dAtA []byte, err error)
func (*CheckSecondaryLocksResponse) MarshalTo ¶
func (m *CheckSecondaryLocksResponse) MarshalTo(dAtA []byte) (int, error)
func (*CheckSecondaryLocksResponse) MarshalToSizedBuffer ¶
func (m *CheckSecondaryLocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckSecondaryLocksResponse) ProtoMessage ¶
func (*CheckSecondaryLocksResponse) ProtoMessage()
func (*CheckSecondaryLocksResponse) Reset ¶
func (m *CheckSecondaryLocksResponse) Reset()
func (*CheckSecondaryLocksResponse) Size ¶
func (m *CheckSecondaryLocksResponse) Size() (n int)
func (*CheckSecondaryLocksResponse) String ¶
func (m *CheckSecondaryLocksResponse) String() string
func (*CheckSecondaryLocksResponse) Unmarshal ¶
func (m *CheckSecondaryLocksResponse) Unmarshal(dAtA []byte) error
func (*CheckSecondaryLocksResponse) XXX_DiscardUnknown ¶
func (m *CheckSecondaryLocksResponse) XXX_DiscardUnknown()
func (*CheckSecondaryLocksResponse) XXX_Marshal ¶
func (m *CheckSecondaryLocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckSecondaryLocksResponse) XXX_Merge ¶
func (m *CheckSecondaryLocksResponse) XXX_Merge(src proto.Message)
func (*CheckSecondaryLocksResponse) XXX_Size ¶
func (m *CheckSecondaryLocksResponse) XXX_Size() int
func (*CheckSecondaryLocksResponse) XXX_Unmarshal ¶
func (m *CheckSecondaryLocksResponse) XXX_Unmarshal(b []byte) error
type CheckTxnStatusRequest ¶
type CheckTxnStatusRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // Primary key and lock ts together to locate the primary lock of a transaction. PrimaryKey []byte `protobuf:"bytes,2,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"` // Starting timestamp of the transaction being checked. LockTs uint64 `protobuf:"varint,3,opt,name=lock_ts,json=lockTs,proto3" json:"lock_ts,omitempty"` // The start timestamp of the transaction which this request is part of. CallerStartTs uint64 `protobuf:"varint,4,opt,name=caller_start_ts,json=callerStartTs,proto3" json:"caller_start_ts,omitempty"` // The client must specify the current time to TiKV using this timestamp. It is used to check TTL // timeouts. It may be inaccurate. CurrentTs uint64 `protobuf:"varint,5,opt,name=current_ts,json=currentTs,proto3" json:"current_ts,omitempty"` // If true, then TiKV will leave a rollback tombstone in the write CF for `primary_key`, even if // that key is not locked. RollbackIfNotExist bool `protobuf:"varint,6,opt,name=rollback_if_not_exist,json=rollbackIfNotExist,proto3" json:"rollback_if_not_exist,omitempty"` // This field is set to true only if the transaction is known to fall back from async commit. // Then, CheckTxnStatus treats the transaction as non-async-commit even if the use_async_commit // field in the primary lock is true. ForceSyncCommit bool `protobuf:"varint,7,opt,name=force_sync_commit,json=forceSyncCommit,proto3" json:"force_sync_commit,omitempty"` // If the check request is used to resolve or decide the transaction status for a input pessimistic // lock, the transaction status could not be decided if the primary lock is pessimistic too and // it's still uncertain. ResolvingPessimisticLock bool `` /* 136-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CheckTxnStatusRequest checks the status of a transaction. If the transaction is rollbacked/committed, return that result. If the TTL of the transaction is exhausted, abort that transaction and inform the caller. Otherwise, returns the TTL information for the transaction. CheckTxnStatusRequest may also push forward the minCommitTS of a large transaction.
func (*CheckTxnStatusRequest) Descriptor ¶
func (*CheckTxnStatusRequest) Descriptor() ([]byte, []int)
func (*CheckTxnStatusRequest) GetCallerStartTs ¶
func (m *CheckTxnStatusRequest) GetCallerStartTs() uint64
func (*CheckTxnStatusRequest) GetContext ¶
func (m *CheckTxnStatusRequest) GetContext() *Context
func (*CheckTxnStatusRequest) GetCurrentTs ¶
func (m *CheckTxnStatusRequest) GetCurrentTs() uint64
func (*CheckTxnStatusRequest) GetForceSyncCommit ¶
func (m *CheckTxnStatusRequest) GetForceSyncCommit() bool
func (*CheckTxnStatusRequest) GetLockTs ¶
func (m *CheckTxnStatusRequest) GetLockTs() uint64
func (*CheckTxnStatusRequest) GetPrimaryKey ¶
func (m *CheckTxnStatusRequest) GetPrimaryKey() []byte
func (*CheckTxnStatusRequest) GetResolvingPessimisticLock ¶
func (m *CheckTxnStatusRequest) GetResolvingPessimisticLock() bool
func (*CheckTxnStatusRequest) GetRollbackIfNotExist ¶
func (m *CheckTxnStatusRequest) GetRollbackIfNotExist() bool
func (*CheckTxnStatusRequest) Marshal ¶
func (m *CheckTxnStatusRequest) Marshal() (dAtA []byte, err error)
func (*CheckTxnStatusRequest) MarshalTo ¶
func (m *CheckTxnStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*CheckTxnStatusRequest) MarshalToSizedBuffer ¶
func (m *CheckTxnStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckTxnStatusRequest) ProtoMessage ¶
func (*CheckTxnStatusRequest) ProtoMessage()
func (*CheckTxnStatusRequest) Reset ¶
func (m *CheckTxnStatusRequest) Reset()
func (*CheckTxnStatusRequest) Size ¶
func (m *CheckTxnStatusRequest) Size() (n int)
func (*CheckTxnStatusRequest) String ¶
func (m *CheckTxnStatusRequest) String() string
func (*CheckTxnStatusRequest) Unmarshal ¶
func (m *CheckTxnStatusRequest) Unmarshal(dAtA []byte) error
func (*CheckTxnStatusRequest) XXX_DiscardUnknown ¶
func (m *CheckTxnStatusRequest) XXX_DiscardUnknown()
func (*CheckTxnStatusRequest) XXX_Marshal ¶
func (m *CheckTxnStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckTxnStatusRequest) XXX_Merge ¶
func (m *CheckTxnStatusRequest) XXX_Merge(src proto.Message)
func (*CheckTxnStatusRequest) XXX_Size ¶
func (m *CheckTxnStatusRequest) XXX_Size() int
func (*CheckTxnStatusRequest) XXX_Unmarshal ¶
func (m *CheckTxnStatusRequest) XXX_Unmarshal(b []byte) error
type CheckTxnStatusResponse ¶
type CheckTxnStatusResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Three kinds of transaction status: // locked: lock_ttl > 0 // committed: commit_version > 0 // rollbacked: lock_ttl = 0 && commit_version = 0 LockTtl uint64 `protobuf:"varint,3,opt,name=lock_ttl,json=lockTtl,proto3" json:"lock_ttl,omitempty"` CommitVersion uint64 `protobuf:"varint,4,opt,name=commit_version,json=commitVersion,proto3" json:"commit_version,omitempty"` // The action performed by TiKV (and why if the action is to rollback). Action Action `protobuf:"varint,5,opt,name=action,proto3,enum=kvrpcpb.Action" json:"action,omitempty"` LockInfo *LockInfo `protobuf:"bytes,6,opt,name=lock_info,json=lockInfo,proto3" json:"lock_info,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,7,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckTxnStatusResponse) Descriptor ¶
func (*CheckTxnStatusResponse) Descriptor() ([]byte, []int)
func (*CheckTxnStatusResponse) GetAction ¶
func (m *CheckTxnStatusResponse) GetAction() Action
func (*CheckTxnStatusResponse) GetCommitVersion ¶
func (m *CheckTxnStatusResponse) GetCommitVersion() uint64
func (*CheckTxnStatusResponse) GetError ¶
func (m *CheckTxnStatusResponse) GetError() *KeyError
func (*CheckTxnStatusResponse) GetExecDetailsV2 ¶
func (m *CheckTxnStatusResponse) GetExecDetailsV2() *ExecDetailsV2
func (*CheckTxnStatusResponse) GetLockInfo ¶
func (m *CheckTxnStatusResponse) GetLockInfo() *LockInfo
func (*CheckTxnStatusResponse) GetLockTtl ¶
func (m *CheckTxnStatusResponse) GetLockTtl() uint64
func (*CheckTxnStatusResponse) GetRegionError ¶
func (m *CheckTxnStatusResponse) GetRegionError() *errorpb.Error
func (*CheckTxnStatusResponse) Marshal ¶
func (m *CheckTxnStatusResponse) Marshal() (dAtA []byte, err error)
func (*CheckTxnStatusResponse) MarshalTo ¶
func (m *CheckTxnStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*CheckTxnStatusResponse) MarshalToSizedBuffer ¶
func (m *CheckTxnStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CheckTxnStatusResponse) ProtoMessage ¶
func (*CheckTxnStatusResponse) ProtoMessage()
func (*CheckTxnStatusResponse) Reset ¶
func (m *CheckTxnStatusResponse) Reset()
func (*CheckTxnStatusResponse) Size ¶
func (m *CheckTxnStatusResponse) Size() (n int)
func (*CheckTxnStatusResponse) String ¶
func (m *CheckTxnStatusResponse) String() string
func (*CheckTxnStatusResponse) Unmarshal ¶
func (m *CheckTxnStatusResponse) Unmarshal(dAtA []byte) error
func (*CheckTxnStatusResponse) XXX_DiscardUnknown ¶
func (m *CheckTxnStatusResponse) XXX_DiscardUnknown()
func (*CheckTxnStatusResponse) XXX_Marshal ¶
func (m *CheckTxnStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckTxnStatusResponse) XXX_Merge ¶
func (m *CheckTxnStatusResponse) XXX_Merge(src proto.Message)
func (*CheckTxnStatusResponse) XXX_Size ¶
func (m *CheckTxnStatusResponse) XXX_Size() int
func (*CheckTxnStatusResponse) XXX_Unmarshal ¶
func (m *CheckTxnStatusResponse) XXX_Unmarshal(b []byte) error
type ChecksumAlgorithm ¶
type ChecksumAlgorithm int32
const (
ChecksumAlgorithm_Crc64_Xor ChecksumAlgorithm = 0
)
func (ChecksumAlgorithm) EnumDescriptor ¶
func (ChecksumAlgorithm) EnumDescriptor() ([]byte, []int)
func (ChecksumAlgorithm) String ¶
func (x ChecksumAlgorithm) String() string
type CleanupRequest ¶
type CleanupRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` StartVersion uint64 `protobuf:"varint,3,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` // The current timestamp, used in combination with a lock's TTL to determine // if the lock has expired. If `current_ts == 0`, then the key will be unlocked // irrespective of its TTL. CurrentTs uint64 `protobuf:"varint,4,opt,name=current_ts,json=currentTs,proto3" json:"current_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Cleanup a key by possibly unlocking it. From 4.0 onwards, this message is no longer used.
func (*CleanupRequest) Descriptor ¶
func (*CleanupRequest) Descriptor() ([]byte, []int)
func (*CleanupRequest) GetContext ¶
func (m *CleanupRequest) GetContext() *Context
func (*CleanupRequest) GetCurrentTs ¶
func (m *CleanupRequest) GetCurrentTs() uint64
func (*CleanupRequest) GetKey ¶
func (m *CleanupRequest) GetKey() []byte
func (*CleanupRequest) GetStartVersion ¶
func (m *CleanupRequest) GetStartVersion() uint64
func (*CleanupRequest) Marshal ¶
func (m *CleanupRequest) Marshal() (dAtA []byte, err error)
func (*CleanupRequest) MarshalToSizedBuffer ¶
func (m *CleanupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CleanupRequest) ProtoMessage ¶
func (*CleanupRequest) ProtoMessage()
func (*CleanupRequest) Reset ¶
func (m *CleanupRequest) Reset()
func (*CleanupRequest) Size ¶
func (m *CleanupRequest) Size() (n int)
func (*CleanupRequest) String ¶
func (m *CleanupRequest) String() string
func (*CleanupRequest) Unmarshal ¶
func (m *CleanupRequest) Unmarshal(dAtA []byte) error
func (*CleanupRequest) XXX_DiscardUnknown ¶
func (m *CleanupRequest) XXX_DiscardUnknown()
func (*CleanupRequest) XXX_Marshal ¶
func (m *CleanupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CleanupRequest) XXX_Merge ¶
func (m *CleanupRequest) XXX_Merge(src proto.Message)
func (*CleanupRequest) XXX_Size ¶
func (m *CleanupRequest) XXX_Size() int
func (*CleanupRequest) XXX_Unmarshal ¶
func (m *CleanupRequest) XXX_Unmarshal(b []byte) error
type CleanupResponse ¶
type CleanupResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Set if the key is already committed. CommitVersion uint64 `protobuf:"varint,3,opt,name=commit_version,json=commitVersion,proto3" json:"commit_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CleanupResponse) Descriptor ¶
func (*CleanupResponse) Descriptor() ([]byte, []int)
func (*CleanupResponse) GetCommitVersion ¶
func (m *CleanupResponse) GetCommitVersion() uint64
func (*CleanupResponse) GetError ¶
func (m *CleanupResponse) GetError() *KeyError
func (*CleanupResponse) GetRegionError ¶
func (m *CleanupResponse) GetRegionError() *errorpb.Error
func (*CleanupResponse) Marshal ¶
func (m *CleanupResponse) Marshal() (dAtA []byte, err error)
func (*CleanupResponse) MarshalToSizedBuffer ¶
func (m *CleanupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CleanupResponse) ProtoMessage ¶
func (*CleanupResponse) ProtoMessage()
func (*CleanupResponse) Reset ¶
func (m *CleanupResponse) Reset()
func (*CleanupResponse) Size ¶
func (m *CleanupResponse) Size() (n int)
func (*CleanupResponse) String ¶
func (m *CleanupResponse) String() string
func (*CleanupResponse) Unmarshal ¶
func (m *CleanupResponse) Unmarshal(dAtA []byte) error
func (*CleanupResponse) XXX_DiscardUnknown ¶
func (m *CleanupResponse) XXX_DiscardUnknown()
func (*CleanupResponse) XXX_Marshal ¶
func (m *CleanupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CleanupResponse) XXX_Merge ¶
func (m *CleanupResponse) XXX_Merge(src proto.Message)
func (*CleanupResponse) XXX_Size ¶
func (m *CleanupResponse) XXX_Size() int
func (*CleanupResponse) XXX_Unmarshal ¶
func (m *CleanupResponse) XXX_Unmarshal(b []byte) error
type CommandPri ¶
type CommandPri int32
const ( CommandPri_Normal CommandPri = 0 CommandPri_Low CommandPri = 1 CommandPri_High CommandPri = 2 )
func (CommandPri) EnumDescriptor ¶
func (CommandPri) EnumDescriptor() ([]byte, []int)
func (CommandPri) String ¶
func (x CommandPri) String() string
type CommitRequest ¶
type CommitRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // Identifies the transaction. StartVersion uint64 `protobuf:"varint,2,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` // All keys in the transaction (to be committed). Keys [][]byte `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` // Timestamp for the end of the transaction. Must be greater than `start_version`. CommitVersion uint64 `protobuf:"varint,4,opt,name=commit_version,json=commitVersion,proto3" json:"commit_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The second phase of writing to TiKV. If there are no errors or conflicts, then this request commits a transaction so that its data can be read by other transactions.
func (*CommitRequest) Descriptor ¶
func (*CommitRequest) Descriptor() ([]byte, []int)
func (*CommitRequest) GetCommitVersion ¶
func (m *CommitRequest) GetCommitVersion() uint64
func (*CommitRequest) GetContext ¶
func (m *CommitRequest) GetContext() *Context
func (*CommitRequest) GetKeys ¶
func (m *CommitRequest) GetKeys() [][]byte
func (*CommitRequest) GetStartVersion ¶
func (m *CommitRequest) GetStartVersion() uint64
func (*CommitRequest) Marshal ¶
func (m *CommitRequest) Marshal() (dAtA []byte, err error)
func (*CommitRequest) MarshalToSizedBuffer ¶
func (m *CommitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommitRequest) ProtoMessage ¶
func (*CommitRequest) ProtoMessage()
func (*CommitRequest) Reset ¶
func (m *CommitRequest) Reset()
func (*CommitRequest) Size ¶
func (m *CommitRequest) Size() (n int)
func (*CommitRequest) String ¶
func (m *CommitRequest) String() string
func (*CommitRequest) Unmarshal ¶
func (m *CommitRequest) Unmarshal(dAtA []byte) error
func (*CommitRequest) XXX_DiscardUnknown ¶
func (m *CommitRequest) XXX_DiscardUnknown()
func (*CommitRequest) XXX_Marshal ¶
func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitRequest) XXX_Merge ¶
func (m *CommitRequest) XXX_Merge(src proto.Message)
func (*CommitRequest) XXX_Size ¶
func (m *CommitRequest) XXX_Size() int
func (*CommitRequest) XXX_Unmarshal ¶
func (m *CommitRequest) XXX_Unmarshal(b []byte) error
type CommitResponse ¶
type CommitResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // If the commit ts is derived from min_commit_ts, this field should be set. CommitVersion uint64 `protobuf:"varint,3,opt,name=commit_version,json=commitVersion,proto3" json:"commit_version,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,4,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommitResponse) Descriptor ¶
func (*CommitResponse) Descriptor() ([]byte, []int)
func (*CommitResponse) GetCommitVersion ¶
func (m *CommitResponse) GetCommitVersion() uint64
func (*CommitResponse) GetError ¶
func (m *CommitResponse) GetError() *KeyError
func (*CommitResponse) GetExecDetailsV2 ¶
func (m *CommitResponse) GetExecDetailsV2() *ExecDetailsV2
func (*CommitResponse) GetRegionError ¶
func (m *CommitResponse) GetRegionError() *errorpb.Error
func (*CommitResponse) Marshal ¶
func (m *CommitResponse) Marshal() (dAtA []byte, err error)
func (*CommitResponse) MarshalToSizedBuffer ¶
func (m *CommitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommitResponse) ProtoMessage ¶
func (*CommitResponse) ProtoMessage()
func (*CommitResponse) Reset ¶
func (m *CommitResponse) Reset()
func (*CommitResponse) Size ¶
func (m *CommitResponse) Size() (n int)
func (*CommitResponse) String ¶
func (m *CommitResponse) String() string
func (*CommitResponse) Unmarshal ¶
func (m *CommitResponse) Unmarshal(dAtA []byte) error
func (*CommitResponse) XXX_DiscardUnknown ¶
func (m *CommitResponse) XXX_DiscardUnknown()
func (*CommitResponse) XXX_Marshal ¶
func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitResponse) XXX_Merge ¶
func (m *CommitResponse) XXX_Merge(src proto.Message)
func (*CommitResponse) XXX_Size ¶
func (m *CommitResponse) XXX_Size() int
func (*CommitResponse) XXX_Unmarshal ¶
func (m *CommitResponse) XXX_Unmarshal(b []byte) error
type CommitTsExpired ¶
type CommitTsExpired struct { StartTs uint64 `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` AttemptedCommitTs uint64 `protobuf:"varint,2,opt,name=attempted_commit_ts,json=attemptedCommitTs,proto3" json:"attempted_commit_ts,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` MinCommitTs uint64 `protobuf:"varint,4,opt,name=min_commit_ts,json=minCommitTs,proto3" json:"min_commit_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommitTsExpired) Descriptor ¶
func (*CommitTsExpired) Descriptor() ([]byte, []int)
func (*CommitTsExpired) GetAttemptedCommitTs ¶
func (m *CommitTsExpired) GetAttemptedCommitTs() uint64
func (*CommitTsExpired) GetKey ¶
func (m *CommitTsExpired) GetKey() []byte
func (*CommitTsExpired) GetMinCommitTs ¶
func (m *CommitTsExpired) GetMinCommitTs() uint64
func (*CommitTsExpired) GetStartTs ¶
func (m *CommitTsExpired) GetStartTs() uint64
func (*CommitTsExpired) Marshal ¶
func (m *CommitTsExpired) Marshal() (dAtA []byte, err error)
func (*CommitTsExpired) MarshalToSizedBuffer ¶
func (m *CommitTsExpired) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommitTsExpired) ProtoMessage ¶
func (*CommitTsExpired) ProtoMessage()
func (*CommitTsExpired) Reset ¶
func (m *CommitTsExpired) Reset()
func (*CommitTsExpired) Size ¶
func (m *CommitTsExpired) Size() (n int)
func (*CommitTsExpired) String ¶
func (m *CommitTsExpired) String() string
func (*CommitTsExpired) Unmarshal ¶
func (m *CommitTsExpired) Unmarshal(dAtA []byte) error
func (*CommitTsExpired) XXX_DiscardUnknown ¶
func (m *CommitTsExpired) XXX_DiscardUnknown()
func (*CommitTsExpired) XXX_Marshal ¶
func (m *CommitTsExpired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitTsExpired) XXX_Merge ¶
func (m *CommitTsExpired) XXX_Merge(src proto.Message)
func (*CommitTsExpired) XXX_Size ¶
func (m *CommitTsExpired) XXX_Size() int
func (*CommitTsExpired) XXX_Unmarshal ¶
func (m *CommitTsExpired) XXX_Unmarshal(b []byte) error
type CommitTsTooLarge ¶
type CommitTsTooLarge struct { CommitTs uint64 `protobuf:"varint,1,opt,name=commit_ts,json=commitTs,proto3" json:"commit_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommitTsTooLarge) Descriptor ¶
func (*CommitTsTooLarge) Descriptor() ([]byte, []int)
func (*CommitTsTooLarge) GetCommitTs ¶
func (m *CommitTsTooLarge) GetCommitTs() uint64
func (*CommitTsTooLarge) Marshal ¶
func (m *CommitTsTooLarge) Marshal() (dAtA []byte, err error)
func (*CommitTsTooLarge) MarshalToSizedBuffer ¶
func (m *CommitTsTooLarge) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommitTsTooLarge) ProtoMessage ¶
func (*CommitTsTooLarge) ProtoMessage()
func (*CommitTsTooLarge) Reset ¶
func (m *CommitTsTooLarge) Reset()
func (*CommitTsTooLarge) Size ¶
func (m *CommitTsTooLarge) Size() (n int)
func (*CommitTsTooLarge) String ¶
func (m *CommitTsTooLarge) String() string
func (*CommitTsTooLarge) Unmarshal ¶
func (m *CommitTsTooLarge) Unmarshal(dAtA []byte) error
func (*CommitTsTooLarge) XXX_DiscardUnknown ¶
func (m *CommitTsTooLarge) XXX_DiscardUnknown()
func (*CommitTsTooLarge) XXX_Marshal ¶
func (m *CommitTsTooLarge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitTsTooLarge) XXX_Merge ¶
func (m *CommitTsTooLarge) XXX_Merge(src proto.Message)
func (*CommitTsTooLarge) XXX_Size ¶
func (m *CommitTsTooLarge) XXX_Size() int
func (*CommitTsTooLarge) XXX_Unmarshal ¶
func (m *CommitTsTooLarge) XXX_Unmarshal(b []byte) error
type CompactError ¶
type CompactError struct { // Types that are valid to be assigned to Error: // *CompactError_ErrInvalidStartKey // *CompactError_ErrPhysicalTableNotExist // *CompactError_ErrCompactInProgress // *CompactError_ErrTooManyPendingTasks Error isCompactError_Error `protobuf_oneof:"error"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompactError) Descriptor ¶
func (*CompactError) Descriptor() ([]byte, []int)
func (*CompactError) GetErrCompactInProgress ¶
func (m *CompactError) GetErrCompactInProgress() *CompactErrorCompactInProgress
func (*CompactError) GetErrInvalidStartKey ¶
func (m *CompactError) GetErrInvalidStartKey() *CompactErrorInvalidStartKey
func (*CompactError) GetErrPhysicalTableNotExist ¶
func (m *CompactError) GetErrPhysicalTableNotExist() *CompactErrorPhysicalTableNotExist
func (*CompactError) GetErrTooManyPendingTasks ¶
func (m *CompactError) GetErrTooManyPendingTasks() *CompactErrorTooManyPendingTasks
func (*CompactError) GetError ¶
func (m *CompactError) GetError() isCompactError_Error
func (*CompactError) Marshal ¶
func (m *CompactError) Marshal() (dAtA []byte, err error)
func (*CompactError) MarshalToSizedBuffer ¶
func (m *CompactError) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactError) ProtoMessage ¶
func (*CompactError) ProtoMessage()
func (*CompactError) Reset ¶
func (m *CompactError) Reset()
func (*CompactError) Size ¶
func (m *CompactError) Size() (n int)
func (*CompactError) String ¶
func (m *CompactError) String() string
func (*CompactError) Unmarshal ¶
func (m *CompactError) Unmarshal(dAtA []byte) error
func (*CompactError) XXX_DiscardUnknown ¶
func (m *CompactError) XXX_DiscardUnknown()
func (*CompactError) XXX_Marshal ¶
func (m *CompactError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompactError) XXX_Merge ¶
func (m *CompactError) XXX_Merge(src proto.Message)
func (*CompactError) XXX_OneofWrappers ¶
func (*CompactError) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CompactError) XXX_Size ¶
func (m *CompactError) XXX_Size() int
func (*CompactError) XXX_Unmarshal ¶
func (m *CompactError) XXX_Unmarshal(b []byte) error
type CompactErrorCompactInProgress ¶
type CompactErrorCompactInProgress struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompactErrorCompactInProgress) Descriptor ¶
func (*CompactErrorCompactInProgress) Descriptor() ([]byte, []int)
func (*CompactErrorCompactInProgress) Marshal ¶
func (m *CompactErrorCompactInProgress) Marshal() (dAtA []byte, err error)
func (*CompactErrorCompactInProgress) MarshalTo ¶
func (m *CompactErrorCompactInProgress) MarshalTo(dAtA []byte) (int, error)
func (*CompactErrorCompactInProgress) MarshalToSizedBuffer ¶
func (m *CompactErrorCompactInProgress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactErrorCompactInProgress) ProtoMessage ¶
func (*CompactErrorCompactInProgress) ProtoMessage()
func (*CompactErrorCompactInProgress) Reset ¶
func (m *CompactErrorCompactInProgress) Reset()
func (*CompactErrorCompactInProgress) Size ¶
func (m *CompactErrorCompactInProgress) Size() (n int)
func (*CompactErrorCompactInProgress) String ¶
func (m *CompactErrorCompactInProgress) String() string
func (*CompactErrorCompactInProgress) Unmarshal ¶
func (m *CompactErrorCompactInProgress) Unmarshal(dAtA []byte) error
func (*CompactErrorCompactInProgress) XXX_DiscardUnknown ¶
func (m *CompactErrorCompactInProgress) XXX_DiscardUnknown()
func (*CompactErrorCompactInProgress) XXX_Marshal ¶
func (m *CompactErrorCompactInProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompactErrorCompactInProgress) XXX_Merge ¶
func (m *CompactErrorCompactInProgress) XXX_Merge(src proto.Message)
func (*CompactErrorCompactInProgress) XXX_Size ¶
func (m *CompactErrorCompactInProgress) XXX_Size() int
func (*CompactErrorCompactInProgress) XXX_Unmarshal ¶
func (m *CompactErrorCompactInProgress) XXX_Unmarshal(b []byte) error
type CompactErrorInvalidStartKey ¶
type CompactErrorInvalidStartKey struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompactErrorInvalidStartKey) Descriptor ¶
func (*CompactErrorInvalidStartKey) Descriptor() ([]byte, []int)
func (*CompactErrorInvalidStartKey) Marshal ¶
func (m *CompactErrorInvalidStartKey) Marshal() (dAtA []byte, err error)
func (*CompactErrorInvalidStartKey) MarshalTo ¶
func (m *CompactErrorInvalidStartKey) MarshalTo(dAtA []byte) (int, error)
func (*CompactErrorInvalidStartKey) MarshalToSizedBuffer ¶
func (m *CompactErrorInvalidStartKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactErrorInvalidStartKey) ProtoMessage ¶
func (*CompactErrorInvalidStartKey) ProtoMessage()
func (*CompactErrorInvalidStartKey) Reset ¶
func (m *CompactErrorInvalidStartKey) Reset()
func (*CompactErrorInvalidStartKey) Size ¶
func (m *CompactErrorInvalidStartKey) Size() (n int)
func (*CompactErrorInvalidStartKey) String ¶
func (m *CompactErrorInvalidStartKey) String() string
func (*CompactErrorInvalidStartKey) Unmarshal ¶
func (m *CompactErrorInvalidStartKey) Unmarshal(dAtA []byte) error
func (*CompactErrorInvalidStartKey) XXX_DiscardUnknown ¶
func (m *CompactErrorInvalidStartKey) XXX_DiscardUnknown()
func (*CompactErrorInvalidStartKey) XXX_Marshal ¶
func (m *CompactErrorInvalidStartKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompactErrorInvalidStartKey) XXX_Merge ¶
func (m *CompactErrorInvalidStartKey) XXX_Merge(src proto.Message)
func (*CompactErrorInvalidStartKey) XXX_Size ¶
func (m *CompactErrorInvalidStartKey) XXX_Size() int
func (*CompactErrorInvalidStartKey) XXX_Unmarshal ¶
func (m *CompactErrorInvalidStartKey) XXX_Unmarshal(b []byte) error
type CompactErrorPhysicalTableNotExist ¶
type CompactErrorPhysicalTableNotExist struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompactErrorPhysicalTableNotExist) Descriptor ¶
func (*CompactErrorPhysicalTableNotExist) Descriptor() ([]byte, []int)
func (*CompactErrorPhysicalTableNotExist) Marshal ¶
func (m *CompactErrorPhysicalTableNotExist) Marshal() (dAtA []byte, err error)
func (*CompactErrorPhysicalTableNotExist) MarshalTo ¶
func (m *CompactErrorPhysicalTableNotExist) MarshalTo(dAtA []byte) (int, error)
func (*CompactErrorPhysicalTableNotExist) MarshalToSizedBuffer ¶
func (m *CompactErrorPhysicalTableNotExist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactErrorPhysicalTableNotExist) ProtoMessage ¶
func (*CompactErrorPhysicalTableNotExist) ProtoMessage()
func (*CompactErrorPhysicalTableNotExist) Reset ¶
func (m *CompactErrorPhysicalTableNotExist) Reset()
func (*CompactErrorPhysicalTableNotExist) Size ¶
func (m *CompactErrorPhysicalTableNotExist) Size() (n int)
func (*CompactErrorPhysicalTableNotExist) String ¶
func (m *CompactErrorPhysicalTableNotExist) String() string
func (*CompactErrorPhysicalTableNotExist) Unmarshal ¶
func (m *CompactErrorPhysicalTableNotExist) Unmarshal(dAtA []byte) error
func (*CompactErrorPhysicalTableNotExist) XXX_DiscardUnknown ¶
func (m *CompactErrorPhysicalTableNotExist) XXX_DiscardUnknown()
func (*CompactErrorPhysicalTableNotExist) XXX_Marshal ¶
func (m *CompactErrorPhysicalTableNotExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompactErrorPhysicalTableNotExist) XXX_Merge ¶
func (m *CompactErrorPhysicalTableNotExist) XXX_Merge(src proto.Message)
func (*CompactErrorPhysicalTableNotExist) XXX_Size ¶
func (m *CompactErrorPhysicalTableNotExist) XXX_Size() int
func (*CompactErrorPhysicalTableNotExist) XXX_Unmarshal ¶
func (m *CompactErrorPhysicalTableNotExist) XXX_Unmarshal(b []byte) error
type CompactErrorTooManyPendingTasks ¶
type CompactErrorTooManyPendingTasks struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompactErrorTooManyPendingTasks) Descriptor ¶
func (*CompactErrorTooManyPendingTasks) Descriptor() ([]byte, []int)
func (*CompactErrorTooManyPendingTasks) Marshal ¶
func (m *CompactErrorTooManyPendingTasks) Marshal() (dAtA []byte, err error)
func (*CompactErrorTooManyPendingTasks) MarshalTo ¶
func (m *CompactErrorTooManyPendingTasks) MarshalTo(dAtA []byte) (int, error)
func (*CompactErrorTooManyPendingTasks) MarshalToSizedBuffer ¶
func (m *CompactErrorTooManyPendingTasks) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactErrorTooManyPendingTasks) ProtoMessage ¶
func (*CompactErrorTooManyPendingTasks) ProtoMessage()
func (*CompactErrorTooManyPendingTasks) Reset ¶
func (m *CompactErrorTooManyPendingTasks) Reset()
func (*CompactErrorTooManyPendingTasks) Size ¶
func (m *CompactErrorTooManyPendingTasks) Size() (n int)
func (*CompactErrorTooManyPendingTasks) String ¶
func (m *CompactErrorTooManyPendingTasks) String() string
func (*CompactErrorTooManyPendingTasks) Unmarshal ¶
func (m *CompactErrorTooManyPendingTasks) Unmarshal(dAtA []byte) error
func (*CompactErrorTooManyPendingTasks) XXX_DiscardUnknown ¶
func (m *CompactErrorTooManyPendingTasks) XXX_DiscardUnknown()
func (*CompactErrorTooManyPendingTasks) XXX_Marshal ¶
func (m *CompactErrorTooManyPendingTasks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompactErrorTooManyPendingTasks) XXX_Merge ¶
func (m *CompactErrorTooManyPendingTasks) XXX_Merge(src proto.Message)
func (*CompactErrorTooManyPendingTasks) XXX_Size ¶
func (m *CompactErrorTooManyPendingTasks) XXX_Size() int
func (*CompactErrorTooManyPendingTasks) XXX_Unmarshal ¶
func (m *CompactErrorTooManyPendingTasks) XXX_Unmarshal(b []byte) error
type CompactError_ErrCompactInProgress ¶
type CompactError_ErrCompactInProgress struct {
ErrCompactInProgress *CompactErrorCompactInProgress `` /* 131-byte string literal not displayed */
}
func (*CompactError_ErrCompactInProgress) MarshalTo ¶
func (m *CompactError_ErrCompactInProgress) MarshalTo(dAtA []byte) (int, error)
func (*CompactError_ErrCompactInProgress) MarshalToSizedBuffer ¶
func (m *CompactError_ErrCompactInProgress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactError_ErrCompactInProgress) Size ¶
func (m *CompactError_ErrCompactInProgress) Size() (n int)
type CompactError_ErrInvalidStartKey ¶
type CompactError_ErrInvalidStartKey struct {
ErrInvalidStartKey *CompactErrorInvalidStartKey `protobuf:"bytes,1,opt,name=err_invalid_start_key,json=errInvalidStartKey,proto3,oneof" json:"err_invalid_start_key,omitempty"`
}
func (*CompactError_ErrInvalidStartKey) MarshalTo ¶
func (m *CompactError_ErrInvalidStartKey) MarshalTo(dAtA []byte) (int, error)
func (*CompactError_ErrInvalidStartKey) MarshalToSizedBuffer ¶
func (m *CompactError_ErrInvalidStartKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactError_ErrInvalidStartKey) Size ¶
func (m *CompactError_ErrInvalidStartKey) Size() (n int)
type CompactError_ErrPhysicalTableNotExist ¶
type CompactError_ErrPhysicalTableNotExist struct {
ErrPhysicalTableNotExist *CompactErrorPhysicalTableNotExist `` /* 145-byte string literal not displayed */
}
func (*CompactError_ErrPhysicalTableNotExist) MarshalTo ¶
func (m *CompactError_ErrPhysicalTableNotExist) MarshalTo(dAtA []byte) (int, error)
func (*CompactError_ErrPhysicalTableNotExist) MarshalToSizedBuffer ¶
func (m *CompactError_ErrPhysicalTableNotExist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactError_ErrPhysicalTableNotExist) Size ¶
func (m *CompactError_ErrPhysicalTableNotExist) Size() (n int)
type CompactError_ErrTooManyPendingTasks ¶
type CompactError_ErrTooManyPendingTasks struct {
ErrTooManyPendingTasks *CompactErrorTooManyPendingTasks `` /* 139-byte string literal not displayed */
}
func (*CompactError_ErrTooManyPendingTasks) MarshalTo ¶
func (m *CompactError_ErrTooManyPendingTasks) MarshalTo(dAtA []byte) (int, error)
func (*CompactError_ErrTooManyPendingTasks) MarshalToSizedBuffer ¶
func (m *CompactError_ErrTooManyPendingTasks) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactError_ErrTooManyPendingTasks) Size ¶
func (m *CompactError_ErrTooManyPendingTasks) Size() (n int)
type CompactRequest ¶
type CompactRequest struct { // If specified, the compaction will start from this start key. // If unspecified, the compaction will start from beginning. // NOTE 1: The start key should be never manually constructed. You should always use a key // returned in CompactResponse. // NOTE 2: the compaction range will be always restricted by physical_table_id. StartKey []byte `protobuf:"bytes,1,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` // The physical table that will be compacted. // // TODO: this is information that TiKV doesn't need to know. // See https://github.com/ab111404212/kvproto/issues/912 PhysicalTableId int64 `protobuf:"varint,2,opt,name=physical_table_id,json=physicalTableId,proto3" json:"physical_table_id,omitempty"` // The logical table id of the compaction. When receiving parallel requests with the same // logical table id, err_compact_in_progress will be returned. // // TODO: this is information that TiKV doesn't need to know. // See https://github.com/ab111404212/kvproto/issues/912 LogicalTableId int64 `protobuf:"varint,3,opt,name=logical_table_id,json=logicalTableId,proto3" json:"logical_table_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompactRequest) Descriptor ¶
func (*CompactRequest) Descriptor() ([]byte, []int)
func (*CompactRequest) GetLogicalTableId ¶
func (m *CompactRequest) GetLogicalTableId() int64
func (*CompactRequest) GetPhysicalTableId ¶
func (m *CompactRequest) GetPhysicalTableId() int64
func (*CompactRequest) GetStartKey ¶
func (m *CompactRequest) GetStartKey() []byte
func (*CompactRequest) Marshal ¶
func (m *CompactRequest) Marshal() (dAtA []byte, err error)
func (*CompactRequest) MarshalToSizedBuffer ¶
func (m *CompactRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactRequest) ProtoMessage ¶
func (*CompactRequest) ProtoMessage()
func (*CompactRequest) Reset ¶
func (m *CompactRequest) Reset()
func (*CompactRequest) Size ¶
func (m *CompactRequest) Size() (n int)
func (*CompactRequest) String ¶
func (m *CompactRequest) String() string
func (*CompactRequest) Unmarshal ¶
func (m *CompactRequest) Unmarshal(dAtA []byte) error
func (*CompactRequest) XXX_DiscardUnknown ¶
func (m *CompactRequest) XXX_DiscardUnknown()
func (*CompactRequest) XXX_Marshal ¶
func (m *CompactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompactRequest) XXX_Merge ¶
func (m *CompactRequest) XXX_Merge(src proto.Message)
func (*CompactRequest) XXX_Size ¶
func (m *CompactRequest) XXX_Size() int
func (*CompactRequest) XXX_Unmarshal ¶
func (m *CompactRequest) XXX_Unmarshal(b []byte) error
type CompactResponse ¶
type CompactResponse struct { Error *CompactError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // The compaction is done incrementally. If there are more data to compact, this field // will be set. The client can request to compact more data according to the `compacted_end_key`. HasRemaining bool `protobuf:"varint,2,opt,name=has_remaining,json=hasRemaining,proto3" json:"has_remaining,omitempty"` CompactedStartKey []byte `protobuf:"bytes,3,opt,name=compacted_start_key,json=compactedStartKey,proto3" json:"compacted_start_key,omitempty"` CompactedEndKey []byte `protobuf:"bytes,4,opt,name=compacted_end_key,json=compactedEndKey,proto3" json:"compacted_end_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompactResponse) Descriptor ¶
func (*CompactResponse) Descriptor() ([]byte, []int)
func (*CompactResponse) GetCompactedEndKey ¶
func (m *CompactResponse) GetCompactedEndKey() []byte
func (*CompactResponse) GetCompactedStartKey ¶
func (m *CompactResponse) GetCompactedStartKey() []byte
func (*CompactResponse) GetError ¶
func (m *CompactResponse) GetError() *CompactError
func (*CompactResponse) GetHasRemaining ¶
func (m *CompactResponse) GetHasRemaining() bool
func (*CompactResponse) Marshal ¶
func (m *CompactResponse) Marshal() (dAtA []byte, err error)
func (*CompactResponse) MarshalToSizedBuffer ¶
func (m *CompactResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompactResponse) ProtoMessage ¶
func (*CompactResponse) ProtoMessage()
func (*CompactResponse) Reset ¶
func (m *CompactResponse) Reset()
func (*CompactResponse) Size ¶
func (m *CompactResponse) Size() (n int)
func (*CompactResponse) String ¶
func (m *CompactResponse) String() string
func (*CompactResponse) Unmarshal ¶
func (m *CompactResponse) Unmarshal(dAtA []byte) error
func (*CompactResponse) XXX_DiscardUnknown ¶
func (m *CompactResponse) XXX_DiscardUnknown()
func (*CompactResponse) XXX_Marshal ¶
func (m *CompactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompactResponse) XXX_Merge ¶
func (m *CompactResponse) XXX_Merge(src proto.Message)
func (*CompactResponse) XXX_Size ¶
func (m *CompactResponse) XXX_Size() int
func (*CompactResponse) XXX_Unmarshal ¶
func (m *CompactResponse) XXX_Unmarshal(b []byte) error
type Context ¶
type Context struct { RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` RegionEpoch *metapb.RegionEpoch `protobuf:"bytes,2,opt,name=region_epoch,json=regionEpoch,proto3" json:"region_epoch,omitempty"` Peer *metapb.Peer `protobuf:"bytes,3,opt,name=peer,proto3" json:"peer,omitempty"` Term uint64 `protobuf:"varint,5,opt,name=term,proto3" json:"term,omitempty"` Priority CommandPri `protobuf:"varint,6,opt,name=priority,proto3,enum=kvrpcpb.CommandPri" json:"priority,omitempty"` IsolationLevel IsolationLevel `` /* 132-byte string literal not displayed */ NotFillCache bool `protobuf:"varint,8,opt,name=not_fill_cache,json=notFillCache,proto3" json:"not_fill_cache,omitempty"` SyncLog bool `protobuf:"varint,9,opt,name=sync_log,json=syncLog,proto3" json:"sync_log,omitempty"` // True means execution time statistics should be recorded and returned. RecordTimeStat bool `protobuf:"varint,10,opt,name=record_time_stat,json=recordTimeStat,proto3" json:"record_time_stat,omitempty"` // True means RocksDB scan statistics should be recorded and returned. RecordScanStat bool `protobuf:"varint,11,opt,name=record_scan_stat,json=recordScanStat,proto3" json:"record_scan_stat,omitempty"` ReplicaRead bool `protobuf:"varint,12,opt,name=replica_read,json=replicaRead,proto3" json:"replica_read,omitempty"` // Read requests can ignore locks belonging to these transactions because either // these transactions are rolled back or theirs commit_ts > read request's start_ts. ResolvedLocks []uint64 `protobuf:"varint,13,rep,packed,name=resolved_locks,json=resolvedLocks,proto3" json:"resolved_locks,omitempty"` MaxExecutionDurationMs uint64 `` /* 133-byte string literal not displayed */ // After a region applies to `applied_index`, we can get a // snapshot for the region even if the peer is a follower. AppliedIndex uint64 `protobuf:"varint,15,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"` // A hint for TiKV to schedule tasks more fairly. Query with same task ID // may share same priority and resource quota. TaskId uint64 `protobuf:"varint,16,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // Not required to read the most up-to-date data, replicas with `safe_ts` >= `start_ts` // can handle read request directly StaleRead bool `protobuf:"varint,17,opt,name=stale_read,json=staleRead,proto3" json:"stale_read,omitempty"` // Any additional serialized information about the request. ResourceGroupTag []byte `protobuf:"bytes,18,opt,name=resource_group_tag,json=resourceGroupTag,proto3" json:"resource_group_tag,omitempty"` // Used to tell TiKV whether operations are allowed or not on different disk usages. DiskFullOpt DiskFullOpt `protobuf:"varint,19,opt,name=disk_full_opt,json=diskFullOpt,proto3,enum=kvrpcpb.DiskFullOpt" json:"disk_full_opt,omitempty"` // Indicates the request is a retry request and the same request may have been sent before. IsRetryRequest bool `protobuf:"varint,20,opt,name=is_retry_request,json=isRetryRequest,proto3" json:"is_retry_request,omitempty"` // API version implies the encode of the key and value. ApiVersion APIVersion `protobuf:"varint,21,opt,name=api_version,json=apiVersion,proto3,enum=kvrpcpb.APIVersion" json:"api_version,omitempty"` // Read request should read through locks belonging to these transactions because these // transactions are committed and theirs commit_ts <= read request's start_ts. CommittedLocks []uint64 `protobuf:"varint,22,rep,packed,name=committed_locks,json=committedLocks,proto3" json:"committed_locks,omitempty"` // The informantion to trace a request sent to TiKV. TraceContext *tracepb.TraceContext `protobuf:"bytes,23,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,omitempty"` // The source of the request, will be used as the tag of the metrics reporting. // This field can be set for any requests that require to report metrics with any extra labels. RequestSource string `protobuf:"bytes,24,opt,name=request_source,json=requestSource,proto3" json:"request_source,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Miscellaneous metadata attached to most requests.
func (*Context) Descriptor ¶
func (*Context) GetApiVersion ¶
func (m *Context) GetApiVersion() APIVersion
func (*Context) GetAppliedIndex ¶
func (*Context) GetCommittedLocks ¶
func (*Context) GetDiskFullOpt ¶
func (m *Context) GetDiskFullOpt() DiskFullOpt
func (*Context) GetIsRetryRequest ¶
func (*Context) GetIsolationLevel ¶
func (m *Context) GetIsolationLevel() IsolationLevel
func (*Context) GetMaxExecutionDurationMs ¶
func (*Context) GetNotFillCache ¶
func (*Context) GetPriority ¶
func (m *Context) GetPriority() CommandPri
func (*Context) GetRecordScanStat ¶
func (*Context) GetRecordTimeStat ¶
func (*Context) GetRegionEpoch ¶
func (m *Context) GetRegionEpoch() *metapb.RegionEpoch
func (*Context) GetRegionId ¶
func (*Context) GetReplicaRead ¶
func (*Context) GetRequestSource ¶
func (*Context) GetResolvedLocks ¶
func (*Context) GetResourceGroupTag ¶
func (*Context) GetStaleRead ¶
func (*Context) GetSyncLog ¶
func (*Context) GetTraceContext ¶
func (m *Context) GetTraceContext() *tracepb.TraceContext
func (*Context) MarshalToSizedBuffer ¶
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) XXX_DiscardUnknown ¶
func (m *Context) XXX_DiscardUnknown()
func (*Context) XXX_Marshal ¶
func (*Context) XXX_Unmarshal ¶
type Deadlock ¶
type Deadlock struct { LockTs uint64 `protobuf:"varint,1,opt,name=lock_ts,json=lockTs,proto3" json:"lock_ts,omitempty"` LockKey []byte `protobuf:"bytes,2,opt,name=lock_key,json=lockKey,proto3" json:"lock_key,omitempty"` DeadlockKeyHash uint64 `protobuf:"varint,3,opt,name=deadlock_key_hash,json=deadlockKeyHash,proto3" json:"deadlock_key_hash,omitempty"` WaitChain []*deadlock.WaitForEntry `protobuf:"bytes,4,rep,name=wait_chain,json=waitChain,proto3" json:"wait_chain,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Deadlock) Descriptor ¶
func (*Deadlock) GetDeadlockKeyHash ¶
func (*Deadlock) GetLockKey ¶
func (*Deadlock) GetWaitChain ¶
func (m *Deadlock) GetWaitChain() []*deadlock.WaitForEntry
func (*Deadlock) MarshalToSizedBuffer ¶
func (*Deadlock) ProtoMessage ¶
func (*Deadlock) ProtoMessage()
func (*Deadlock) XXX_DiscardUnknown ¶
func (m *Deadlock) XXX_DiscardUnknown()
func (*Deadlock) XXX_Marshal ¶
func (*Deadlock) XXX_Unmarshal ¶
type DeleteRangeRequest ¶
type DeleteRangeRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` // If true, the data will not be immediately deleted, but the operation will // still be replicated via Raft. This is used to notify TiKV that the data // will be deleted using `unsafe_destroy_range` soon. NotifyOnly bool `protobuf:"varint,4,opt,name=notify_only,json=notifyOnly,proto3" json:"notify_only,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delete a range of data from TiKV. This message should not be used.
func (*DeleteRangeRequest) Descriptor ¶
func (*DeleteRangeRequest) Descriptor() ([]byte, []int)
func (*DeleteRangeRequest) GetContext ¶
func (m *DeleteRangeRequest) GetContext() *Context
func (*DeleteRangeRequest) GetEndKey ¶
func (m *DeleteRangeRequest) GetEndKey() []byte
func (*DeleteRangeRequest) GetNotifyOnly ¶
func (m *DeleteRangeRequest) GetNotifyOnly() bool
func (*DeleteRangeRequest) GetStartKey ¶
func (m *DeleteRangeRequest) GetStartKey() []byte
func (*DeleteRangeRequest) Marshal ¶
func (m *DeleteRangeRequest) Marshal() (dAtA []byte, err error)
func (*DeleteRangeRequest) MarshalTo ¶
func (m *DeleteRangeRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteRangeRequest) MarshalToSizedBuffer ¶
func (m *DeleteRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteRangeRequest) ProtoMessage ¶
func (*DeleteRangeRequest) ProtoMessage()
func (*DeleteRangeRequest) Reset ¶
func (m *DeleteRangeRequest) Reset()
func (*DeleteRangeRequest) Size ¶
func (m *DeleteRangeRequest) Size() (n int)
func (*DeleteRangeRequest) String ¶
func (m *DeleteRangeRequest) String() string
func (*DeleteRangeRequest) Unmarshal ¶
func (m *DeleteRangeRequest) Unmarshal(dAtA []byte) error
func (*DeleteRangeRequest) XXX_DiscardUnknown ¶
func (m *DeleteRangeRequest) XXX_DiscardUnknown()
func (*DeleteRangeRequest) XXX_Marshal ¶
func (m *DeleteRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRangeRequest) XXX_Merge ¶
func (m *DeleteRangeRequest) XXX_Merge(src proto.Message)
func (*DeleteRangeRequest) XXX_Size ¶
func (m *DeleteRangeRequest) XXX_Size() int
func (*DeleteRangeRequest) XXX_Unmarshal ¶
func (m *DeleteRangeRequest) XXX_Unmarshal(b []byte) error
type DeleteRangeResponse ¶
type DeleteRangeResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRangeResponse) Descriptor ¶
func (*DeleteRangeResponse) Descriptor() ([]byte, []int)
func (*DeleteRangeResponse) GetError ¶
func (m *DeleteRangeResponse) GetError() string
func (*DeleteRangeResponse) GetRegionError ¶
func (m *DeleteRangeResponse) GetRegionError() *errorpb.Error
func (*DeleteRangeResponse) Marshal ¶
func (m *DeleteRangeResponse) Marshal() (dAtA []byte, err error)
func (*DeleteRangeResponse) MarshalTo ¶
func (m *DeleteRangeResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeleteRangeResponse) MarshalToSizedBuffer ¶
func (m *DeleteRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteRangeResponse) ProtoMessage ¶
func (*DeleteRangeResponse) ProtoMessage()
func (*DeleteRangeResponse) Reset ¶
func (m *DeleteRangeResponse) Reset()
func (*DeleteRangeResponse) Size ¶
func (m *DeleteRangeResponse) Size() (n int)
func (*DeleteRangeResponse) String ¶
func (m *DeleteRangeResponse) String() string
func (*DeleteRangeResponse) Unmarshal ¶
func (m *DeleteRangeResponse) Unmarshal(dAtA []byte) error
func (*DeleteRangeResponse) XXX_DiscardUnknown ¶
func (m *DeleteRangeResponse) XXX_DiscardUnknown()
func (*DeleteRangeResponse) XXX_Marshal ¶
func (m *DeleteRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRangeResponse) XXX_Merge ¶
func (m *DeleteRangeResponse) XXX_Merge(src proto.Message)
func (*DeleteRangeResponse) XXX_Size ¶
func (m *DeleteRangeResponse) XXX_Size() int
func (*DeleteRangeResponse) XXX_Unmarshal ¶
func (m *DeleteRangeResponse) XXX_Unmarshal(b []byte) error
type DiskFullOpt ¶
type DiskFullOpt int32
Operation allowed info during each TiKV storage threshold.
const ( DiskFullOpt_NotAllowedOnFull DiskFullOpt = 0 DiskFullOpt_AllowedOnAlmostFull DiskFullOpt = 1 DiskFullOpt_AllowedOnAlreadyFull DiskFullOpt = 2 )
func (DiskFullOpt) EnumDescriptor ¶
func (DiskFullOpt) EnumDescriptor() ([]byte, []int)
func (DiskFullOpt) String ¶
func (x DiskFullOpt) String() string
type ExecDetails ¶
type ExecDetails struct { // Available when ctx.record_time_stat = true or meet slow query. TimeDetail *TimeDetail `protobuf:"bytes,1,opt,name=time_detail,json=timeDetail,proto3" json:"time_detail,omitempty"` // Available when ctx.record_scan_stat = true or meet slow query. ScanDetail *ScanDetail `protobuf:"bytes,2,opt,name=scan_detail,json=scanDetail,proto3" json:"scan_detail,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecDetails) Descriptor ¶
func (*ExecDetails) Descriptor() ([]byte, []int)
func (*ExecDetails) GetScanDetail ¶
func (m *ExecDetails) GetScanDetail() *ScanDetail
func (*ExecDetails) GetTimeDetail ¶
func (m *ExecDetails) GetTimeDetail() *TimeDetail
func (*ExecDetails) Marshal ¶
func (m *ExecDetails) Marshal() (dAtA []byte, err error)
func (*ExecDetails) MarshalToSizedBuffer ¶
func (m *ExecDetails) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExecDetails) ProtoMessage ¶
func (*ExecDetails) ProtoMessage()
func (*ExecDetails) Reset ¶
func (m *ExecDetails) Reset()
func (*ExecDetails) Size ¶
func (m *ExecDetails) Size() (n int)
func (*ExecDetails) String ¶
func (m *ExecDetails) String() string
func (*ExecDetails) Unmarshal ¶
func (m *ExecDetails) Unmarshal(dAtA []byte) error
func (*ExecDetails) XXX_DiscardUnknown ¶
func (m *ExecDetails) XXX_DiscardUnknown()
func (*ExecDetails) XXX_Marshal ¶
func (m *ExecDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecDetails) XXX_Merge ¶
func (m *ExecDetails) XXX_Merge(src proto.Message)
func (*ExecDetails) XXX_Size ¶
func (m *ExecDetails) XXX_Size() int
func (*ExecDetails) XXX_Unmarshal ¶
func (m *ExecDetails) XXX_Unmarshal(b []byte) error
type ExecDetailsV2 ¶
type ExecDetailsV2 struct { // Available when ctx.record_time_stat = true or meet slow query. TimeDetail *TimeDetail `protobuf:"bytes,1,opt,name=time_detail,json=timeDetail,proto3" json:"time_detail,omitempty"` // Available when ctx.record_scan_stat = true or meet slow query. ScanDetailV2 *ScanDetailV2 `protobuf:"bytes,2,opt,name=scan_detail_v2,json=scanDetailV2,proto3" json:"scan_detail_v2,omitempty"` // Raftstore writing durations of the request. Only available for some write requests. WriteDetail *WriteDetail `protobuf:"bytes,3,opt,name=write_detail,json=writeDetail,proto3" json:"write_detail,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecDetailsV2) Descriptor ¶
func (*ExecDetailsV2) Descriptor() ([]byte, []int)
func (*ExecDetailsV2) GetScanDetailV2 ¶
func (m *ExecDetailsV2) GetScanDetailV2() *ScanDetailV2
func (*ExecDetailsV2) GetTimeDetail ¶
func (m *ExecDetailsV2) GetTimeDetail() *TimeDetail
func (*ExecDetailsV2) GetWriteDetail ¶
func (m *ExecDetailsV2) GetWriteDetail() *WriteDetail
func (*ExecDetailsV2) Marshal ¶
func (m *ExecDetailsV2) Marshal() (dAtA []byte, err error)
func (*ExecDetailsV2) MarshalToSizedBuffer ¶
func (m *ExecDetailsV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExecDetailsV2) ProtoMessage ¶
func (*ExecDetailsV2) ProtoMessage()
func (*ExecDetailsV2) Reset ¶
func (m *ExecDetailsV2) Reset()
func (*ExecDetailsV2) Size ¶
func (m *ExecDetailsV2) Size() (n int)
func (*ExecDetailsV2) String ¶
func (m *ExecDetailsV2) String() string
func (*ExecDetailsV2) Unmarshal ¶
func (m *ExecDetailsV2) Unmarshal(dAtA []byte) error
func (*ExecDetailsV2) XXX_DiscardUnknown ¶
func (m *ExecDetailsV2) XXX_DiscardUnknown()
func (*ExecDetailsV2) XXX_Marshal ¶
func (m *ExecDetailsV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecDetailsV2) XXX_Merge ¶
func (m *ExecDetailsV2) XXX_Merge(src proto.Message)
func (*ExecDetailsV2) XXX_Size ¶
func (m *ExecDetailsV2) XXX_Size() int
func (*ExecDetailsV2) XXX_Unmarshal ¶
func (m *ExecDetailsV2) XXX_Unmarshal(b []byte) error
type GCRequest ¶
type GCRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` SafePoint uint64 `protobuf:"varint,2,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request TiKV to garbage collect all non-current data older than `safe_point`.
func (*GCRequest) Descriptor ¶
func (*GCRequest) GetContext ¶
func (*GCRequest) GetSafePoint ¶
func (*GCRequest) MarshalToSizedBuffer ¶
func (*GCRequest) ProtoMessage ¶
func (*GCRequest) ProtoMessage()
func (*GCRequest) XXX_DiscardUnknown ¶
func (m *GCRequest) XXX_DiscardUnknown()
func (*GCRequest) XXX_Marshal ¶
func (*GCRequest) XXX_Unmarshal ¶
type GCResponse ¶
type GCResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GCResponse) Descriptor ¶
func (*GCResponse) Descriptor() ([]byte, []int)
func (*GCResponse) GetError ¶
func (m *GCResponse) GetError() *KeyError
func (*GCResponse) GetRegionError ¶
func (m *GCResponse) GetRegionError() *errorpb.Error
func (*GCResponse) Marshal ¶
func (m *GCResponse) Marshal() (dAtA []byte, err error)
func (*GCResponse) MarshalToSizedBuffer ¶
func (m *GCResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GCResponse) ProtoMessage ¶
func (*GCResponse) ProtoMessage()
func (*GCResponse) Reset ¶
func (m *GCResponse) Reset()
func (*GCResponse) Size ¶
func (m *GCResponse) Size() (n int)
func (*GCResponse) String ¶
func (m *GCResponse) String() string
func (*GCResponse) Unmarshal ¶
func (m *GCResponse) Unmarshal(dAtA []byte) error
func (*GCResponse) XXX_DiscardUnknown ¶
func (m *GCResponse) XXX_DiscardUnknown()
func (*GCResponse) XXX_Marshal ¶
func (m *GCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GCResponse) XXX_Merge ¶
func (m *GCResponse) XXX_Merge(src proto.Message)
func (*GCResponse) XXX_Size ¶
func (m *GCResponse) XXX_Size() int
func (*GCResponse) XXX_Unmarshal ¶
func (m *GCResponse) XXX_Unmarshal(b []byte) error
type GetLockWaitInfoRequest ¶
type GetLockWaitInfoRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetLockWaitInfoRequest) Descriptor ¶
func (*GetLockWaitInfoRequest) Descriptor() ([]byte, []int)
func (*GetLockWaitInfoRequest) GetContext ¶
func (m *GetLockWaitInfoRequest) GetContext() *Context
func (*GetLockWaitInfoRequest) Marshal ¶
func (m *GetLockWaitInfoRequest) Marshal() (dAtA []byte, err error)
func (*GetLockWaitInfoRequest) MarshalTo ¶
func (m *GetLockWaitInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetLockWaitInfoRequest) MarshalToSizedBuffer ¶
func (m *GetLockWaitInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetLockWaitInfoRequest) ProtoMessage ¶
func (*GetLockWaitInfoRequest) ProtoMessage()
func (*GetLockWaitInfoRequest) Reset ¶
func (m *GetLockWaitInfoRequest) Reset()
func (*GetLockWaitInfoRequest) Size ¶
func (m *GetLockWaitInfoRequest) Size() (n int)
func (*GetLockWaitInfoRequest) String ¶
func (m *GetLockWaitInfoRequest) String() string
func (*GetLockWaitInfoRequest) Unmarshal ¶
func (m *GetLockWaitInfoRequest) Unmarshal(dAtA []byte) error
func (*GetLockWaitInfoRequest) XXX_DiscardUnknown ¶
func (m *GetLockWaitInfoRequest) XXX_DiscardUnknown()
func (*GetLockWaitInfoRequest) XXX_Marshal ¶
func (m *GetLockWaitInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLockWaitInfoRequest) XXX_Merge ¶
func (m *GetLockWaitInfoRequest) XXX_Merge(src proto.Message)
func (*GetLockWaitInfoRequest) XXX_Size ¶
func (m *GetLockWaitInfoRequest) XXX_Size() int
func (*GetLockWaitInfoRequest) XXX_Unmarshal ¶
func (m *GetLockWaitInfoRequest) XXX_Unmarshal(b []byte) error
type GetLockWaitInfoResponse ¶
type GetLockWaitInfoResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Entries []*deadlock.WaitForEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetLockWaitInfoResponse) Descriptor ¶
func (*GetLockWaitInfoResponse) Descriptor() ([]byte, []int)
func (*GetLockWaitInfoResponse) GetEntries ¶
func (m *GetLockWaitInfoResponse) GetEntries() []*deadlock.WaitForEntry
func (*GetLockWaitInfoResponse) GetError ¶
func (m *GetLockWaitInfoResponse) GetError() string
func (*GetLockWaitInfoResponse) GetRegionError ¶
func (m *GetLockWaitInfoResponse) GetRegionError() *errorpb.Error
func (*GetLockWaitInfoResponse) Marshal ¶
func (m *GetLockWaitInfoResponse) Marshal() (dAtA []byte, err error)
func (*GetLockWaitInfoResponse) MarshalTo ¶
func (m *GetLockWaitInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetLockWaitInfoResponse) MarshalToSizedBuffer ¶
func (m *GetLockWaitInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetLockWaitInfoResponse) ProtoMessage ¶
func (*GetLockWaitInfoResponse) ProtoMessage()
func (*GetLockWaitInfoResponse) Reset ¶
func (m *GetLockWaitInfoResponse) Reset()
func (*GetLockWaitInfoResponse) Size ¶
func (m *GetLockWaitInfoResponse) Size() (n int)
func (*GetLockWaitInfoResponse) String ¶
func (m *GetLockWaitInfoResponse) String() string
func (*GetLockWaitInfoResponse) Unmarshal ¶
func (m *GetLockWaitInfoResponse) Unmarshal(dAtA []byte) error
func (*GetLockWaitInfoResponse) XXX_DiscardUnknown ¶
func (m *GetLockWaitInfoResponse) XXX_DiscardUnknown()
func (*GetLockWaitInfoResponse) XXX_Marshal ¶
func (m *GetLockWaitInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLockWaitInfoResponse) XXX_Merge ¶
func (m *GetLockWaitInfoResponse) XXX_Merge(src proto.Message)
func (*GetLockWaitInfoResponse) XXX_Size ¶
func (m *GetLockWaitInfoResponse) XXX_Size() int
func (*GetLockWaitInfoResponse) XXX_Unmarshal ¶
func (m *GetLockWaitInfoResponse) XXX_Unmarshal(b []byte) error
type GetRequest ¶
type GetRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A transactional get command. Lookup a value for `key` in the transaction with starting timestamp = `version`.
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetContext ¶
func (m *GetRequest) GetContext() *Context
func (*GetRequest) GetKey ¶
func (m *GetRequest) GetKey() []byte
func (*GetRequest) GetVersion ¶
func (m *GetRequest) GetVersion() uint64
func (*GetRequest) Marshal ¶
func (m *GetRequest) Marshal() (dAtA []byte, err error)
func (*GetRequest) MarshalToSizedBuffer ¶
func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) Size ¶
func (m *GetRequest) Size() (n int)
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) Unmarshal ¶
func (m *GetRequest) Unmarshal(dAtA []byte) error
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetResponse ¶
type GetResponse struct { // A region error indicates that the request was sent to the wrong TiKV node // (or other, similar errors). RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` // A value could not be retrieved due to the state of the database for the requested key. Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // A successful result. Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // True if the key does not exist in the database. NotFound bool `protobuf:"varint,4,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"` // Time and scan details when processing the request. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,6,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetError ¶
func (m *GetResponse) GetError() *KeyError
func (*GetResponse) GetExecDetailsV2 ¶
func (m *GetResponse) GetExecDetailsV2() *ExecDetailsV2
func (*GetResponse) GetNotFound ¶
func (m *GetResponse) GetNotFound() bool
func (*GetResponse) GetRegionError ¶
func (m *GetResponse) GetRegionError() *errorpb.Error
func (*GetResponse) GetValue ¶
func (m *GetResponse) GetValue() []byte
func (*GetResponse) Marshal ¶
func (m *GetResponse) Marshal() (dAtA []byte, err error)
func (*GetResponse) MarshalToSizedBuffer ¶
func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) Size ¶
func (m *GetResponse) Size() (n int)
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) Unmarshal ¶
func (m *GetResponse) Unmarshal(dAtA []byte) error
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type ImportRequest ¶
type ImportRequest struct { Mutations []*Mutation `protobuf:"bytes,1,rep,name=mutations,proto3" json:"mutations,omitempty"` CommitVersion uint64 `protobuf:"varint,2,opt,name=commit_version,json=commitVersion,proto3" json:"commit_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Not yet implemented.
func (*ImportRequest) Descriptor ¶
func (*ImportRequest) Descriptor() ([]byte, []int)
func (*ImportRequest) GetCommitVersion ¶
func (m *ImportRequest) GetCommitVersion() uint64
func (*ImportRequest) GetMutations ¶
func (m *ImportRequest) GetMutations() []*Mutation
func (*ImportRequest) Marshal ¶
func (m *ImportRequest) Marshal() (dAtA []byte, err error)
func (*ImportRequest) MarshalToSizedBuffer ¶
func (m *ImportRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ImportRequest) ProtoMessage ¶
func (*ImportRequest) ProtoMessage()
func (*ImportRequest) Reset ¶
func (m *ImportRequest) Reset()
func (*ImportRequest) Size ¶
func (m *ImportRequest) Size() (n int)
func (*ImportRequest) String ¶
func (m *ImportRequest) String() string
func (*ImportRequest) Unmarshal ¶
func (m *ImportRequest) Unmarshal(dAtA []byte) error
func (*ImportRequest) XXX_DiscardUnknown ¶
func (m *ImportRequest) XXX_DiscardUnknown()
func (*ImportRequest) XXX_Marshal ¶
func (m *ImportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportRequest) XXX_Merge ¶
func (m *ImportRequest) XXX_Merge(src proto.Message)
func (*ImportRequest) XXX_Size ¶
func (m *ImportRequest) XXX_Size() int
func (*ImportRequest) XXX_Unmarshal ¶
func (m *ImportRequest) XXX_Unmarshal(b []byte) error
type ImportResponse ¶
type ImportResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImportResponse) Descriptor ¶
func (*ImportResponse) Descriptor() ([]byte, []int)
func (*ImportResponse) GetError ¶
func (m *ImportResponse) GetError() string
func (*ImportResponse) GetRegionError ¶
func (m *ImportResponse) GetRegionError() *errorpb.Error
func (*ImportResponse) Marshal ¶
func (m *ImportResponse) Marshal() (dAtA []byte, err error)
func (*ImportResponse) MarshalToSizedBuffer ¶
func (m *ImportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ImportResponse) ProtoMessage ¶
func (*ImportResponse) ProtoMessage()
func (*ImportResponse) Reset ¶
func (m *ImportResponse) Reset()
func (*ImportResponse) Size ¶
func (m *ImportResponse) Size() (n int)
func (*ImportResponse) String ¶
func (m *ImportResponse) String() string
func (*ImportResponse) Unmarshal ¶
func (m *ImportResponse) Unmarshal(dAtA []byte) error
func (*ImportResponse) XXX_DiscardUnknown ¶
func (m *ImportResponse) XXX_DiscardUnknown()
func (*ImportResponse) XXX_Marshal ¶
func (m *ImportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportResponse) XXX_Merge ¶
func (m *ImportResponse) XXX_Merge(src proto.Message)
func (*ImportResponse) XXX_Size ¶
func (m *ImportResponse) XXX_Size() int
func (*ImportResponse) XXX_Unmarshal ¶
func (m *ImportResponse) XXX_Unmarshal(b []byte) error
type IsolationLevel ¶
type IsolationLevel int32
const ( IsolationLevel_SI IsolationLevel = 0 IsolationLevel_RC IsolationLevel = 1 IsolationLevel_RCCheckTS IsolationLevel = 2 )
func (IsolationLevel) EnumDescriptor ¶
func (IsolationLevel) EnumDescriptor() ([]byte, []int)
func (IsolationLevel) String ¶
func (x IsolationLevel) String() string
type KeyError ¶
type KeyError struct { Locked *LockInfo `protobuf:"bytes,1,opt,name=locked,proto3" json:"locked,omitempty"` Retryable string `protobuf:"bytes,2,opt,name=retryable,proto3" json:"retryable,omitempty"` Abort string `protobuf:"bytes,3,opt,name=abort,proto3" json:"abort,omitempty"` Conflict *WriteConflict `protobuf:"bytes,4,opt,name=conflict,proto3" json:"conflict,omitempty"` AlreadyExist *AlreadyExist `protobuf:"bytes,5,opt,name=already_exist,json=alreadyExist,proto3" json:"already_exist,omitempty"` Deadlock *Deadlock `protobuf:"bytes,6,opt,name=deadlock,proto3" json:"deadlock,omitempty"` CommitTsExpired *CommitTsExpired `protobuf:"bytes,7,opt,name=commit_ts_expired,json=commitTsExpired,proto3" json:"commit_ts_expired,omitempty"` TxnNotFound *TxnNotFound `protobuf:"bytes,8,opt,name=txn_not_found,json=txnNotFound,proto3" json:"txn_not_found,omitempty"` CommitTsTooLarge *CommitTsTooLarge `protobuf:"bytes,9,opt,name=commit_ts_too_large,json=commitTsTooLarge,proto3" json:"commit_ts_too_large,omitempty"` AssertionFailed *AssertionFailed `protobuf:"bytes,10,opt,name=assertion_failed,json=assertionFailed,proto3" json:"assertion_failed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyError) Descriptor ¶
func (*KeyError) GetAlreadyExist ¶
func (m *KeyError) GetAlreadyExist() *AlreadyExist
func (*KeyError) GetAssertionFailed ¶
func (m *KeyError) GetAssertionFailed() *AssertionFailed
func (*KeyError) GetCommitTsExpired ¶
func (m *KeyError) GetCommitTsExpired() *CommitTsExpired
func (*KeyError) GetCommitTsTooLarge ¶
func (m *KeyError) GetCommitTsTooLarge() *CommitTsTooLarge
func (*KeyError) GetConflict ¶
func (m *KeyError) GetConflict() *WriteConflict
func (*KeyError) GetDeadlock ¶
func (*KeyError) GetRetryable ¶
func (*KeyError) GetTxnNotFound ¶
func (m *KeyError) GetTxnNotFound() *TxnNotFound
func (*KeyError) MarshalToSizedBuffer ¶
func (*KeyError) ProtoMessage ¶
func (*KeyError) ProtoMessage()
func (*KeyError) XXX_DiscardUnknown ¶
func (m *KeyError) XXX_DiscardUnknown()
func (*KeyError) XXX_Marshal ¶
func (*KeyError) XXX_Unmarshal ¶
type KeyRange ¶
type KeyRange struct { StartKey []byte `protobuf:"bytes,1,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,2,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyRange) Descriptor ¶
func (*KeyRange) GetStartKey ¶
func (*KeyRange) MarshalToSizedBuffer ¶
func (*KeyRange) ProtoMessage ¶
func (*KeyRange) ProtoMessage()
func (*KeyRange) XXX_DiscardUnknown ¶
func (m *KeyRange) XXX_DiscardUnknown()
func (*KeyRange) XXX_Marshal ¶
func (*KeyRange) XXX_Unmarshal ¶
type KvPair ¶
type KvPair struct { Error *KeyError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KvPair) Descriptor ¶
func (*KvPair) MarshalToSizedBuffer ¶
func (*KvPair) ProtoMessage ¶
func (*KvPair) ProtoMessage()
func (*KvPair) XXX_DiscardUnknown ¶
func (m *KvPair) XXX_DiscardUnknown()
func (*KvPair) XXX_Marshal ¶
func (*KvPair) XXX_Unmarshal ¶
type LeaderInfo ¶
type LeaderInfo struct { RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` PeerId uint64 `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Term uint64 `protobuf:"varint,3,opt,name=term,proto3" json:"term,omitempty"` RegionEpoch *metapb.RegionEpoch `protobuf:"bytes,4,opt,name=region_epoch,json=regionEpoch,proto3" json:"region_epoch,omitempty"` ReadState *ReadState `protobuf:"bytes,5,opt,name=read_state,json=readState,proto3" json:"read_state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LeaderInfo) Descriptor ¶
func (*LeaderInfo) Descriptor() ([]byte, []int)
func (*LeaderInfo) GetPeerId ¶
func (m *LeaderInfo) GetPeerId() uint64
func (*LeaderInfo) GetReadState ¶
func (m *LeaderInfo) GetReadState() *ReadState
func (*LeaderInfo) GetRegionEpoch ¶
func (m *LeaderInfo) GetRegionEpoch() *metapb.RegionEpoch
func (*LeaderInfo) GetRegionId ¶
func (m *LeaderInfo) GetRegionId() uint64
func (*LeaderInfo) GetTerm ¶
func (m *LeaderInfo) GetTerm() uint64
func (*LeaderInfo) Marshal ¶
func (m *LeaderInfo) Marshal() (dAtA []byte, err error)
func (*LeaderInfo) MarshalToSizedBuffer ¶
func (m *LeaderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LeaderInfo) ProtoMessage ¶
func (*LeaderInfo) ProtoMessage()
func (*LeaderInfo) Reset ¶
func (m *LeaderInfo) Reset()
func (*LeaderInfo) Size ¶
func (m *LeaderInfo) Size() (n int)
func (*LeaderInfo) String ¶
func (m *LeaderInfo) String() string
func (*LeaderInfo) Unmarshal ¶
func (m *LeaderInfo) Unmarshal(dAtA []byte) error
func (*LeaderInfo) XXX_DiscardUnknown ¶
func (m *LeaderInfo) XXX_DiscardUnknown()
func (*LeaderInfo) XXX_Marshal ¶
func (m *LeaderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeaderInfo) XXX_Merge ¶
func (m *LeaderInfo) XXX_Merge(src proto.Message)
func (*LeaderInfo) XXX_Size ¶
func (m *LeaderInfo) XXX_Size() int
func (*LeaderInfo) XXX_Unmarshal ¶
func (m *LeaderInfo) XXX_Unmarshal(b []byte) error
type LockInfo ¶
type LockInfo struct { PrimaryLock []byte `protobuf:"bytes,1,opt,name=primary_lock,json=primaryLock,proto3" json:"primary_lock,omitempty"` LockVersion uint64 `protobuf:"varint,2,opt,name=lock_version,json=lockVersion,proto3" json:"lock_version,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` LockTtl uint64 `protobuf:"varint,4,opt,name=lock_ttl,json=lockTtl,proto3" json:"lock_ttl,omitempty"` // How many keys this transaction involves in this region. TxnSize uint64 `protobuf:"varint,5,opt,name=txn_size,json=txnSize,proto3" json:"txn_size,omitempty"` LockType Op `protobuf:"varint,6,opt,name=lock_type,json=lockType,proto3,enum=kvrpcpb.Op" json:"lock_type,omitempty"` LockForUpdateTs uint64 `protobuf:"varint,7,opt,name=lock_for_update_ts,json=lockForUpdateTs,proto3" json:"lock_for_update_ts,omitempty"` // Fields for transactions that are using Async Commit. UseAsyncCommit bool `protobuf:"varint,8,opt,name=use_async_commit,json=useAsyncCommit,proto3" json:"use_async_commit,omitempty"` MinCommitTs uint64 `protobuf:"varint,9,opt,name=min_commit_ts,json=minCommitTs,proto3" json:"min_commit_ts,omitempty"` Secondaries [][]byte `protobuf:"bytes,10,rep,name=secondaries,proto3" json:"secondaries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LockInfo) Descriptor ¶
func (*LockInfo) GetLockForUpdateTs ¶
func (*LockInfo) GetLockTtl ¶
func (*LockInfo) GetLockType ¶
func (*LockInfo) GetLockVersion ¶
func (*LockInfo) GetMinCommitTs ¶
func (*LockInfo) GetPrimaryLock ¶
func (*LockInfo) GetSecondaries ¶
func (*LockInfo) GetTxnSize ¶
func (*LockInfo) GetUseAsyncCommit ¶
func (*LockInfo) MarshalToSizedBuffer ¶
func (*LockInfo) ProtoMessage ¶
func (*LockInfo) ProtoMessage()
func (*LockInfo) XXX_DiscardUnknown ¶
func (m *LockInfo) XXX_DiscardUnknown()
func (*LockInfo) XXX_Marshal ¶
func (*LockInfo) XXX_Unmarshal ¶
type Mutation ¶
type Mutation struct { Op Op `protobuf:"varint,1,opt,name=op,proto3,enum=kvrpcpb.Op" json:"op,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Assertion Assertion `protobuf:"varint,4,opt,name=assertion,proto3,enum=kvrpcpb.Assertion" json:"assertion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Mutation) Descriptor ¶
func (*Mutation) GetAssertion ¶
func (*Mutation) MarshalToSizedBuffer ¶
func (*Mutation) ProtoMessage ¶
func (*Mutation) ProtoMessage()
func (*Mutation) XXX_DiscardUnknown ¶
func (m *Mutation) XXX_DiscardUnknown()
func (*Mutation) XXX_Marshal ¶
func (*Mutation) XXX_Unmarshal ¶
type MvccGetByKeyRequest ¶
type MvccGetByKeyRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MvccGetByKeyRequest) Descriptor ¶
func (*MvccGetByKeyRequest) Descriptor() ([]byte, []int)
func (*MvccGetByKeyRequest) GetContext ¶
func (m *MvccGetByKeyRequest) GetContext() *Context
func (*MvccGetByKeyRequest) GetKey ¶
func (m *MvccGetByKeyRequest) GetKey() []byte
func (*MvccGetByKeyRequest) Marshal ¶
func (m *MvccGetByKeyRequest) Marshal() (dAtA []byte, err error)
func (*MvccGetByKeyRequest) MarshalTo ¶
func (m *MvccGetByKeyRequest) MarshalTo(dAtA []byte) (int, error)
func (*MvccGetByKeyRequest) MarshalToSizedBuffer ¶
func (m *MvccGetByKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MvccGetByKeyRequest) ProtoMessage ¶
func (*MvccGetByKeyRequest) ProtoMessage()
func (*MvccGetByKeyRequest) Reset ¶
func (m *MvccGetByKeyRequest) Reset()
func (*MvccGetByKeyRequest) Size ¶
func (m *MvccGetByKeyRequest) Size() (n int)
func (*MvccGetByKeyRequest) String ¶
func (m *MvccGetByKeyRequest) String() string
func (*MvccGetByKeyRequest) Unmarshal ¶
func (m *MvccGetByKeyRequest) Unmarshal(dAtA []byte) error
func (*MvccGetByKeyRequest) XXX_DiscardUnknown ¶
func (m *MvccGetByKeyRequest) XXX_DiscardUnknown()
func (*MvccGetByKeyRequest) XXX_Marshal ¶
func (m *MvccGetByKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MvccGetByKeyRequest) XXX_Merge ¶
func (m *MvccGetByKeyRequest) XXX_Merge(src proto.Message)
func (*MvccGetByKeyRequest) XXX_Size ¶
func (m *MvccGetByKeyRequest) XXX_Size() int
func (*MvccGetByKeyRequest) XXX_Unmarshal ¶
func (m *MvccGetByKeyRequest) XXX_Unmarshal(b []byte) error
type MvccGetByKeyResponse ¶
type MvccGetByKeyResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Info *MvccInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MvccGetByKeyResponse) Descriptor ¶
func (*MvccGetByKeyResponse) Descriptor() ([]byte, []int)
func (*MvccGetByKeyResponse) GetError ¶
func (m *MvccGetByKeyResponse) GetError() string
func (*MvccGetByKeyResponse) GetInfo ¶
func (m *MvccGetByKeyResponse) GetInfo() *MvccInfo
func (*MvccGetByKeyResponse) GetRegionError ¶
func (m *MvccGetByKeyResponse) GetRegionError() *errorpb.Error
func (*MvccGetByKeyResponse) Marshal ¶
func (m *MvccGetByKeyResponse) Marshal() (dAtA []byte, err error)
func (*MvccGetByKeyResponse) MarshalTo ¶
func (m *MvccGetByKeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MvccGetByKeyResponse) MarshalToSizedBuffer ¶
func (m *MvccGetByKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MvccGetByKeyResponse) ProtoMessage ¶
func (*MvccGetByKeyResponse) ProtoMessage()
func (*MvccGetByKeyResponse) Reset ¶
func (m *MvccGetByKeyResponse) Reset()
func (*MvccGetByKeyResponse) Size ¶
func (m *MvccGetByKeyResponse) Size() (n int)
func (*MvccGetByKeyResponse) String ¶
func (m *MvccGetByKeyResponse) String() string
func (*MvccGetByKeyResponse) Unmarshal ¶
func (m *MvccGetByKeyResponse) Unmarshal(dAtA []byte) error
func (*MvccGetByKeyResponse) XXX_DiscardUnknown ¶
func (m *MvccGetByKeyResponse) XXX_DiscardUnknown()
func (*MvccGetByKeyResponse) XXX_Marshal ¶
func (m *MvccGetByKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MvccGetByKeyResponse) XXX_Merge ¶
func (m *MvccGetByKeyResponse) XXX_Merge(src proto.Message)
func (*MvccGetByKeyResponse) XXX_Size ¶
func (m *MvccGetByKeyResponse) XXX_Size() int
func (*MvccGetByKeyResponse) XXX_Unmarshal ¶
func (m *MvccGetByKeyResponse) XXX_Unmarshal(b []byte) error
type MvccGetByStartTsRequest ¶
type MvccGetByStartTsRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` StartTs uint64 `protobuf:"varint,2,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MvccGetByStartTsRequest) Descriptor ¶
func (*MvccGetByStartTsRequest) Descriptor() ([]byte, []int)
func (*MvccGetByStartTsRequest) GetContext ¶
func (m *MvccGetByStartTsRequest) GetContext() *Context
func (*MvccGetByStartTsRequest) GetStartTs ¶
func (m *MvccGetByStartTsRequest) GetStartTs() uint64
func (*MvccGetByStartTsRequest) Marshal ¶
func (m *MvccGetByStartTsRequest) Marshal() (dAtA []byte, err error)
func (*MvccGetByStartTsRequest) MarshalTo ¶
func (m *MvccGetByStartTsRequest) MarshalTo(dAtA []byte) (int, error)
func (*MvccGetByStartTsRequest) MarshalToSizedBuffer ¶
func (m *MvccGetByStartTsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MvccGetByStartTsRequest) ProtoMessage ¶
func (*MvccGetByStartTsRequest) ProtoMessage()
func (*MvccGetByStartTsRequest) Reset ¶
func (m *MvccGetByStartTsRequest) Reset()
func (*MvccGetByStartTsRequest) Size ¶
func (m *MvccGetByStartTsRequest) Size() (n int)
func (*MvccGetByStartTsRequest) String ¶
func (m *MvccGetByStartTsRequest) String() string
func (*MvccGetByStartTsRequest) Unmarshal ¶
func (m *MvccGetByStartTsRequest) Unmarshal(dAtA []byte) error
func (*MvccGetByStartTsRequest) XXX_DiscardUnknown ¶
func (m *MvccGetByStartTsRequest) XXX_DiscardUnknown()
func (*MvccGetByStartTsRequest) XXX_Marshal ¶
func (m *MvccGetByStartTsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MvccGetByStartTsRequest) XXX_Merge ¶
func (m *MvccGetByStartTsRequest) XXX_Merge(src proto.Message)
func (*MvccGetByStartTsRequest) XXX_Size ¶
func (m *MvccGetByStartTsRequest) XXX_Size() int
func (*MvccGetByStartTsRequest) XXX_Unmarshal ¶
func (m *MvccGetByStartTsRequest) XXX_Unmarshal(b []byte) error
type MvccGetByStartTsResponse ¶
type MvccGetByStartTsResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Info *MvccInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MvccGetByStartTsResponse) Descriptor ¶
func (*MvccGetByStartTsResponse) Descriptor() ([]byte, []int)
func (*MvccGetByStartTsResponse) GetError ¶
func (m *MvccGetByStartTsResponse) GetError() string
func (*MvccGetByStartTsResponse) GetInfo ¶
func (m *MvccGetByStartTsResponse) GetInfo() *MvccInfo
func (*MvccGetByStartTsResponse) GetKey ¶
func (m *MvccGetByStartTsResponse) GetKey() []byte
func (*MvccGetByStartTsResponse) GetRegionError ¶
func (m *MvccGetByStartTsResponse) GetRegionError() *errorpb.Error
func (*MvccGetByStartTsResponse) Marshal ¶
func (m *MvccGetByStartTsResponse) Marshal() (dAtA []byte, err error)
func (*MvccGetByStartTsResponse) MarshalTo ¶
func (m *MvccGetByStartTsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MvccGetByStartTsResponse) MarshalToSizedBuffer ¶
func (m *MvccGetByStartTsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MvccGetByStartTsResponse) ProtoMessage ¶
func (*MvccGetByStartTsResponse) ProtoMessage()
func (*MvccGetByStartTsResponse) Reset ¶
func (m *MvccGetByStartTsResponse) Reset()
func (*MvccGetByStartTsResponse) Size ¶
func (m *MvccGetByStartTsResponse) Size() (n int)
func (*MvccGetByStartTsResponse) String ¶
func (m *MvccGetByStartTsResponse) String() string
func (*MvccGetByStartTsResponse) Unmarshal ¶
func (m *MvccGetByStartTsResponse) Unmarshal(dAtA []byte) error
func (*MvccGetByStartTsResponse) XXX_DiscardUnknown ¶
func (m *MvccGetByStartTsResponse) XXX_DiscardUnknown()
func (*MvccGetByStartTsResponse) XXX_Marshal ¶
func (m *MvccGetByStartTsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MvccGetByStartTsResponse) XXX_Merge ¶
func (m *MvccGetByStartTsResponse) XXX_Merge(src proto.Message)
func (*MvccGetByStartTsResponse) XXX_Size ¶
func (m *MvccGetByStartTsResponse) XXX_Size() int
func (*MvccGetByStartTsResponse) XXX_Unmarshal ¶
func (m *MvccGetByStartTsResponse) XXX_Unmarshal(b []byte) error
type MvccInfo ¶
type MvccInfo struct { Lock *MvccLock `protobuf:"bytes,1,opt,name=lock,proto3" json:"lock,omitempty"` Writes []*MvccWrite `protobuf:"bytes,2,rep,name=writes,proto3" json:"writes,omitempty"` Values []*MvccValue `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MvccInfo) Descriptor ¶
func (*MvccInfo) MarshalToSizedBuffer ¶
func (*MvccInfo) ProtoMessage ¶
func (*MvccInfo) ProtoMessage()
func (*MvccInfo) XXX_DiscardUnknown ¶
func (m *MvccInfo) XXX_DiscardUnknown()
func (*MvccInfo) XXX_Marshal ¶
func (*MvccInfo) XXX_Unmarshal ¶
type MvccLock ¶
type MvccLock struct { Type Op `protobuf:"varint,1,opt,name=type,proto3,enum=kvrpcpb.Op" json:"type,omitempty"` StartTs uint64 `protobuf:"varint,2,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` Primary []byte `protobuf:"bytes,3,opt,name=primary,proto3" json:"primary,omitempty"` ShortValue []byte `protobuf:"bytes,4,opt,name=short_value,json=shortValue,proto3" json:"short_value,omitempty"` Ttl uint64 `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"` ForUpdateTs uint64 `protobuf:"varint,6,opt,name=for_update_ts,json=forUpdateTs,proto3" json:"for_update_ts,omitempty"` TxnSize uint64 `protobuf:"varint,7,opt,name=txn_size,json=txnSize,proto3" json:"txn_size,omitempty"` UseAsyncCommit bool `protobuf:"varint,8,opt,name=use_async_commit,json=useAsyncCommit,proto3" json:"use_async_commit,omitempty"` Secondaries [][]byte `protobuf:"bytes,9,rep,name=secondaries,proto3" json:"secondaries,omitempty"` RollbackTs []uint64 `protobuf:"varint,10,rep,packed,name=rollback_ts,json=rollbackTs,proto3" json:"rollback_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MvccLock) Descriptor ¶
func (*MvccLock) GetForUpdateTs ¶
func (*MvccLock) GetPrimary ¶
func (*MvccLock) GetRollbackTs ¶
func (*MvccLock) GetSecondaries ¶
func (*MvccLock) GetShortValue ¶
func (*MvccLock) GetStartTs ¶
func (*MvccLock) GetTxnSize ¶
func (*MvccLock) GetUseAsyncCommit ¶
func (*MvccLock) MarshalToSizedBuffer ¶
func (*MvccLock) ProtoMessage ¶
func (*MvccLock) ProtoMessage()
func (*MvccLock) XXX_DiscardUnknown ¶
func (m *MvccLock) XXX_DiscardUnknown()
func (*MvccLock) XXX_Marshal ¶
func (*MvccLock) XXX_Unmarshal ¶
type MvccValue ¶
type MvccValue struct { StartTs uint64 `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MvccValue) Descriptor ¶
func (*MvccValue) GetStartTs ¶
func (*MvccValue) MarshalToSizedBuffer ¶
func (*MvccValue) ProtoMessage ¶
func (*MvccValue) ProtoMessage()
func (*MvccValue) XXX_DiscardUnknown ¶
func (m *MvccValue) XXX_DiscardUnknown()
func (*MvccValue) XXX_Marshal ¶
func (*MvccValue) XXX_Unmarshal ¶
type MvccWrite ¶
type MvccWrite struct { Type Op `protobuf:"varint,1,opt,name=type,proto3,enum=kvrpcpb.Op" json:"type,omitempty"` StartTs uint64 `protobuf:"varint,2,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` CommitTs uint64 `protobuf:"varint,3,opt,name=commit_ts,json=commitTs,proto3" json:"commit_ts,omitempty"` ShortValue []byte `protobuf:"bytes,4,opt,name=short_value,json=shortValue,proto3" json:"short_value,omitempty"` HasOverlappedRollback bool `` /* 127-byte string literal not displayed */ HasGcFence bool `protobuf:"varint,6,opt,name=has_gc_fence,json=hasGcFence,proto3" json:"has_gc_fence,omitempty"` GcFence uint64 `protobuf:"varint,7,opt,name=gc_fence,json=gcFence,proto3" json:"gc_fence,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MvccWrite) Descriptor ¶
func (*MvccWrite) GetCommitTs ¶
func (*MvccWrite) GetGcFence ¶
func (*MvccWrite) GetHasGcFence ¶
func (*MvccWrite) GetHasOverlappedRollback ¶
func (*MvccWrite) GetShortValue ¶
func (*MvccWrite) GetStartTs ¶
func (*MvccWrite) MarshalToSizedBuffer ¶
func (*MvccWrite) ProtoMessage ¶
func (*MvccWrite) ProtoMessage()
func (*MvccWrite) XXX_DiscardUnknown ¶
func (m *MvccWrite) XXX_DiscardUnknown()
func (*MvccWrite) XXX_Marshal ¶
func (*MvccWrite) XXX_Unmarshal ¶
type PessimisticLockRequest ¶
type PessimisticLockRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // In this case every `Op` of the mutations must be `PessimisticLock`. Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"` PrimaryLock []byte `protobuf:"bytes,3,opt,name=primary_lock,json=primaryLock,proto3" json:"primary_lock,omitempty"` StartVersion uint64 `protobuf:"varint,4,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` LockTtl uint64 `protobuf:"varint,5,opt,name=lock_ttl,json=lockTtl,proto3" json:"lock_ttl,omitempty"` // Each locking command in a pessimistic transaction has its own timestamp. If locking fails, then // the corresponding SQL statement can be retried with a later timestamp, TiDB does not need to // retry the whole transaction. The name comes from the `SELECT ... FOR UPDATE` SQL statement which // is a locking read. Each `SELECT ... FOR UPDATE` in a transaction will be assigned its own // timestamp. ForUpdateTs uint64 `protobuf:"varint,6,opt,name=for_update_ts,json=forUpdateTs,proto3" json:"for_update_ts,omitempty"` // If the request is the first lock request, we don't need to detect deadlock. IsFirstLock bool `protobuf:"varint,7,opt,name=is_first_lock,json=isFirstLock,proto3" json:"is_first_lock,omitempty"` // Time to wait for lock released in milliseconds when encountering locks. // 0 means using default timeout in TiKV. Negative means no wait. WaitTimeout int64 `protobuf:"varint,8,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` // If it is true, TiKV will acquire the pessimistic lock regardless of write conflict // and return the latest value. It's only supported for single mutation. Force bool `protobuf:"varint,9,opt,name=force,proto3" json:"force,omitempty"` // Deprecated: Do not use. // If it is true, TiKV will return values of the keys if no error, so TiDB can cache the values for // later read in the same transaction. // When 'force' is set to true, this field is ignored. ReturnValues bool `protobuf:"varint,10,opt,name=return_values,json=returnValues,proto3" json:"return_values,omitempty"` // If min_commit_ts > 0, this is large transaction proto, the final commit_ts // would be infered from min_commit_ts. MinCommitTs uint64 `protobuf:"varint,11,opt,name=min_commit_ts,json=minCommitTs,proto3" json:"min_commit_ts,omitempty"` // If set to true, it means TiKV need to check if the key exists, and return the result in // the `not_founds` feild in the response. This works no matter if `return_values` is set. If // `return_values` is set, it simply makes no difference; otherwise, the `value` field of the // repsonse will be empty while the `not_founds` field still indicates the keys' existence. CheckExistence bool `protobuf:"varint,12,opt,name=check_existence,json=checkExistence,proto3" json:"check_existence,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Lock a set of keys to prepare to write to them.
func (*PessimisticLockRequest) Descriptor ¶
func (*PessimisticLockRequest) Descriptor() ([]byte, []int)
func (*PessimisticLockRequest) GetCheckExistence ¶
func (m *PessimisticLockRequest) GetCheckExistence() bool
func (*PessimisticLockRequest) GetContext ¶
func (m *PessimisticLockRequest) GetContext() *Context
func (*PessimisticLockRequest) GetForUpdateTs ¶
func (m *PessimisticLockRequest) GetForUpdateTs() uint64
func (*PessimisticLockRequest) GetForce
deprecated
func (m *PessimisticLockRequest) GetForce() bool
Deprecated: Do not use.
func (*PessimisticLockRequest) GetIsFirstLock ¶
func (m *PessimisticLockRequest) GetIsFirstLock() bool
func (*PessimisticLockRequest) GetLockTtl ¶
func (m *PessimisticLockRequest) GetLockTtl() uint64
func (*PessimisticLockRequest) GetMinCommitTs ¶
func (m *PessimisticLockRequest) GetMinCommitTs() uint64
func (*PessimisticLockRequest) GetMutations ¶
func (m *PessimisticLockRequest) GetMutations() []*Mutation
func (*PessimisticLockRequest) GetPrimaryLock ¶
func (m *PessimisticLockRequest) GetPrimaryLock() []byte
func (*PessimisticLockRequest) GetReturnValues ¶
func (m *PessimisticLockRequest) GetReturnValues() bool
func (*PessimisticLockRequest) GetStartVersion ¶
func (m *PessimisticLockRequest) GetStartVersion() uint64
func (*PessimisticLockRequest) GetWaitTimeout ¶
func (m *PessimisticLockRequest) GetWaitTimeout() int64
func (*PessimisticLockRequest) Marshal ¶
func (m *PessimisticLockRequest) Marshal() (dAtA []byte, err error)
func (*PessimisticLockRequest) MarshalTo ¶
func (m *PessimisticLockRequest) MarshalTo(dAtA []byte) (int, error)
func (*PessimisticLockRequest) MarshalToSizedBuffer ¶
func (m *PessimisticLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PessimisticLockRequest) ProtoMessage ¶
func (*PessimisticLockRequest) ProtoMessage()
func (*PessimisticLockRequest) Reset ¶
func (m *PessimisticLockRequest) Reset()
func (*PessimisticLockRequest) Size ¶
func (m *PessimisticLockRequest) Size() (n int)
func (*PessimisticLockRequest) String ¶
func (m *PessimisticLockRequest) String() string
func (*PessimisticLockRequest) Unmarshal ¶
func (m *PessimisticLockRequest) Unmarshal(dAtA []byte) error
func (*PessimisticLockRequest) XXX_DiscardUnknown ¶
func (m *PessimisticLockRequest) XXX_DiscardUnknown()
func (*PessimisticLockRequest) XXX_Marshal ¶
func (m *PessimisticLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PessimisticLockRequest) XXX_Merge ¶
func (m *PessimisticLockRequest) XXX_Merge(src proto.Message)
func (*PessimisticLockRequest) XXX_Size ¶
func (m *PessimisticLockRequest) XXX_Size() int
func (*PessimisticLockRequest) XXX_Unmarshal ¶
func (m *PessimisticLockRequest) XXX_Unmarshal(b []byte) error
type PessimisticLockResponse ¶
type PessimisticLockResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Errors []*KeyError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // It carries the latest value and its commit ts if force in PessimisticLockRequest is true. CommitTs uint64 `protobuf:"varint,3,opt,name=commit_ts,json=commitTs,proto3" json:"commit_ts,omitempty"` // Deprecated: Do not use. Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // Deprecated: Do not use. // The values is set if 'return_values' is true in the request and no error. // If 'force' is true, this field is not used. Values [][]byte `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"` // Indicates whether the values at the same index is correspond to an existing key. // In legacy TiKV, this field is not used even 'force' is false. In that case, an empty value indicates // two possible situations: (1) the key does not exist. (2) the key exists but the value is empty. NotFounds []bool `protobuf:"varint,6,rep,packed,name=not_founds,json=notFounds,proto3" json:"not_founds,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,7,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PessimisticLockResponse) Descriptor ¶
func (*PessimisticLockResponse) Descriptor() ([]byte, []int)
func (*PessimisticLockResponse) GetCommitTs
deprecated
func (m *PessimisticLockResponse) GetCommitTs() uint64
Deprecated: Do not use.
func (*PessimisticLockResponse) GetErrors ¶
func (m *PessimisticLockResponse) GetErrors() []*KeyError
func (*PessimisticLockResponse) GetExecDetailsV2 ¶
func (m *PessimisticLockResponse) GetExecDetailsV2() *ExecDetailsV2
func (*PessimisticLockResponse) GetNotFounds ¶
func (m *PessimisticLockResponse) GetNotFounds() []bool
func (*PessimisticLockResponse) GetRegionError ¶
func (m *PessimisticLockResponse) GetRegionError() *errorpb.Error
func (*PessimisticLockResponse) GetValue
deprecated
func (m *PessimisticLockResponse) GetValue() []byte
Deprecated: Do not use.
func (*PessimisticLockResponse) GetValues ¶
func (m *PessimisticLockResponse) GetValues() [][]byte
func (*PessimisticLockResponse) Marshal ¶
func (m *PessimisticLockResponse) Marshal() (dAtA []byte, err error)
func (*PessimisticLockResponse) MarshalTo ¶
func (m *PessimisticLockResponse) MarshalTo(dAtA []byte) (int, error)
func (*PessimisticLockResponse) MarshalToSizedBuffer ¶
func (m *PessimisticLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PessimisticLockResponse) ProtoMessage ¶
func (*PessimisticLockResponse) ProtoMessage()
func (*PessimisticLockResponse) Reset ¶
func (m *PessimisticLockResponse) Reset()
func (*PessimisticLockResponse) Size ¶
func (m *PessimisticLockResponse) Size() (n int)
func (*PessimisticLockResponse) String ¶
func (m *PessimisticLockResponse) String() string
func (*PessimisticLockResponse) Unmarshal ¶
func (m *PessimisticLockResponse) Unmarshal(dAtA []byte) error
func (*PessimisticLockResponse) XXX_DiscardUnknown ¶
func (m *PessimisticLockResponse) XXX_DiscardUnknown()
func (*PessimisticLockResponse) XXX_Marshal ¶
func (m *PessimisticLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PessimisticLockResponse) XXX_Merge ¶
func (m *PessimisticLockResponse) XXX_Merge(src proto.Message)
func (*PessimisticLockResponse) XXX_Size ¶
func (m *PessimisticLockResponse) XXX_Size() int
func (*PessimisticLockResponse) XXX_Unmarshal ¶
func (m *PessimisticLockResponse) XXX_Unmarshal(b []byte) error
type PessimisticRollbackRequest ¶
type PessimisticRollbackRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` StartVersion uint64 `protobuf:"varint,2,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` ForUpdateTs uint64 `protobuf:"varint,3,opt,name=for_update_ts,json=forUpdateTs,proto3" json:"for_update_ts,omitempty"` Keys [][]byte `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Unlock keys locked using `PessimisticLockRequest`.
func (*PessimisticRollbackRequest) Descriptor ¶
func (*PessimisticRollbackRequest) Descriptor() ([]byte, []int)
func (*PessimisticRollbackRequest) GetContext ¶
func (m *PessimisticRollbackRequest) GetContext() *Context
func (*PessimisticRollbackRequest) GetForUpdateTs ¶
func (m *PessimisticRollbackRequest) GetForUpdateTs() uint64
func (*PessimisticRollbackRequest) GetKeys ¶
func (m *PessimisticRollbackRequest) GetKeys() [][]byte
func (*PessimisticRollbackRequest) GetStartVersion ¶
func (m *PessimisticRollbackRequest) GetStartVersion() uint64
func (*PessimisticRollbackRequest) Marshal ¶
func (m *PessimisticRollbackRequest) Marshal() (dAtA []byte, err error)
func (*PessimisticRollbackRequest) MarshalTo ¶
func (m *PessimisticRollbackRequest) MarshalTo(dAtA []byte) (int, error)
func (*PessimisticRollbackRequest) MarshalToSizedBuffer ¶
func (m *PessimisticRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PessimisticRollbackRequest) ProtoMessage ¶
func (*PessimisticRollbackRequest) ProtoMessage()
func (*PessimisticRollbackRequest) Reset ¶
func (m *PessimisticRollbackRequest) Reset()
func (*PessimisticRollbackRequest) Size ¶
func (m *PessimisticRollbackRequest) Size() (n int)
func (*PessimisticRollbackRequest) String ¶
func (m *PessimisticRollbackRequest) String() string
func (*PessimisticRollbackRequest) Unmarshal ¶
func (m *PessimisticRollbackRequest) Unmarshal(dAtA []byte) error
func (*PessimisticRollbackRequest) XXX_DiscardUnknown ¶
func (m *PessimisticRollbackRequest) XXX_DiscardUnknown()
func (*PessimisticRollbackRequest) XXX_Marshal ¶
func (m *PessimisticRollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PessimisticRollbackRequest) XXX_Merge ¶
func (m *PessimisticRollbackRequest) XXX_Merge(src proto.Message)
func (*PessimisticRollbackRequest) XXX_Size ¶
func (m *PessimisticRollbackRequest) XXX_Size() int
func (*PessimisticRollbackRequest) XXX_Unmarshal ¶
func (m *PessimisticRollbackRequest) XXX_Unmarshal(b []byte) error
type PessimisticRollbackResponse ¶
type PessimisticRollbackResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Errors []*KeyError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,3,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PessimisticRollbackResponse) Descriptor ¶
func (*PessimisticRollbackResponse) Descriptor() ([]byte, []int)
func (*PessimisticRollbackResponse) GetErrors ¶
func (m *PessimisticRollbackResponse) GetErrors() []*KeyError
func (*PessimisticRollbackResponse) GetExecDetailsV2 ¶
func (m *PessimisticRollbackResponse) GetExecDetailsV2() *ExecDetailsV2
func (*PessimisticRollbackResponse) GetRegionError ¶
func (m *PessimisticRollbackResponse) GetRegionError() *errorpb.Error
func (*PessimisticRollbackResponse) Marshal ¶
func (m *PessimisticRollbackResponse) Marshal() (dAtA []byte, err error)
func (*PessimisticRollbackResponse) MarshalTo ¶
func (m *PessimisticRollbackResponse) MarshalTo(dAtA []byte) (int, error)
func (*PessimisticRollbackResponse) MarshalToSizedBuffer ¶
func (m *PessimisticRollbackResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PessimisticRollbackResponse) ProtoMessage ¶
func (*PessimisticRollbackResponse) ProtoMessage()
func (*PessimisticRollbackResponse) Reset ¶
func (m *PessimisticRollbackResponse) Reset()
func (*PessimisticRollbackResponse) Size ¶
func (m *PessimisticRollbackResponse) Size() (n int)
func (*PessimisticRollbackResponse) String ¶
func (m *PessimisticRollbackResponse) String() string
func (*PessimisticRollbackResponse) Unmarshal ¶
func (m *PessimisticRollbackResponse) Unmarshal(dAtA []byte) error
func (*PessimisticRollbackResponse) XXX_DiscardUnknown ¶
func (m *PessimisticRollbackResponse) XXX_DiscardUnknown()
func (*PessimisticRollbackResponse) XXX_Marshal ¶
func (m *PessimisticRollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PessimisticRollbackResponse) XXX_Merge ¶
func (m *PessimisticRollbackResponse) XXX_Merge(src proto.Message)
func (*PessimisticRollbackResponse) XXX_Size ¶
func (m *PessimisticRollbackResponse) XXX_Size() int
func (*PessimisticRollbackResponse) XXX_Unmarshal ¶
func (m *PessimisticRollbackResponse) XXX_Unmarshal(b []byte) error
type PhysicalScanLockRequest ¶
type PhysicalScanLockRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` MaxTs uint64 `protobuf:"varint,2,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"` StartKey []byte `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PhysicalScanLockRequest) Descriptor ¶
func (*PhysicalScanLockRequest) Descriptor() ([]byte, []int)
func (*PhysicalScanLockRequest) GetContext ¶
func (m *PhysicalScanLockRequest) GetContext() *Context
func (*PhysicalScanLockRequest) GetLimit ¶
func (m *PhysicalScanLockRequest) GetLimit() uint32
func (*PhysicalScanLockRequest) GetMaxTs ¶
func (m *PhysicalScanLockRequest) GetMaxTs() uint64
func (*PhysicalScanLockRequest) GetStartKey ¶
func (m *PhysicalScanLockRequest) GetStartKey() []byte
func (*PhysicalScanLockRequest) Marshal ¶
func (m *PhysicalScanLockRequest) Marshal() (dAtA []byte, err error)
func (*PhysicalScanLockRequest) MarshalTo ¶
func (m *PhysicalScanLockRequest) MarshalTo(dAtA []byte) (int, error)
func (*PhysicalScanLockRequest) MarshalToSizedBuffer ¶
func (m *PhysicalScanLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PhysicalScanLockRequest) ProtoMessage ¶
func (*PhysicalScanLockRequest) ProtoMessage()
func (*PhysicalScanLockRequest) Reset ¶
func (m *PhysicalScanLockRequest) Reset()
func (*PhysicalScanLockRequest) Size ¶
func (m *PhysicalScanLockRequest) Size() (n int)
func (*PhysicalScanLockRequest) String ¶
func (m *PhysicalScanLockRequest) String() string
func (*PhysicalScanLockRequest) Unmarshal ¶
func (m *PhysicalScanLockRequest) Unmarshal(dAtA []byte) error
func (*PhysicalScanLockRequest) XXX_DiscardUnknown ¶
func (m *PhysicalScanLockRequest) XXX_DiscardUnknown()
func (*PhysicalScanLockRequest) XXX_Marshal ¶
func (m *PhysicalScanLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PhysicalScanLockRequest) XXX_Merge ¶
func (m *PhysicalScanLockRequest) XXX_Merge(src proto.Message)
func (*PhysicalScanLockRequest) XXX_Size ¶
func (m *PhysicalScanLockRequest) XXX_Size() int
func (*PhysicalScanLockRequest) XXX_Unmarshal ¶
func (m *PhysicalScanLockRequest) XXX_Unmarshal(b []byte) error
type PhysicalScanLockResponse ¶
type PhysicalScanLockResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Locks []*LockInfo `protobuf:"bytes,2,rep,name=locks,proto3" json:"locks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PhysicalScanLockResponse) Descriptor ¶
func (*PhysicalScanLockResponse) Descriptor() ([]byte, []int)
func (*PhysicalScanLockResponse) GetError ¶
func (m *PhysicalScanLockResponse) GetError() string
func (*PhysicalScanLockResponse) GetLocks ¶
func (m *PhysicalScanLockResponse) GetLocks() []*LockInfo
func (*PhysicalScanLockResponse) Marshal ¶
func (m *PhysicalScanLockResponse) Marshal() (dAtA []byte, err error)
func (*PhysicalScanLockResponse) MarshalTo ¶
func (m *PhysicalScanLockResponse) MarshalTo(dAtA []byte) (int, error)
func (*PhysicalScanLockResponse) MarshalToSizedBuffer ¶
func (m *PhysicalScanLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PhysicalScanLockResponse) ProtoMessage ¶
func (*PhysicalScanLockResponse) ProtoMessage()
func (*PhysicalScanLockResponse) Reset ¶
func (m *PhysicalScanLockResponse) Reset()
func (*PhysicalScanLockResponse) Size ¶
func (m *PhysicalScanLockResponse) Size() (n int)
func (*PhysicalScanLockResponse) String ¶
func (m *PhysicalScanLockResponse) String() string
func (*PhysicalScanLockResponse) Unmarshal ¶
func (m *PhysicalScanLockResponse) Unmarshal(dAtA []byte) error
func (*PhysicalScanLockResponse) XXX_DiscardUnknown ¶
func (m *PhysicalScanLockResponse) XXX_DiscardUnknown()
func (*PhysicalScanLockResponse) XXX_Marshal ¶
func (m *PhysicalScanLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PhysicalScanLockResponse) XXX_Merge ¶
func (m *PhysicalScanLockResponse) XXX_Merge(src proto.Message)
func (*PhysicalScanLockResponse) XXX_Size ¶
func (m *PhysicalScanLockResponse) XXX_Size() int
func (*PhysicalScanLockResponse) XXX_Unmarshal ¶
func (m *PhysicalScanLockResponse) XXX_Unmarshal(b []byte) error
type PrewriteRequest ¶
type PrewriteRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // The data to be written to the database. Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"` // The client picks one key to be primary (unrelated to the primary key concept in SQL). This // key's lock is the source of truth for the state of a transaction. All other locks due to a // transaction will point to the primary lock. PrimaryLock []byte `protobuf:"bytes,3,opt,name=primary_lock,json=primaryLock,proto3" json:"primary_lock,omitempty"` // Identifies the transaction being written. StartVersion uint64 `protobuf:"varint,4,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` LockTtl uint64 `protobuf:"varint,5,opt,name=lock_ttl,json=lockTtl,proto3" json:"lock_ttl,omitempty"` // TiKV can skip some checks, used for speeding up data migration. SkipConstraintCheck bool `protobuf:"varint,6,opt,name=skip_constraint_check,json=skipConstraintCheck,proto3" json:"skip_constraint_check,omitempty"` // For pessimistic transaction, some mutations don't need to be locked, for example, non-unique index key. IsPessimisticLock []bool `protobuf:"varint,7,rep,packed,name=is_pessimistic_lock,json=isPessimisticLock,proto3" json:"is_pessimistic_lock,omitempty"` // How many keys this transaction involves in this region. TxnSize uint64 `protobuf:"varint,8,opt,name=txn_size,json=txnSize,proto3" json:"txn_size,omitempty"` // For pessimistic transactions only; used to check if a conflict lock is already committed. ForUpdateTs uint64 `protobuf:"varint,9,opt,name=for_update_ts,json=forUpdateTs,proto3" json:"for_update_ts,omitempty"` // If min_commit_ts > 0, this is a large transaction request, the final commit_ts // will be inferred from `min_commit_ts`. MinCommitTs uint64 `protobuf:"varint,10,opt,name=min_commit_ts,json=minCommitTs,proto3" json:"min_commit_ts,omitempty"` // When async commit is enabled, `secondaries` should be set as the key list of all secondary // locks if the request prewrites the primary lock. UseAsyncCommit bool `protobuf:"varint,11,opt,name=use_async_commit,json=useAsyncCommit,proto3" json:"use_async_commit,omitempty"` Secondaries [][]byte `protobuf:"bytes,12,rep,name=secondaries,proto3" json:"secondaries,omitempty"` // When the transaction involves only one region, it's possible to commit the transaction // directly with 1PC protocol. TryOnePc bool `protobuf:"varint,13,opt,name=try_one_pc,json=tryOnePc,proto3" json:"try_one_pc,omitempty"` // The max commit ts is reserved for limiting the commit ts of 1PC or async commit, which can be used to avoid // inconsistency with schema change. MaxCommitTs uint64 `protobuf:"varint,14,opt,name=max_commit_ts,json=maxCommitTs,proto3" json:"max_commit_ts,omitempty"` // The level of assertion to use on this prewrte request. AssertionLevel AssertionLevel `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A prewrite is the first phase of writing to TiKV. It contains all data to be written in a transaction. TiKV will write the data in a preliminary state. Data cannot be read until it has been committed. The client should only commit a transaction once all prewrites succeed.
func (*PrewriteRequest) Descriptor ¶
func (*PrewriteRequest) Descriptor() ([]byte, []int)
func (*PrewriteRequest) GetAssertionLevel ¶
func (m *PrewriteRequest) GetAssertionLevel() AssertionLevel
func (*PrewriteRequest) GetContext ¶
func (m *PrewriteRequest) GetContext() *Context
func (*PrewriteRequest) GetForUpdateTs ¶
func (m *PrewriteRequest) GetForUpdateTs() uint64
func (*PrewriteRequest) GetIsPessimisticLock ¶
func (m *PrewriteRequest) GetIsPessimisticLock() []bool
func (*PrewriteRequest) GetLockTtl ¶
func (m *PrewriteRequest) GetLockTtl() uint64
func (*PrewriteRequest) GetMaxCommitTs ¶
func (m *PrewriteRequest) GetMaxCommitTs() uint64
func (*PrewriteRequest) GetMinCommitTs ¶
func (m *PrewriteRequest) GetMinCommitTs() uint64
func (*PrewriteRequest) GetMutations ¶
func (m *PrewriteRequest) GetMutations() []*Mutation
func (*PrewriteRequest) GetPrimaryLock ¶
func (m *PrewriteRequest) GetPrimaryLock() []byte
func (*PrewriteRequest) GetSecondaries ¶
func (m *PrewriteRequest) GetSecondaries() [][]byte
func (*PrewriteRequest) GetSkipConstraintCheck ¶
func (m *PrewriteRequest) GetSkipConstraintCheck() bool
func (*PrewriteRequest) GetStartVersion ¶
func (m *PrewriteRequest) GetStartVersion() uint64
func (*PrewriteRequest) GetTryOnePc ¶
func (m *PrewriteRequest) GetTryOnePc() bool
func (*PrewriteRequest) GetTxnSize ¶
func (m *PrewriteRequest) GetTxnSize() uint64
func (*PrewriteRequest) GetUseAsyncCommit ¶
func (m *PrewriteRequest) GetUseAsyncCommit() bool
func (*PrewriteRequest) Marshal ¶
func (m *PrewriteRequest) Marshal() (dAtA []byte, err error)
func (*PrewriteRequest) MarshalToSizedBuffer ¶
func (m *PrewriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrewriteRequest) ProtoMessage ¶
func (*PrewriteRequest) ProtoMessage()
func (*PrewriteRequest) Reset ¶
func (m *PrewriteRequest) Reset()
func (*PrewriteRequest) Size ¶
func (m *PrewriteRequest) Size() (n int)
func (*PrewriteRequest) String ¶
func (m *PrewriteRequest) String() string
func (*PrewriteRequest) Unmarshal ¶
func (m *PrewriteRequest) Unmarshal(dAtA []byte) error
func (*PrewriteRequest) XXX_DiscardUnknown ¶
func (m *PrewriteRequest) XXX_DiscardUnknown()
func (*PrewriteRequest) XXX_Marshal ¶
func (m *PrewriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrewriteRequest) XXX_Merge ¶
func (m *PrewriteRequest) XXX_Merge(src proto.Message)
func (*PrewriteRequest) XXX_Size ¶
func (m *PrewriteRequest) XXX_Size() int
func (*PrewriteRequest) XXX_Unmarshal ¶
func (m *PrewriteRequest) XXX_Unmarshal(b []byte) error
type PrewriteResponse ¶
type PrewriteResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Errors []*KeyError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // 0 if the min_commit_ts is not ready or any other reason that async // commit cannot proceed. The client can then fallback to normal way to // continue committing the transaction if prewrite are all finished. MinCommitTs uint64 `protobuf:"varint,3,opt,name=min_commit_ts,json=minCommitTs,proto3" json:"min_commit_ts,omitempty"` // When the transaction is successfully committed with 1PC protocol, this field will be set to // the commit ts of the transaction. Otherwise, if TiKV failed to commit it with 1PC or the // transaction is not 1PC, the value will be 0. OnePcCommitTs uint64 `protobuf:"varint,4,opt,name=one_pc_commit_ts,json=onePcCommitTs,proto3" json:"one_pc_commit_ts,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,5,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PrewriteResponse) Descriptor ¶
func (*PrewriteResponse) Descriptor() ([]byte, []int)
func (*PrewriteResponse) GetErrors ¶
func (m *PrewriteResponse) GetErrors() []*KeyError
func (*PrewriteResponse) GetExecDetailsV2 ¶
func (m *PrewriteResponse) GetExecDetailsV2() *ExecDetailsV2
func (*PrewriteResponse) GetMinCommitTs ¶
func (m *PrewriteResponse) GetMinCommitTs() uint64
func (*PrewriteResponse) GetOnePcCommitTs ¶
func (m *PrewriteResponse) GetOnePcCommitTs() uint64
func (*PrewriteResponse) GetRegionError ¶
func (m *PrewriteResponse) GetRegionError() *errorpb.Error
func (*PrewriteResponse) Marshal ¶
func (m *PrewriteResponse) Marshal() (dAtA []byte, err error)
func (*PrewriteResponse) MarshalToSizedBuffer ¶
func (m *PrewriteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrewriteResponse) ProtoMessage ¶
func (*PrewriteResponse) ProtoMessage()
func (*PrewriteResponse) Reset ¶
func (m *PrewriteResponse) Reset()
func (*PrewriteResponse) Size ¶
func (m *PrewriteResponse) Size() (n int)
func (*PrewriteResponse) String ¶
func (m *PrewriteResponse) String() string
func (*PrewriteResponse) Unmarshal ¶
func (m *PrewriteResponse) Unmarshal(dAtA []byte) error
func (*PrewriteResponse) XXX_DiscardUnknown ¶
func (m *PrewriteResponse) XXX_DiscardUnknown()
func (*PrewriteResponse) XXX_Marshal ¶
func (m *PrewriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrewriteResponse) XXX_Merge ¶
func (m *PrewriteResponse) XXX_Merge(src proto.Message)
func (*PrewriteResponse) XXX_Size ¶
func (m *PrewriteResponse) XXX_Size() int
func (*PrewriteResponse) XXX_Unmarshal ¶
func (m *PrewriteResponse) XXX_Unmarshal(b []byte) error
type RawBatchDeleteRequest ¶
type RawBatchDeleteRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Keys [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` Cf string `protobuf:"bytes,3,opt,name=cf,proto3" json:"cf,omitempty"` ForCas bool `protobuf:"varint,4,opt,name=for_cas,json=forCas,proto3" json:"for_cas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawBatchDeleteRequest) Descriptor ¶
func (*RawBatchDeleteRequest) Descriptor() ([]byte, []int)
func (*RawBatchDeleteRequest) GetCf ¶
func (m *RawBatchDeleteRequest) GetCf() string
func (*RawBatchDeleteRequest) GetContext ¶
func (m *RawBatchDeleteRequest) GetContext() *Context
func (*RawBatchDeleteRequest) GetForCas ¶
func (m *RawBatchDeleteRequest) GetForCas() bool
func (*RawBatchDeleteRequest) GetKeys ¶
func (m *RawBatchDeleteRequest) GetKeys() [][]byte
func (*RawBatchDeleteRequest) Marshal ¶
func (m *RawBatchDeleteRequest) Marshal() (dAtA []byte, err error)
func (*RawBatchDeleteRequest) MarshalTo ¶
func (m *RawBatchDeleteRequest) MarshalTo(dAtA []byte) (int, error)
func (*RawBatchDeleteRequest) MarshalToSizedBuffer ¶
func (m *RawBatchDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawBatchDeleteRequest) ProtoMessage ¶
func (*RawBatchDeleteRequest) ProtoMessage()
func (*RawBatchDeleteRequest) Reset ¶
func (m *RawBatchDeleteRequest) Reset()
func (*RawBatchDeleteRequest) Size ¶
func (m *RawBatchDeleteRequest) Size() (n int)
func (*RawBatchDeleteRequest) String ¶
func (m *RawBatchDeleteRequest) String() string
func (*RawBatchDeleteRequest) Unmarshal ¶
func (m *RawBatchDeleteRequest) Unmarshal(dAtA []byte) error
func (*RawBatchDeleteRequest) XXX_DiscardUnknown ¶
func (m *RawBatchDeleteRequest) XXX_DiscardUnknown()
func (*RawBatchDeleteRequest) XXX_Marshal ¶
func (m *RawBatchDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawBatchDeleteRequest) XXX_Merge ¶
func (m *RawBatchDeleteRequest) XXX_Merge(src proto.Message)
func (*RawBatchDeleteRequest) XXX_Size ¶
func (m *RawBatchDeleteRequest) XXX_Size() int
func (*RawBatchDeleteRequest) XXX_Unmarshal ¶
func (m *RawBatchDeleteRequest) XXX_Unmarshal(b []byte) error
type RawBatchDeleteResponse ¶
type RawBatchDeleteResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawBatchDeleteResponse) Descriptor ¶
func (*RawBatchDeleteResponse) Descriptor() ([]byte, []int)
func (*RawBatchDeleteResponse) GetError ¶
func (m *RawBatchDeleteResponse) GetError() string
func (*RawBatchDeleteResponse) GetRegionError ¶
func (m *RawBatchDeleteResponse) GetRegionError() *errorpb.Error
func (*RawBatchDeleteResponse) Marshal ¶
func (m *RawBatchDeleteResponse) Marshal() (dAtA []byte, err error)
func (*RawBatchDeleteResponse) MarshalTo ¶
func (m *RawBatchDeleteResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawBatchDeleteResponse) MarshalToSizedBuffer ¶
func (m *RawBatchDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawBatchDeleteResponse) ProtoMessage ¶
func (*RawBatchDeleteResponse) ProtoMessage()
func (*RawBatchDeleteResponse) Reset ¶
func (m *RawBatchDeleteResponse) Reset()
func (*RawBatchDeleteResponse) Size ¶
func (m *RawBatchDeleteResponse) Size() (n int)
func (*RawBatchDeleteResponse) String ¶
func (m *RawBatchDeleteResponse) String() string
func (*RawBatchDeleteResponse) Unmarshal ¶
func (m *RawBatchDeleteResponse) Unmarshal(dAtA []byte) error
func (*RawBatchDeleteResponse) XXX_DiscardUnknown ¶
func (m *RawBatchDeleteResponse) XXX_DiscardUnknown()
func (*RawBatchDeleteResponse) XXX_Marshal ¶
func (m *RawBatchDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawBatchDeleteResponse) XXX_Merge ¶
func (m *RawBatchDeleteResponse) XXX_Merge(src proto.Message)
func (*RawBatchDeleteResponse) XXX_Size ¶
func (m *RawBatchDeleteResponse) XXX_Size() int
func (*RawBatchDeleteResponse) XXX_Unmarshal ¶
func (m *RawBatchDeleteResponse) XXX_Unmarshal(b []byte) error
type RawBatchGetRequest ¶
type RawBatchGetRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Keys [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` Cf string `protobuf:"bytes,3,opt,name=cf,proto3" json:"cf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawBatchGetRequest) Descriptor ¶
func (*RawBatchGetRequest) Descriptor() ([]byte, []int)
func (*RawBatchGetRequest) GetCf ¶
func (m *RawBatchGetRequest) GetCf() string
func (*RawBatchGetRequest) GetContext ¶
func (m *RawBatchGetRequest) GetContext() *Context
func (*RawBatchGetRequest) GetKeys ¶
func (m *RawBatchGetRequest) GetKeys() [][]byte
func (*RawBatchGetRequest) Marshal ¶
func (m *RawBatchGetRequest) Marshal() (dAtA []byte, err error)
func (*RawBatchGetRequest) MarshalTo ¶
func (m *RawBatchGetRequest) MarshalTo(dAtA []byte) (int, error)
func (*RawBatchGetRequest) MarshalToSizedBuffer ¶
func (m *RawBatchGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawBatchGetRequest) ProtoMessage ¶
func (*RawBatchGetRequest) ProtoMessage()
func (*RawBatchGetRequest) Reset ¶
func (m *RawBatchGetRequest) Reset()
func (*RawBatchGetRequest) Size ¶
func (m *RawBatchGetRequest) Size() (n int)
func (*RawBatchGetRequest) String ¶
func (m *RawBatchGetRequest) String() string
func (*RawBatchGetRequest) Unmarshal ¶
func (m *RawBatchGetRequest) Unmarshal(dAtA []byte) error
func (*RawBatchGetRequest) XXX_DiscardUnknown ¶
func (m *RawBatchGetRequest) XXX_DiscardUnknown()
func (*RawBatchGetRequest) XXX_Marshal ¶
func (m *RawBatchGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawBatchGetRequest) XXX_Merge ¶
func (m *RawBatchGetRequest) XXX_Merge(src proto.Message)
func (*RawBatchGetRequest) XXX_Size ¶
func (m *RawBatchGetRequest) XXX_Size() int
func (*RawBatchGetRequest) XXX_Unmarshal ¶
func (m *RawBatchGetRequest) XXX_Unmarshal(b []byte) error
type RawBatchGetResponse ¶
type RawBatchGetResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Pairs []*KvPair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawBatchGetResponse) Descriptor ¶
func (*RawBatchGetResponse) Descriptor() ([]byte, []int)
func (*RawBatchGetResponse) GetPairs ¶
func (m *RawBatchGetResponse) GetPairs() []*KvPair
func (*RawBatchGetResponse) GetRegionError ¶
func (m *RawBatchGetResponse) GetRegionError() *errorpb.Error
func (*RawBatchGetResponse) Marshal ¶
func (m *RawBatchGetResponse) Marshal() (dAtA []byte, err error)
func (*RawBatchGetResponse) MarshalTo ¶
func (m *RawBatchGetResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawBatchGetResponse) MarshalToSizedBuffer ¶
func (m *RawBatchGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawBatchGetResponse) ProtoMessage ¶
func (*RawBatchGetResponse) ProtoMessage()
func (*RawBatchGetResponse) Reset ¶
func (m *RawBatchGetResponse) Reset()
func (*RawBatchGetResponse) Size ¶
func (m *RawBatchGetResponse) Size() (n int)
func (*RawBatchGetResponse) String ¶
func (m *RawBatchGetResponse) String() string
func (*RawBatchGetResponse) Unmarshal ¶
func (m *RawBatchGetResponse) Unmarshal(dAtA []byte) error
func (*RawBatchGetResponse) XXX_DiscardUnknown ¶
func (m *RawBatchGetResponse) XXX_DiscardUnknown()
func (*RawBatchGetResponse) XXX_Marshal ¶
func (m *RawBatchGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawBatchGetResponse) XXX_Merge ¶
func (m *RawBatchGetResponse) XXX_Merge(src proto.Message)
func (*RawBatchGetResponse) XXX_Size ¶
func (m *RawBatchGetResponse) XXX_Size() int
func (*RawBatchGetResponse) XXX_Unmarshal ¶
func (m *RawBatchGetResponse) XXX_Unmarshal(b []byte) error
type RawBatchPutRequest ¶
type RawBatchPutRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Pairs []*KvPair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` Cf string `protobuf:"bytes,3,opt,name=cf,proto3" json:"cf,omitempty"` Ttl uint64 `protobuf:"varint,4,opt,name=ttl,proto3" json:"ttl,omitempty"` // Deprecated: Do not use. ForCas bool `protobuf:"varint,5,opt,name=for_cas,json=forCas,proto3" json:"for_cas,omitempty"` // The time-to-live for each keys in seconds, and if the length of `ttls` // is exactly one, the ttl will be applied to all keys. Otherwise, the length // mismatch between `ttls` and `pairs` will return an error. Ttls []uint64 `protobuf:"varint,6,rep,packed,name=ttls,proto3" json:"ttls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawBatchPutRequest) Descriptor ¶
func (*RawBatchPutRequest) Descriptor() ([]byte, []int)
func (*RawBatchPutRequest) GetCf ¶
func (m *RawBatchPutRequest) GetCf() string
func (*RawBatchPutRequest) GetContext ¶
func (m *RawBatchPutRequest) GetContext() *Context
func (*RawBatchPutRequest) GetForCas ¶
func (m *RawBatchPutRequest) GetForCas() bool
func (*RawBatchPutRequest) GetPairs ¶
func (m *RawBatchPutRequest) GetPairs() []*KvPair
func (*RawBatchPutRequest) GetTtl
deprecated
func (m *RawBatchPutRequest) GetTtl() uint64
Deprecated: Do not use.
func (*RawBatchPutRequest) GetTtls ¶
func (m *RawBatchPutRequest) GetTtls() []uint64
func (*RawBatchPutRequest) Marshal ¶
func (m *RawBatchPutRequest) Marshal() (dAtA []byte, err error)
func (*RawBatchPutRequest) MarshalTo ¶
func (m *RawBatchPutRequest) MarshalTo(dAtA []byte) (int, error)
func (*RawBatchPutRequest) MarshalToSizedBuffer ¶
func (m *RawBatchPutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawBatchPutRequest) ProtoMessage ¶
func (*RawBatchPutRequest) ProtoMessage()
func (*RawBatchPutRequest) Reset ¶
func (m *RawBatchPutRequest) Reset()
func (*RawBatchPutRequest) Size ¶
func (m *RawBatchPutRequest) Size() (n int)
func (*RawBatchPutRequest) String ¶
func (m *RawBatchPutRequest) String() string
func (*RawBatchPutRequest) Unmarshal ¶
func (m *RawBatchPutRequest) Unmarshal(dAtA []byte) error
func (*RawBatchPutRequest) XXX_DiscardUnknown ¶
func (m *RawBatchPutRequest) XXX_DiscardUnknown()
func (*RawBatchPutRequest) XXX_Marshal ¶
func (m *RawBatchPutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawBatchPutRequest) XXX_Merge ¶
func (m *RawBatchPutRequest) XXX_Merge(src proto.Message)
func (*RawBatchPutRequest) XXX_Size ¶
func (m *RawBatchPutRequest) XXX_Size() int
func (*RawBatchPutRequest) XXX_Unmarshal ¶
func (m *RawBatchPutRequest) XXX_Unmarshal(b []byte) error
type RawBatchPutResponse ¶
type RawBatchPutResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawBatchPutResponse) Descriptor ¶
func (*RawBatchPutResponse) Descriptor() ([]byte, []int)
func (*RawBatchPutResponse) GetError ¶
func (m *RawBatchPutResponse) GetError() string
func (*RawBatchPutResponse) GetRegionError ¶
func (m *RawBatchPutResponse) GetRegionError() *errorpb.Error
func (*RawBatchPutResponse) Marshal ¶
func (m *RawBatchPutResponse) Marshal() (dAtA []byte, err error)
func (*RawBatchPutResponse) MarshalTo ¶
func (m *RawBatchPutResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawBatchPutResponse) MarshalToSizedBuffer ¶
func (m *RawBatchPutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawBatchPutResponse) ProtoMessage ¶
func (*RawBatchPutResponse) ProtoMessage()
func (*RawBatchPutResponse) Reset ¶
func (m *RawBatchPutResponse) Reset()
func (*RawBatchPutResponse) Size ¶
func (m *RawBatchPutResponse) Size() (n int)
func (*RawBatchPutResponse) String ¶
func (m *RawBatchPutResponse) String() string
func (*RawBatchPutResponse) Unmarshal ¶
func (m *RawBatchPutResponse) Unmarshal(dAtA []byte) error
func (*RawBatchPutResponse) XXX_DiscardUnknown ¶
func (m *RawBatchPutResponse) XXX_DiscardUnknown()
func (*RawBatchPutResponse) XXX_Marshal ¶
func (m *RawBatchPutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawBatchPutResponse) XXX_Merge ¶
func (m *RawBatchPutResponse) XXX_Merge(src proto.Message)
func (*RawBatchPutResponse) XXX_Size ¶
func (m *RawBatchPutResponse) XXX_Size() int
func (*RawBatchPutResponse) XXX_Unmarshal ¶
func (m *RawBatchPutResponse) XXX_Unmarshal(b []byte) error
type RawBatchScanRequest ¶
type RawBatchScanRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Ranges []*KeyRange `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"` EachLimit uint32 `protobuf:"varint,3,opt,name=each_limit,json=eachLimit,proto3" json:"each_limit,omitempty"` KeyOnly bool `protobuf:"varint,4,opt,name=key_only,json=keyOnly,proto3" json:"key_only,omitempty"` Cf string `protobuf:"bytes,5,opt,name=cf,proto3" json:"cf,omitempty"` Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawBatchScanRequest) Descriptor ¶
func (*RawBatchScanRequest) Descriptor() ([]byte, []int)
func (*RawBatchScanRequest) GetCf ¶
func (m *RawBatchScanRequest) GetCf() string
func (*RawBatchScanRequest) GetContext ¶
func (m *RawBatchScanRequest) GetContext() *Context
func (*RawBatchScanRequest) GetEachLimit ¶
func (m *RawBatchScanRequest) GetEachLimit() uint32
func (*RawBatchScanRequest) GetKeyOnly ¶
func (m *RawBatchScanRequest) GetKeyOnly() bool
func (*RawBatchScanRequest) GetRanges ¶
func (m *RawBatchScanRequest) GetRanges() []*KeyRange
func (*RawBatchScanRequest) GetReverse ¶
func (m *RawBatchScanRequest) GetReverse() bool
func (*RawBatchScanRequest) Marshal ¶
func (m *RawBatchScanRequest) Marshal() (dAtA []byte, err error)
func (*RawBatchScanRequest) MarshalTo ¶
func (m *RawBatchScanRequest) MarshalTo(dAtA []byte) (int, error)
func (*RawBatchScanRequest) MarshalToSizedBuffer ¶
func (m *RawBatchScanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawBatchScanRequest) ProtoMessage ¶
func (*RawBatchScanRequest) ProtoMessage()
func (*RawBatchScanRequest) Reset ¶
func (m *RawBatchScanRequest) Reset()
func (*RawBatchScanRequest) Size ¶
func (m *RawBatchScanRequest) Size() (n int)
func (*RawBatchScanRequest) String ¶
func (m *RawBatchScanRequest) String() string
func (*RawBatchScanRequest) Unmarshal ¶
func (m *RawBatchScanRequest) Unmarshal(dAtA []byte) error
func (*RawBatchScanRequest) XXX_DiscardUnknown ¶
func (m *RawBatchScanRequest) XXX_DiscardUnknown()
func (*RawBatchScanRequest) XXX_Marshal ¶
func (m *RawBatchScanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawBatchScanRequest) XXX_Merge ¶
func (m *RawBatchScanRequest) XXX_Merge(src proto.Message)
func (*RawBatchScanRequest) XXX_Size ¶
func (m *RawBatchScanRequest) XXX_Size() int
func (*RawBatchScanRequest) XXX_Unmarshal ¶
func (m *RawBatchScanRequest) XXX_Unmarshal(b []byte) error
type RawBatchScanResponse ¶
type RawBatchScanResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Kvs []*KvPair `protobuf:"bytes,2,rep,name=kvs,proto3" json:"kvs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawBatchScanResponse) Descriptor ¶
func (*RawBatchScanResponse) Descriptor() ([]byte, []int)
func (*RawBatchScanResponse) GetKvs ¶
func (m *RawBatchScanResponse) GetKvs() []*KvPair
func (*RawBatchScanResponse) GetRegionError ¶
func (m *RawBatchScanResponse) GetRegionError() *errorpb.Error
func (*RawBatchScanResponse) Marshal ¶
func (m *RawBatchScanResponse) Marshal() (dAtA []byte, err error)
func (*RawBatchScanResponse) MarshalTo ¶
func (m *RawBatchScanResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawBatchScanResponse) MarshalToSizedBuffer ¶
func (m *RawBatchScanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawBatchScanResponse) ProtoMessage ¶
func (*RawBatchScanResponse) ProtoMessage()
func (*RawBatchScanResponse) Reset ¶
func (m *RawBatchScanResponse) Reset()
func (*RawBatchScanResponse) Size ¶
func (m *RawBatchScanResponse) Size() (n int)
func (*RawBatchScanResponse) String ¶
func (m *RawBatchScanResponse) String() string
func (*RawBatchScanResponse) Unmarshal ¶
func (m *RawBatchScanResponse) Unmarshal(dAtA []byte) error
func (*RawBatchScanResponse) XXX_DiscardUnknown ¶
func (m *RawBatchScanResponse) XXX_DiscardUnknown()
func (*RawBatchScanResponse) XXX_Marshal ¶
func (m *RawBatchScanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawBatchScanResponse) XXX_Merge ¶
func (m *RawBatchScanResponse) XXX_Merge(src proto.Message)
func (*RawBatchScanResponse) XXX_Size ¶
func (m *RawBatchScanResponse) XXX_Size() int
func (*RawBatchScanResponse) XXX_Unmarshal ¶
func (m *RawBatchScanResponse) XXX_Unmarshal(b []byte) error
type RawCASRequest ¶
type RawCASRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` PreviousNotExist bool `protobuf:"varint,4,opt,name=previous_not_exist,json=previousNotExist,proto3" json:"previous_not_exist,omitempty"` PreviousValue []byte `protobuf:"bytes,5,opt,name=previous_value,json=previousValue,proto3" json:"previous_value,omitempty"` Cf string `protobuf:"bytes,6,opt,name=cf,proto3" json:"cf,omitempty"` Ttl uint64 `protobuf:"varint,7,opt,name=ttl,proto3" json:"ttl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawCASRequest) Descriptor ¶
func (*RawCASRequest) Descriptor() ([]byte, []int)
func (*RawCASRequest) GetCf ¶
func (m *RawCASRequest) GetCf() string
func (*RawCASRequest) GetContext ¶
func (m *RawCASRequest) GetContext() *Context
func (*RawCASRequest) GetKey ¶
func (m *RawCASRequest) GetKey() []byte
func (*RawCASRequest) GetPreviousNotExist ¶
func (m *RawCASRequest) GetPreviousNotExist() bool
func (*RawCASRequest) GetPreviousValue ¶
func (m *RawCASRequest) GetPreviousValue() []byte
func (*RawCASRequest) GetTtl ¶
func (m *RawCASRequest) GetTtl() uint64
func (*RawCASRequest) GetValue ¶
func (m *RawCASRequest) GetValue() []byte
func (*RawCASRequest) Marshal ¶
func (m *RawCASRequest) Marshal() (dAtA []byte, err error)
func (*RawCASRequest) MarshalToSizedBuffer ¶
func (m *RawCASRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawCASRequest) ProtoMessage ¶
func (*RawCASRequest) ProtoMessage()
func (*RawCASRequest) Reset ¶
func (m *RawCASRequest) Reset()
func (*RawCASRequest) Size ¶
func (m *RawCASRequest) Size() (n int)
func (*RawCASRequest) String ¶
func (m *RawCASRequest) String() string
func (*RawCASRequest) Unmarshal ¶
func (m *RawCASRequest) Unmarshal(dAtA []byte) error
func (*RawCASRequest) XXX_DiscardUnknown ¶
func (m *RawCASRequest) XXX_DiscardUnknown()
func (*RawCASRequest) XXX_Marshal ¶
func (m *RawCASRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawCASRequest) XXX_Merge ¶
func (m *RawCASRequest) XXX_Merge(src proto.Message)
func (*RawCASRequest) XXX_Size ¶
func (m *RawCASRequest) XXX_Size() int
func (*RawCASRequest) XXX_Unmarshal ¶
func (m *RawCASRequest) XXX_Unmarshal(b []byte) error
type RawCASResponse ¶
type RawCASResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Succeed bool `protobuf:"varint,3,opt,name=succeed,proto3" json:"succeed,omitempty"` // The previous value regardless of whether the comparison is succeed. PreviousNotExist bool `protobuf:"varint,4,opt,name=previous_not_exist,json=previousNotExist,proto3" json:"previous_not_exist,omitempty"` PreviousValue []byte `protobuf:"bytes,5,opt,name=previous_value,json=previousValue,proto3" json:"previous_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawCASResponse) Descriptor ¶
func (*RawCASResponse) Descriptor() ([]byte, []int)
func (*RawCASResponse) GetError ¶
func (m *RawCASResponse) GetError() string
func (*RawCASResponse) GetPreviousNotExist ¶
func (m *RawCASResponse) GetPreviousNotExist() bool
func (*RawCASResponse) GetPreviousValue ¶
func (m *RawCASResponse) GetPreviousValue() []byte
func (*RawCASResponse) GetRegionError ¶
func (m *RawCASResponse) GetRegionError() *errorpb.Error
func (*RawCASResponse) GetSucceed ¶
func (m *RawCASResponse) GetSucceed() bool
func (*RawCASResponse) Marshal ¶
func (m *RawCASResponse) Marshal() (dAtA []byte, err error)
func (*RawCASResponse) MarshalToSizedBuffer ¶
func (m *RawCASResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawCASResponse) ProtoMessage ¶
func (*RawCASResponse) ProtoMessage()
func (*RawCASResponse) Reset ¶
func (m *RawCASResponse) Reset()
func (*RawCASResponse) Size ¶
func (m *RawCASResponse) Size() (n int)
func (*RawCASResponse) String ¶
func (m *RawCASResponse) String() string
func (*RawCASResponse) Unmarshal ¶
func (m *RawCASResponse) Unmarshal(dAtA []byte) error
func (*RawCASResponse) XXX_DiscardUnknown ¶
func (m *RawCASResponse) XXX_DiscardUnknown()
func (*RawCASResponse) XXX_Marshal ¶
func (m *RawCASResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawCASResponse) XXX_Merge ¶
func (m *RawCASResponse) XXX_Merge(src proto.Message)
func (*RawCASResponse) XXX_Size ¶
func (m *RawCASResponse) XXX_Size() int
func (*RawCASResponse) XXX_Unmarshal ¶
func (m *RawCASResponse) XXX_Unmarshal(b []byte) error
type RawChecksumRequest ¶
type RawChecksumRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Algorithm ChecksumAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=kvrpcpb.ChecksumAlgorithm" json:"algorithm,omitempty"` Ranges []*KeyRange `protobuf:"bytes,3,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawChecksumRequest) Descriptor ¶
func (*RawChecksumRequest) Descriptor() ([]byte, []int)
func (*RawChecksumRequest) GetAlgorithm ¶
func (m *RawChecksumRequest) GetAlgorithm() ChecksumAlgorithm
func (*RawChecksumRequest) GetContext ¶
func (m *RawChecksumRequest) GetContext() *Context
func (*RawChecksumRequest) GetRanges ¶
func (m *RawChecksumRequest) GetRanges() []*KeyRange
func (*RawChecksumRequest) Marshal ¶
func (m *RawChecksumRequest) Marshal() (dAtA []byte, err error)
func (*RawChecksumRequest) MarshalTo ¶
func (m *RawChecksumRequest) MarshalTo(dAtA []byte) (int, error)
func (*RawChecksumRequest) MarshalToSizedBuffer ¶
func (m *RawChecksumRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawChecksumRequest) ProtoMessage ¶
func (*RawChecksumRequest) ProtoMessage()
func (*RawChecksumRequest) Reset ¶
func (m *RawChecksumRequest) Reset()
func (*RawChecksumRequest) Size ¶
func (m *RawChecksumRequest) Size() (n int)
func (*RawChecksumRequest) String ¶
func (m *RawChecksumRequest) String() string
func (*RawChecksumRequest) Unmarshal ¶
func (m *RawChecksumRequest) Unmarshal(dAtA []byte) error
func (*RawChecksumRequest) XXX_DiscardUnknown ¶
func (m *RawChecksumRequest) XXX_DiscardUnknown()
func (*RawChecksumRequest) XXX_Marshal ¶
func (m *RawChecksumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawChecksumRequest) XXX_Merge ¶
func (m *RawChecksumRequest) XXX_Merge(src proto.Message)
func (*RawChecksumRequest) XXX_Size ¶
func (m *RawChecksumRequest) XXX_Size() int
func (*RawChecksumRequest) XXX_Unmarshal ¶
func (m *RawChecksumRequest) XXX_Unmarshal(b []byte) error
type RawChecksumResponse ¶
type RawChecksumResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Checksum uint64 `protobuf:"varint,3,opt,name=checksum,proto3" json:"checksum,omitempty"` TotalKvs uint64 `protobuf:"varint,4,opt,name=total_kvs,json=totalKvs,proto3" json:"total_kvs,omitempty"` TotalBytes uint64 `protobuf:"varint,5,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawChecksumResponse) Descriptor ¶
func (*RawChecksumResponse) Descriptor() ([]byte, []int)
func (*RawChecksumResponse) GetChecksum ¶
func (m *RawChecksumResponse) GetChecksum() uint64
func (*RawChecksumResponse) GetError ¶
func (m *RawChecksumResponse) GetError() string
func (*RawChecksumResponse) GetRegionError ¶
func (m *RawChecksumResponse) GetRegionError() *errorpb.Error
func (*RawChecksumResponse) GetTotalBytes ¶
func (m *RawChecksumResponse) GetTotalBytes() uint64
func (*RawChecksumResponse) GetTotalKvs ¶
func (m *RawChecksumResponse) GetTotalKvs() uint64
func (*RawChecksumResponse) Marshal ¶
func (m *RawChecksumResponse) Marshal() (dAtA []byte, err error)
func (*RawChecksumResponse) MarshalTo ¶
func (m *RawChecksumResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawChecksumResponse) MarshalToSizedBuffer ¶
func (m *RawChecksumResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawChecksumResponse) ProtoMessage ¶
func (*RawChecksumResponse) ProtoMessage()
func (*RawChecksumResponse) Reset ¶
func (m *RawChecksumResponse) Reset()
func (*RawChecksumResponse) Size ¶
func (m *RawChecksumResponse) Size() (n int)
func (*RawChecksumResponse) String ¶
func (m *RawChecksumResponse) String() string
func (*RawChecksumResponse) Unmarshal ¶
func (m *RawChecksumResponse) Unmarshal(dAtA []byte) error
func (*RawChecksumResponse) XXX_DiscardUnknown ¶
func (m *RawChecksumResponse) XXX_DiscardUnknown()
func (*RawChecksumResponse) XXX_Marshal ¶
func (m *RawChecksumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawChecksumResponse) XXX_Merge ¶
func (m *RawChecksumResponse) XXX_Merge(src proto.Message)
func (*RawChecksumResponse) XXX_Size ¶
func (m *RawChecksumResponse) XXX_Size() int
func (*RawChecksumResponse) XXX_Unmarshal ¶
func (m *RawChecksumResponse) XXX_Unmarshal(b []byte) error
type RawCoprocessorRequest ¶
type RawCoprocessorRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` CoprName string `protobuf:"bytes,2,opt,name=copr_name,json=coprName,proto3" json:"copr_name,omitempty"` // Coprorcessor version constraint following SEMVER definition. CoprVersionReq string `protobuf:"bytes,3,opt,name=copr_version_req,json=coprVersionReq,proto3" json:"copr_version_req,omitempty"` Ranges []*KeyRange `protobuf:"bytes,4,rep,name=ranges,proto3" json:"ranges,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawCoprocessorRequest) Descriptor ¶
func (*RawCoprocessorRequest) Descriptor() ([]byte, []int)
func (*RawCoprocessorRequest) GetContext ¶
func (m *RawCoprocessorRequest) GetContext() *Context
func (*RawCoprocessorRequest) GetCoprName ¶
func (m *RawCoprocessorRequest) GetCoprName() string
func (*RawCoprocessorRequest) GetCoprVersionReq ¶
func (m *RawCoprocessorRequest) GetCoprVersionReq() string
func (*RawCoprocessorRequest) GetData ¶
func (m *RawCoprocessorRequest) GetData() []byte
func (*RawCoprocessorRequest) GetRanges ¶
func (m *RawCoprocessorRequest) GetRanges() []*KeyRange
func (*RawCoprocessorRequest) Marshal ¶
func (m *RawCoprocessorRequest) Marshal() (dAtA []byte, err error)
func (*RawCoprocessorRequest) MarshalTo ¶
func (m *RawCoprocessorRequest) MarshalTo(dAtA []byte) (int, error)
func (*RawCoprocessorRequest) MarshalToSizedBuffer ¶
func (m *RawCoprocessorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawCoprocessorRequest) ProtoMessage ¶
func (*RawCoprocessorRequest) ProtoMessage()
func (*RawCoprocessorRequest) Reset ¶
func (m *RawCoprocessorRequest) Reset()
func (*RawCoprocessorRequest) Size ¶
func (m *RawCoprocessorRequest) Size() (n int)
func (*RawCoprocessorRequest) String ¶
func (m *RawCoprocessorRequest) String() string
func (*RawCoprocessorRequest) Unmarshal ¶
func (m *RawCoprocessorRequest) Unmarshal(dAtA []byte) error
func (*RawCoprocessorRequest) XXX_DiscardUnknown ¶
func (m *RawCoprocessorRequest) XXX_DiscardUnknown()
func (*RawCoprocessorRequest) XXX_Marshal ¶
func (m *RawCoprocessorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawCoprocessorRequest) XXX_Merge ¶
func (m *RawCoprocessorRequest) XXX_Merge(src proto.Message)
func (*RawCoprocessorRequest) XXX_Size ¶
func (m *RawCoprocessorRequest) XXX_Size() int
func (*RawCoprocessorRequest) XXX_Unmarshal ¶
func (m *RawCoprocessorRequest) XXX_Unmarshal(b []byte) error
type RawCoprocessorResponse ¶
type RawCoprocessorResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` // Error message for cases like if no coprocessor with a matching name is found // or on a version mismatch between plugin_api and the coprocessor. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawCoprocessorResponse) Descriptor ¶
func (*RawCoprocessorResponse) Descriptor() ([]byte, []int)
func (*RawCoprocessorResponse) GetData ¶
func (m *RawCoprocessorResponse) GetData() []byte
func (*RawCoprocessorResponse) GetError ¶
func (m *RawCoprocessorResponse) GetError() string
func (*RawCoprocessorResponse) GetRegionError ¶
func (m *RawCoprocessorResponse) GetRegionError() *errorpb.Error
func (*RawCoprocessorResponse) Marshal ¶
func (m *RawCoprocessorResponse) Marshal() (dAtA []byte, err error)
func (*RawCoprocessorResponse) MarshalTo ¶
func (m *RawCoprocessorResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawCoprocessorResponse) MarshalToSizedBuffer ¶
func (m *RawCoprocessorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawCoprocessorResponse) ProtoMessage ¶
func (*RawCoprocessorResponse) ProtoMessage()
func (*RawCoprocessorResponse) Reset ¶
func (m *RawCoprocessorResponse) Reset()
func (*RawCoprocessorResponse) Size ¶
func (m *RawCoprocessorResponse) Size() (n int)
func (*RawCoprocessorResponse) String ¶
func (m *RawCoprocessorResponse) String() string
func (*RawCoprocessorResponse) Unmarshal ¶
func (m *RawCoprocessorResponse) Unmarshal(dAtA []byte) error
func (*RawCoprocessorResponse) XXX_DiscardUnknown ¶
func (m *RawCoprocessorResponse) XXX_DiscardUnknown()
func (*RawCoprocessorResponse) XXX_Marshal ¶
func (m *RawCoprocessorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawCoprocessorResponse) XXX_Merge ¶
func (m *RawCoprocessorResponse) XXX_Merge(src proto.Message)
func (*RawCoprocessorResponse) XXX_Size ¶
func (m *RawCoprocessorResponse) XXX_Size() int
func (*RawCoprocessorResponse) XXX_Unmarshal ¶
func (m *RawCoprocessorResponse) XXX_Unmarshal(b []byte) error
type RawDeleteRangeRequest ¶
type RawDeleteRangeRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` Cf string `protobuf:"bytes,4,opt,name=cf,proto3" json:"cf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawDeleteRangeRequest) Descriptor ¶
func (*RawDeleteRangeRequest) Descriptor() ([]byte, []int)
func (*RawDeleteRangeRequest) GetCf ¶
func (m *RawDeleteRangeRequest) GetCf() string
func (*RawDeleteRangeRequest) GetContext ¶
func (m *RawDeleteRangeRequest) GetContext() *Context
func (*RawDeleteRangeRequest) GetEndKey ¶
func (m *RawDeleteRangeRequest) GetEndKey() []byte
func (*RawDeleteRangeRequest) GetStartKey ¶
func (m *RawDeleteRangeRequest) GetStartKey() []byte
func (*RawDeleteRangeRequest) Marshal ¶
func (m *RawDeleteRangeRequest) Marshal() (dAtA []byte, err error)
func (*RawDeleteRangeRequest) MarshalTo ¶
func (m *RawDeleteRangeRequest) MarshalTo(dAtA []byte) (int, error)
func (*RawDeleteRangeRequest) MarshalToSizedBuffer ¶
func (m *RawDeleteRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawDeleteRangeRequest) ProtoMessage ¶
func (*RawDeleteRangeRequest) ProtoMessage()
func (*RawDeleteRangeRequest) Reset ¶
func (m *RawDeleteRangeRequest) Reset()
func (*RawDeleteRangeRequest) Size ¶
func (m *RawDeleteRangeRequest) Size() (n int)
func (*RawDeleteRangeRequest) String ¶
func (m *RawDeleteRangeRequest) String() string
func (*RawDeleteRangeRequest) Unmarshal ¶
func (m *RawDeleteRangeRequest) Unmarshal(dAtA []byte) error
func (*RawDeleteRangeRequest) XXX_DiscardUnknown ¶
func (m *RawDeleteRangeRequest) XXX_DiscardUnknown()
func (*RawDeleteRangeRequest) XXX_Marshal ¶
func (m *RawDeleteRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawDeleteRangeRequest) XXX_Merge ¶
func (m *RawDeleteRangeRequest) XXX_Merge(src proto.Message)
func (*RawDeleteRangeRequest) XXX_Size ¶
func (m *RawDeleteRangeRequest) XXX_Size() int
func (*RawDeleteRangeRequest) XXX_Unmarshal ¶
func (m *RawDeleteRangeRequest) XXX_Unmarshal(b []byte) error
type RawDeleteRangeResponse ¶
type RawDeleteRangeResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawDeleteRangeResponse) Descriptor ¶
func (*RawDeleteRangeResponse) Descriptor() ([]byte, []int)
func (*RawDeleteRangeResponse) GetError ¶
func (m *RawDeleteRangeResponse) GetError() string
func (*RawDeleteRangeResponse) GetRegionError ¶
func (m *RawDeleteRangeResponse) GetRegionError() *errorpb.Error
func (*RawDeleteRangeResponse) Marshal ¶
func (m *RawDeleteRangeResponse) Marshal() (dAtA []byte, err error)
func (*RawDeleteRangeResponse) MarshalTo ¶
func (m *RawDeleteRangeResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawDeleteRangeResponse) MarshalToSizedBuffer ¶
func (m *RawDeleteRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawDeleteRangeResponse) ProtoMessage ¶
func (*RawDeleteRangeResponse) ProtoMessage()
func (*RawDeleteRangeResponse) Reset ¶
func (m *RawDeleteRangeResponse) Reset()
func (*RawDeleteRangeResponse) Size ¶
func (m *RawDeleteRangeResponse) Size() (n int)
func (*RawDeleteRangeResponse) String ¶
func (m *RawDeleteRangeResponse) String() string
func (*RawDeleteRangeResponse) Unmarshal ¶
func (m *RawDeleteRangeResponse) Unmarshal(dAtA []byte) error
func (*RawDeleteRangeResponse) XXX_DiscardUnknown ¶
func (m *RawDeleteRangeResponse) XXX_DiscardUnknown()
func (*RawDeleteRangeResponse) XXX_Marshal ¶
func (m *RawDeleteRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawDeleteRangeResponse) XXX_Merge ¶
func (m *RawDeleteRangeResponse) XXX_Merge(src proto.Message)
func (*RawDeleteRangeResponse) XXX_Size ¶
func (m *RawDeleteRangeResponse) XXX_Size() int
func (*RawDeleteRangeResponse) XXX_Unmarshal ¶
func (m *RawDeleteRangeResponse) XXX_Unmarshal(b []byte) error
type RawDeleteRequest ¶
type RawDeleteRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Cf string `protobuf:"bytes,3,opt,name=cf,proto3" json:"cf,omitempty"` ForCas bool `protobuf:"varint,4,opt,name=for_cas,json=forCas,proto3" json:"for_cas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawDeleteRequest) Descriptor ¶
func (*RawDeleteRequest) Descriptor() ([]byte, []int)
func (*RawDeleteRequest) GetCf ¶
func (m *RawDeleteRequest) GetCf() string
func (*RawDeleteRequest) GetContext ¶
func (m *RawDeleteRequest) GetContext() *Context
func (*RawDeleteRequest) GetForCas ¶
func (m *RawDeleteRequest) GetForCas() bool
func (*RawDeleteRequest) GetKey ¶
func (m *RawDeleteRequest) GetKey() []byte
func (*RawDeleteRequest) Marshal ¶
func (m *RawDeleteRequest) Marshal() (dAtA []byte, err error)
func (*RawDeleteRequest) MarshalToSizedBuffer ¶
func (m *RawDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawDeleteRequest) ProtoMessage ¶
func (*RawDeleteRequest) ProtoMessage()
func (*RawDeleteRequest) Reset ¶
func (m *RawDeleteRequest) Reset()
func (*RawDeleteRequest) Size ¶
func (m *RawDeleteRequest) Size() (n int)
func (*RawDeleteRequest) String ¶
func (m *RawDeleteRequest) String() string
func (*RawDeleteRequest) Unmarshal ¶
func (m *RawDeleteRequest) Unmarshal(dAtA []byte) error
func (*RawDeleteRequest) XXX_DiscardUnknown ¶
func (m *RawDeleteRequest) XXX_DiscardUnknown()
func (*RawDeleteRequest) XXX_Marshal ¶
func (m *RawDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawDeleteRequest) XXX_Merge ¶
func (m *RawDeleteRequest) XXX_Merge(src proto.Message)
func (*RawDeleteRequest) XXX_Size ¶
func (m *RawDeleteRequest) XXX_Size() int
func (*RawDeleteRequest) XXX_Unmarshal ¶
func (m *RawDeleteRequest) XXX_Unmarshal(b []byte) error
type RawDeleteResponse ¶
type RawDeleteResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawDeleteResponse) Descriptor ¶
func (*RawDeleteResponse) Descriptor() ([]byte, []int)
func (*RawDeleteResponse) GetError ¶
func (m *RawDeleteResponse) GetError() string
func (*RawDeleteResponse) GetRegionError ¶
func (m *RawDeleteResponse) GetRegionError() *errorpb.Error
func (*RawDeleteResponse) Marshal ¶
func (m *RawDeleteResponse) Marshal() (dAtA []byte, err error)
func (*RawDeleteResponse) MarshalTo ¶
func (m *RawDeleteResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawDeleteResponse) MarshalToSizedBuffer ¶
func (m *RawDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawDeleteResponse) ProtoMessage ¶
func (*RawDeleteResponse) ProtoMessage()
func (*RawDeleteResponse) Reset ¶
func (m *RawDeleteResponse) Reset()
func (*RawDeleteResponse) Size ¶
func (m *RawDeleteResponse) Size() (n int)
func (*RawDeleteResponse) String ¶
func (m *RawDeleteResponse) String() string
func (*RawDeleteResponse) Unmarshal ¶
func (m *RawDeleteResponse) Unmarshal(dAtA []byte) error
func (*RawDeleteResponse) XXX_DiscardUnknown ¶
func (m *RawDeleteResponse) XXX_DiscardUnknown()
func (*RawDeleteResponse) XXX_Marshal ¶
func (m *RawDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawDeleteResponse) XXX_Merge ¶
func (m *RawDeleteResponse) XXX_Merge(src proto.Message)
func (*RawDeleteResponse) XXX_Size ¶
func (m *RawDeleteResponse) XXX_Size() int
func (*RawDeleteResponse) XXX_Unmarshal ¶
func (m *RawDeleteResponse) XXX_Unmarshal(b []byte) error
type RawGetKeyTTLRequest ¶
type RawGetKeyTTLRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Cf string `protobuf:"bytes,3,opt,name=cf,proto3" json:"cf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawGetKeyTTLRequest) Descriptor ¶
func (*RawGetKeyTTLRequest) Descriptor() ([]byte, []int)
func (*RawGetKeyTTLRequest) GetCf ¶
func (m *RawGetKeyTTLRequest) GetCf() string
func (*RawGetKeyTTLRequest) GetContext ¶
func (m *RawGetKeyTTLRequest) GetContext() *Context
func (*RawGetKeyTTLRequest) GetKey ¶
func (m *RawGetKeyTTLRequest) GetKey() []byte
func (*RawGetKeyTTLRequest) Marshal ¶
func (m *RawGetKeyTTLRequest) Marshal() (dAtA []byte, err error)
func (*RawGetKeyTTLRequest) MarshalTo ¶
func (m *RawGetKeyTTLRequest) MarshalTo(dAtA []byte) (int, error)
func (*RawGetKeyTTLRequest) MarshalToSizedBuffer ¶
func (m *RawGetKeyTTLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawGetKeyTTLRequest) ProtoMessage ¶
func (*RawGetKeyTTLRequest) ProtoMessage()
func (*RawGetKeyTTLRequest) Reset ¶
func (m *RawGetKeyTTLRequest) Reset()
func (*RawGetKeyTTLRequest) Size ¶
func (m *RawGetKeyTTLRequest) Size() (n int)
func (*RawGetKeyTTLRequest) String ¶
func (m *RawGetKeyTTLRequest) String() string
func (*RawGetKeyTTLRequest) Unmarshal ¶
func (m *RawGetKeyTTLRequest) Unmarshal(dAtA []byte) error
func (*RawGetKeyTTLRequest) XXX_DiscardUnknown ¶
func (m *RawGetKeyTTLRequest) XXX_DiscardUnknown()
func (*RawGetKeyTTLRequest) XXX_Marshal ¶
func (m *RawGetKeyTTLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawGetKeyTTLRequest) XXX_Merge ¶
func (m *RawGetKeyTTLRequest) XXX_Merge(src proto.Message)
func (*RawGetKeyTTLRequest) XXX_Size ¶
func (m *RawGetKeyTTLRequest) XXX_Size() int
func (*RawGetKeyTTLRequest) XXX_Unmarshal ¶
func (m *RawGetKeyTTLRequest) XXX_Unmarshal(b []byte) error
type RawGetKeyTTLResponse ¶
type RawGetKeyTTLResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Ttl uint64 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` NotFound bool `protobuf:"varint,4,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawGetKeyTTLResponse) Descriptor ¶
func (*RawGetKeyTTLResponse) Descriptor() ([]byte, []int)
func (*RawGetKeyTTLResponse) GetError ¶
func (m *RawGetKeyTTLResponse) GetError() string
func (*RawGetKeyTTLResponse) GetNotFound ¶
func (m *RawGetKeyTTLResponse) GetNotFound() bool
func (*RawGetKeyTTLResponse) GetRegionError ¶
func (m *RawGetKeyTTLResponse) GetRegionError() *errorpb.Error
func (*RawGetKeyTTLResponse) GetTtl ¶
func (m *RawGetKeyTTLResponse) GetTtl() uint64
func (*RawGetKeyTTLResponse) Marshal ¶
func (m *RawGetKeyTTLResponse) Marshal() (dAtA []byte, err error)
func (*RawGetKeyTTLResponse) MarshalTo ¶
func (m *RawGetKeyTTLResponse) MarshalTo(dAtA []byte) (int, error)
func (*RawGetKeyTTLResponse) MarshalToSizedBuffer ¶
func (m *RawGetKeyTTLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawGetKeyTTLResponse) ProtoMessage ¶
func (*RawGetKeyTTLResponse) ProtoMessage()
func (*RawGetKeyTTLResponse) Reset ¶
func (m *RawGetKeyTTLResponse) Reset()
func (*RawGetKeyTTLResponse) Size ¶
func (m *RawGetKeyTTLResponse) Size() (n int)
func (*RawGetKeyTTLResponse) String ¶
func (m *RawGetKeyTTLResponse) String() string
func (*RawGetKeyTTLResponse) Unmarshal ¶
func (m *RawGetKeyTTLResponse) Unmarshal(dAtA []byte) error
func (*RawGetKeyTTLResponse) XXX_DiscardUnknown ¶
func (m *RawGetKeyTTLResponse) XXX_DiscardUnknown()
func (*RawGetKeyTTLResponse) XXX_Marshal ¶
func (m *RawGetKeyTTLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawGetKeyTTLResponse) XXX_Merge ¶
func (m *RawGetKeyTTLResponse) XXX_Merge(src proto.Message)
func (*RawGetKeyTTLResponse) XXX_Size ¶
func (m *RawGetKeyTTLResponse) XXX_Size() int
func (*RawGetKeyTTLResponse) XXX_Unmarshal ¶
func (m *RawGetKeyTTLResponse) XXX_Unmarshal(b []byte) error
type RawGetRequest ¶
type RawGetRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Cf string `protobuf:"bytes,3,opt,name=cf,proto3" json:"cf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawGetRequest) Descriptor ¶
func (*RawGetRequest) Descriptor() ([]byte, []int)
func (*RawGetRequest) GetCf ¶
func (m *RawGetRequest) GetCf() string
func (*RawGetRequest) GetContext ¶
func (m *RawGetRequest) GetContext() *Context
func (*RawGetRequest) GetKey ¶
func (m *RawGetRequest) GetKey() []byte
func (*RawGetRequest) Marshal ¶
func (m *RawGetRequest) Marshal() (dAtA []byte, err error)
func (*RawGetRequest) MarshalToSizedBuffer ¶
func (m *RawGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawGetRequest) ProtoMessage ¶
func (*RawGetRequest) ProtoMessage()
func (*RawGetRequest) Reset ¶
func (m *RawGetRequest) Reset()
func (*RawGetRequest) Size ¶
func (m *RawGetRequest) Size() (n int)
func (*RawGetRequest) String ¶
func (m *RawGetRequest) String() string
func (*RawGetRequest) Unmarshal ¶
func (m *RawGetRequest) Unmarshal(dAtA []byte) error
func (*RawGetRequest) XXX_DiscardUnknown ¶
func (m *RawGetRequest) XXX_DiscardUnknown()
func (*RawGetRequest) XXX_Marshal ¶
func (m *RawGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawGetRequest) XXX_Merge ¶
func (m *RawGetRequest) XXX_Merge(src proto.Message)
func (*RawGetRequest) XXX_Size ¶
func (m *RawGetRequest) XXX_Size() int
func (*RawGetRequest) XXX_Unmarshal ¶
func (m *RawGetRequest) XXX_Unmarshal(b []byte) error
type RawGetResponse ¶
type RawGetResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` NotFound bool `protobuf:"varint,4,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawGetResponse) Descriptor ¶
func (*RawGetResponse) Descriptor() ([]byte, []int)
func (*RawGetResponse) GetError ¶
func (m *RawGetResponse) GetError() string
func (*RawGetResponse) GetNotFound ¶
func (m *RawGetResponse) GetNotFound() bool
func (*RawGetResponse) GetRegionError ¶
func (m *RawGetResponse) GetRegionError() *errorpb.Error
func (*RawGetResponse) GetValue ¶
func (m *RawGetResponse) GetValue() []byte
func (*RawGetResponse) Marshal ¶
func (m *RawGetResponse) Marshal() (dAtA []byte, err error)
func (*RawGetResponse) MarshalToSizedBuffer ¶
func (m *RawGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawGetResponse) ProtoMessage ¶
func (*RawGetResponse) ProtoMessage()
func (*RawGetResponse) Reset ¶
func (m *RawGetResponse) Reset()
func (*RawGetResponse) Size ¶
func (m *RawGetResponse) Size() (n int)
func (*RawGetResponse) String ¶
func (m *RawGetResponse) String() string
func (*RawGetResponse) Unmarshal ¶
func (m *RawGetResponse) Unmarshal(dAtA []byte) error
func (*RawGetResponse) XXX_DiscardUnknown ¶
func (m *RawGetResponse) XXX_DiscardUnknown()
func (*RawGetResponse) XXX_Marshal ¶
func (m *RawGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawGetResponse) XXX_Merge ¶
func (m *RawGetResponse) XXX_Merge(src proto.Message)
func (*RawGetResponse) XXX_Size ¶
func (m *RawGetResponse) XXX_Size() int
func (*RawGetResponse) XXX_Unmarshal ¶
func (m *RawGetResponse) XXX_Unmarshal(b []byte) error
type RawPutRequest ¶
type RawPutRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Cf string `protobuf:"bytes,4,opt,name=cf,proto3" json:"cf,omitempty"` Ttl uint64 `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"` ForCas bool `protobuf:"varint,6,opt,name=for_cas,json=forCas,proto3" json:"for_cas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawPutRequest) Descriptor ¶
func (*RawPutRequest) Descriptor() ([]byte, []int)
func (*RawPutRequest) GetCf ¶
func (m *RawPutRequest) GetCf() string
func (*RawPutRequest) GetContext ¶
func (m *RawPutRequest) GetContext() *Context
func (*RawPutRequest) GetForCas ¶
func (m *RawPutRequest) GetForCas() bool
func (*RawPutRequest) GetKey ¶
func (m *RawPutRequest) GetKey() []byte
func (*RawPutRequest) GetTtl ¶
func (m *RawPutRequest) GetTtl() uint64
func (*RawPutRequest) GetValue ¶
func (m *RawPutRequest) GetValue() []byte
func (*RawPutRequest) Marshal ¶
func (m *RawPutRequest) Marshal() (dAtA []byte, err error)
func (*RawPutRequest) MarshalToSizedBuffer ¶
func (m *RawPutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawPutRequest) ProtoMessage ¶
func (*RawPutRequest) ProtoMessage()
func (*RawPutRequest) Reset ¶
func (m *RawPutRequest) Reset()
func (*RawPutRequest) Size ¶
func (m *RawPutRequest) Size() (n int)
func (*RawPutRequest) String ¶
func (m *RawPutRequest) String() string
func (*RawPutRequest) Unmarshal ¶
func (m *RawPutRequest) Unmarshal(dAtA []byte) error
func (*RawPutRequest) XXX_DiscardUnknown ¶
func (m *RawPutRequest) XXX_DiscardUnknown()
func (*RawPutRequest) XXX_Marshal ¶
func (m *RawPutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawPutRequest) XXX_Merge ¶
func (m *RawPutRequest) XXX_Merge(src proto.Message)
func (*RawPutRequest) XXX_Size ¶
func (m *RawPutRequest) XXX_Size() int
func (*RawPutRequest) XXX_Unmarshal ¶
func (m *RawPutRequest) XXX_Unmarshal(b []byte) error
type RawPutResponse ¶
type RawPutResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawPutResponse) Descriptor ¶
func (*RawPutResponse) Descriptor() ([]byte, []int)
func (*RawPutResponse) GetError ¶
func (m *RawPutResponse) GetError() string
func (*RawPutResponse) GetRegionError ¶
func (m *RawPutResponse) GetRegionError() *errorpb.Error
func (*RawPutResponse) Marshal ¶
func (m *RawPutResponse) Marshal() (dAtA []byte, err error)
func (*RawPutResponse) MarshalToSizedBuffer ¶
func (m *RawPutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawPutResponse) ProtoMessage ¶
func (*RawPutResponse) ProtoMessage()
func (*RawPutResponse) Reset ¶
func (m *RawPutResponse) Reset()
func (*RawPutResponse) Size ¶
func (m *RawPutResponse) Size() (n int)
func (*RawPutResponse) String ¶
func (m *RawPutResponse) String() string
func (*RawPutResponse) Unmarshal ¶
func (m *RawPutResponse) Unmarshal(dAtA []byte) error
func (*RawPutResponse) XXX_DiscardUnknown ¶
func (m *RawPutResponse) XXX_DiscardUnknown()
func (*RawPutResponse) XXX_Marshal ¶
func (m *RawPutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawPutResponse) XXX_Merge ¶
func (m *RawPutResponse) XXX_Merge(src proto.Message)
func (*RawPutResponse) XXX_Size ¶
func (m *RawPutResponse) XXX_Size() int
func (*RawPutResponse) XXX_Unmarshal ¶
func (m *RawPutResponse) XXX_Unmarshal(b []byte) error
type RawScanRequest ¶
type RawScanRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` KeyOnly bool `protobuf:"varint,4,opt,name=key_only,json=keyOnly,proto3" json:"key_only,omitempty"` Cf string `protobuf:"bytes,5,opt,name=cf,proto3" json:"cf,omitempty"` Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` // For compatibility, when scanning forward, the range to scan is [start_key, end_key), where start_key < end_key; // and when scanning backward, it scans [end_key, start_key) in descending order, where end_key < start_key. EndKey []byte `protobuf:"bytes,7,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawScanRequest) Descriptor ¶
func (*RawScanRequest) Descriptor() ([]byte, []int)
func (*RawScanRequest) GetCf ¶
func (m *RawScanRequest) GetCf() string
func (*RawScanRequest) GetContext ¶
func (m *RawScanRequest) GetContext() *Context
func (*RawScanRequest) GetEndKey ¶
func (m *RawScanRequest) GetEndKey() []byte
func (*RawScanRequest) GetKeyOnly ¶
func (m *RawScanRequest) GetKeyOnly() bool
func (*RawScanRequest) GetLimit ¶
func (m *RawScanRequest) GetLimit() uint32
func (*RawScanRequest) GetReverse ¶
func (m *RawScanRequest) GetReverse() bool
func (*RawScanRequest) GetStartKey ¶
func (m *RawScanRequest) GetStartKey() []byte
func (*RawScanRequest) Marshal ¶
func (m *RawScanRequest) Marshal() (dAtA []byte, err error)
func (*RawScanRequest) MarshalToSizedBuffer ¶
func (m *RawScanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawScanRequest) ProtoMessage ¶
func (*RawScanRequest) ProtoMessage()
func (*RawScanRequest) Reset ¶
func (m *RawScanRequest) Reset()
func (*RawScanRequest) Size ¶
func (m *RawScanRequest) Size() (n int)
func (*RawScanRequest) String ¶
func (m *RawScanRequest) String() string
func (*RawScanRequest) Unmarshal ¶
func (m *RawScanRequest) Unmarshal(dAtA []byte) error
func (*RawScanRequest) XXX_DiscardUnknown ¶
func (m *RawScanRequest) XXX_DiscardUnknown()
func (*RawScanRequest) XXX_Marshal ¶
func (m *RawScanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawScanRequest) XXX_Merge ¶
func (m *RawScanRequest) XXX_Merge(src proto.Message)
func (*RawScanRequest) XXX_Size ¶
func (m *RawScanRequest) XXX_Size() int
func (*RawScanRequest) XXX_Unmarshal ¶
func (m *RawScanRequest) XXX_Unmarshal(b []byte) error
type RawScanResponse ¶
type RawScanResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Kvs []*KvPair `protobuf:"bytes,2,rep,name=kvs,proto3" json:"kvs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RawScanResponse) Descriptor ¶
func (*RawScanResponse) Descriptor() ([]byte, []int)
func (*RawScanResponse) GetKvs ¶
func (m *RawScanResponse) GetKvs() []*KvPair
func (*RawScanResponse) GetRegionError ¶
func (m *RawScanResponse) GetRegionError() *errorpb.Error
func (*RawScanResponse) Marshal ¶
func (m *RawScanResponse) Marshal() (dAtA []byte, err error)
func (*RawScanResponse) MarshalToSizedBuffer ¶
func (m *RawScanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RawScanResponse) ProtoMessage ¶
func (*RawScanResponse) ProtoMessage()
func (*RawScanResponse) Reset ¶
func (m *RawScanResponse) Reset()
func (*RawScanResponse) Size ¶
func (m *RawScanResponse) Size() (n int)
func (*RawScanResponse) String ¶
func (m *RawScanResponse) String() string
func (*RawScanResponse) Unmarshal ¶
func (m *RawScanResponse) Unmarshal(dAtA []byte) error
func (*RawScanResponse) XXX_DiscardUnknown ¶
func (m *RawScanResponse) XXX_DiscardUnknown()
func (*RawScanResponse) XXX_Marshal ¶
func (m *RawScanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RawScanResponse) XXX_Merge ¶
func (m *RawScanResponse) XXX_Merge(src proto.Message)
func (*RawScanResponse) XXX_Size ¶
func (m *RawScanResponse) XXX_Size() int
func (*RawScanResponse) XXX_Unmarshal ¶
func (m *RawScanResponse) XXX_Unmarshal(b []byte) error
type ReadIndexRequest ¶
type ReadIndexRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // TiKV checks the given range if there is any unapplied lock // blocking the read request. StartTs uint64 `protobuf:"varint,2,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` Ranges []*KeyRange `protobuf:"bytes,3,rep,name=ranges,proto3" json:"ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sent from TiFlash to a TiKV node.
func (*ReadIndexRequest) Descriptor ¶
func (*ReadIndexRequest) Descriptor() ([]byte, []int)
func (*ReadIndexRequest) GetContext ¶
func (m *ReadIndexRequest) GetContext() *Context
func (*ReadIndexRequest) GetRanges ¶
func (m *ReadIndexRequest) GetRanges() []*KeyRange
func (*ReadIndexRequest) GetStartTs ¶
func (m *ReadIndexRequest) GetStartTs() uint64
func (*ReadIndexRequest) Marshal ¶
func (m *ReadIndexRequest) Marshal() (dAtA []byte, err error)
func (*ReadIndexRequest) MarshalToSizedBuffer ¶
func (m *ReadIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadIndexRequest) ProtoMessage ¶
func (*ReadIndexRequest) ProtoMessage()
func (*ReadIndexRequest) Reset ¶
func (m *ReadIndexRequest) Reset()
func (*ReadIndexRequest) Size ¶
func (m *ReadIndexRequest) Size() (n int)
func (*ReadIndexRequest) String ¶
func (m *ReadIndexRequest) String() string
func (*ReadIndexRequest) Unmarshal ¶
func (m *ReadIndexRequest) Unmarshal(dAtA []byte) error
func (*ReadIndexRequest) XXX_DiscardUnknown ¶
func (m *ReadIndexRequest) XXX_DiscardUnknown()
func (*ReadIndexRequest) XXX_Marshal ¶
func (m *ReadIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadIndexRequest) XXX_Merge ¶
func (m *ReadIndexRequest) XXX_Merge(src proto.Message)
func (*ReadIndexRequest) XXX_Size ¶
func (m *ReadIndexRequest) XXX_Size() int
func (*ReadIndexRequest) XXX_Unmarshal ¶
func (m *ReadIndexRequest) XXX_Unmarshal(b []byte) error
type ReadIndexResponse ¶
type ReadIndexResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` ReadIndex uint64 `protobuf:"varint,2,opt,name=read_index,json=readIndex,proto3" json:"read_index,omitempty"` // If `locked` is set, this read request is blocked by a lock. // The lock should be returned to the client. Locked *LockInfo `protobuf:"bytes,3,opt,name=locked,proto3" json:"locked,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadIndexResponse) Descriptor ¶
func (*ReadIndexResponse) Descriptor() ([]byte, []int)
func (*ReadIndexResponse) GetLocked ¶
func (m *ReadIndexResponse) GetLocked() *LockInfo
func (*ReadIndexResponse) GetReadIndex ¶
func (m *ReadIndexResponse) GetReadIndex() uint64
func (*ReadIndexResponse) GetRegionError ¶
func (m *ReadIndexResponse) GetRegionError() *errorpb.Error
func (*ReadIndexResponse) Marshal ¶
func (m *ReadIndexResponse) Marshal() (dAtA []byte, err error)
func (*ReadIndexResponse) MarshalTo ¶
func (m *ReadIndexResponse) MarshalTo(dAtA []byte) (int, error)
func (*ReadIndexResponse) MarshalToSizedBuffer ¶
func (m *ReadIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadIndexResponse) ProtoMessage ¶
func (*ReadIndexResponse) ProtoMessage()
func (*ReadIndexResponse) Reset ¶
func (m *ReadIndexResponse) Reset()
func (*ReadIndexResponse) Size ¶
func (m *ReadIndexResponse) Size() (n int)
func (*ReadIndexResponse) String ¶
func (m *ReadIndexResponse) String() string
func (*ReadIndexResponse) Unmarshal ¶
func (m *ReadIndexResponse) Unmarshal(dAtA []byte) error
func (*ReadIndexResponse) XXX_DiscardUnknown ¶
func (m *ReadIndexResponse) XXX_DiscardUnknown()
func (*ReadIndexResponse) XXX_Marshal ¶
func (m *ReadIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadIndexResponse) XXX_Merge ¶
func (m *ReadIndexResponse) XXX_Merge(src proto.Message)
func (*ReadIndexResponse) XXX_Size ¶
func (m *ReadIndexResponse) XXX_Size() int
func (*ReadIndexResponse) XXX_Unmarshal ¶
func (m *ReadIndexResponse) XXX_Unmarshal(b []byte) error
type ReadState ¶
type ReadState struct { AppliedIndex uint64 `protobuf:"varint,1,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"` SafeTs uint64 `protobuf:"varint,2,opt,name=safe_ts,json=safeTs,proto3" json:"safe_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadState) Descriptor ¶
func (*ReadState) GetAppliedIndex ¶
func (*ReadState) MarshalToSizedBuffer ¶
func (*ReadState) ProtoMessage ¶
func (*ReadState) ProtoMessage()
func (*ReadState) XXX_DiscardUnknown ¶
func (m *ReadState) XXX_DiscardUnknown()
func (*ReadState) XXX_Marshal ¶
func (*ReadState) XXX_Unmarshal ¶
type RegisterLockObserverRequest ¶
type RegisterLockObserverRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` MaxTs uint64 `protobuf:"varint,2,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterLockObserverRequest) Descriptor ¶
func (*RegisterLockObserverRequest) Descriptor() ([]byte, []int)
func (*RegisterLockObserverRequest) GetContext ¶
func (m *RegisterLockObserverRequest) GetContext() *Context
func (*RegisterLockObserverRequest) GetMaxTs ¶
func (m *RegisterLockObserverRequest) GetMaxTs() uint64
func (*RegisterLockObserverRequest) Marshal ¶
func (m *RegisterLockObserverRequest) Marshal() (dAtA []byte, err error)
func (*RegisterLockObserverRequest) MarshalTo ¶
func (m *RegisterLockObserverRequest) MarshalTo(dAtA []byte) (int, error)
func (*RegisterLockObserverRequest) MarshalToSizedBuffer ¶
func (m *RegisterLockObserverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterLockObserverRequest) ProtoMessage ¶
func (*RegisterLockObserverRequest) ProtoMessage()
func (*RegisterLockObserverRequest) Reset ¶
func (m *RegisterLockObserverRequest) Reset()
func (*RegisterLockObserverRequest) Size ¶
func (m *RegisterLockObserverRequest) Size() (n int)
func (*RegisterLockObserverRequest) String ¶
func (m *RegisterLockObserverRequest) String() string
func (*RegisterLockObserverRequest) Unmarshal ¶
func (m *RegisterLockObserverRequest) Unmarshal(dAtA []byte) error
func (*RegisterLockObserverRequest) XXX_DiscardUnknown ¶
func (m *RegisterLockObserverRequest) XXX_DiscardUnknown()
func (*RegisterLockObserverRequest) XXX_Marshal ¶
func (m *RegisterLockObserverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterLockObserverRequest) XXX_Merge ¶
func (m *RegisterLockObserverRequest) XXX_Merge(src proto.Message)
func (*RegisterLockObserverRequest) XXX_Size ¶
func (m *RegisterLockObserverRequest) XXX_Size() int
func (*RegisterLockObserverRequest) XXX_Unmarshal ¶
func (m *RegisterLockObserverRequest) XXX_Unmarshal(b []byte) error
type RegisterLockObserverResponse ¶
type RegisterLockObserverResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterLockObserverResponse) Descriptor ¶
func (*RegisterLockObserverResponse) Descriptor() ([]byte, []int)
func (*RegisterLockObserverResponse) GetError ¶
func (m *RegisterLockObserverResponse) GetError() string
func (*RegisterLockObserverResponse) Marshal ¶
func (m *RegisterLockObserverResponse) Marshal() (dAtA []byte, err error)
func (*RegisterLockObserverResponse) MarshalTo ¶
func (m *RegisterLockObserverResponse) MarshalTo(dAtA []byte) (int, error)
func (*RegisterLockObserverResponse) MarshalToSizedBuffer ¶
func (m *RegisterLockObserverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterLockObserverResponse) ProtoMessage ¶
func (*RegisterLockObserverResponse) ProtoMessage()
func (*RegisterLockObserverResponse) Reset ¶
func (m *RegisterLockObserverResponse) Reset()
func (*RegisterLockObserverResponse) Size ¶
func (m *RegisterLockObserverResponse) Size() (n int)
func (*RegisterLockObserverResponse) String ¶
func (m *RegisterLockObserverResponse) String() string
func (*RegisterLockObserverResponse) Unmarshal ¶
func (m *RegisterLockObserverResponse) Unmarshal(dAtA []byte) error
func (*RegisterLockObserverResponse) XXX_DiscardUnknown ¶
func (m *RegisterLockObserverResponse) XXX_DiscardUnknown()
func (*RegisterLockObserverResponse) XXX_Marshal ¶
func (m *RegisterLockObserverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterLockObserverResponse) XXX_Merge ¶
func (m *RegisterLockObserverResponse) XXX_Merge(src proto.Message)
func (*RegisterLockObserverResponse) XXX_Size ¶
func (m *RegisterLockObserverResponse) XXX_Size() int
func (*RegisterLockObserverResponse) XXX_Unmarshal ¶
func (m *RegisterLockObserverResponse) XXX_Unmarshal(b []byte) error
type RemoveLockObserverRequest ¶
type RemoveLockObserverRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` MaxTs uint64 `protobuf:"varint,2,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveLockObserverRequest) Descriptor ¶
func (*RemoveLockObserverRequest) Descriptor() ([]byte, []int)
func (*RemoveLockObserverRequest) GetContext ¶
func (m *RemoveLockObserverRequest) GetContext() *Context
func (*RemoveLockObserverRequest) GetMaxTs ¶
func (m *RemoveLockObserverRequest) GetMaxTs() uint64
func (*RemoveLockObserverRequest) Marshal ¶
func (m *RemoveLockObserverRequest) Marshal() (dAtA []byte, err error)
func (*RemoveLockObserverRequest) MarshalTo ¶
func (m *RemoveLockObserverRequest) MarshalTo(dAtA []byte) (int, error)
func (*RemoveLockObserverRequest) MarshalToSizedBuffer ¶
func (m *RemoveLockObserverRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveLockObserverRequest) ProtoMessage ¶
func (*RemoveLockObserverRequest) ProtoMessage()
func (*RemoveLockObserverRequest) Reset ¶
func (m *RemoveLockObserverRequest) Reset()
func (*RemoveLockObserverRequest) Size ¶
func (m *RemoveLockObserverRequest) Size() (n int)
func (*RemoveLockObserverRequest) String ¶
func (m *RemoveLockObserverRequest) String() string
func (*RemoveLockObserverRequest) Unmarshal ¶
func (m *RemoveLockObserverRequest) Unmarshal(dAtA []byte) error
func (*RemoveLockObserverRequest) XXX_DiscardUnknown ¶
func (m *RemoveLockObserverRequest) XXX_DiscardUnknown()
func (*RemoveLockObserverRequest) XXX_Marshal ¶
func (m *RemoveLockObserverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveLockObserverRequest) XXX_Merge ¶
func (m *RemoveLockObserverRequest) XXX_Merge(src proto.Message)
func (*RemoveLockObserverRequest) XXX_Size ¶
func (m *RemoveLockObserverRequest) XXX_Size() int
func (*RemoveLockObserverRequest) XXX_Unmarshal ¶
func (m *RemoveLockObserverRequest) XXX_Unmarshal(b []byte) error
type RemoveLockObserverResponse ¶
type RemoveLockObserverResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveLockObserverResponse) Descriptor ¶
func (*RemoveLockObserverResponse) Descriptor() ([]byte, []int)
func (*RemoveLockObserverResponse) GetError ¶
func (m *RemoveLockObserverResponse) GetError() string
func (*RemoveLockObserverResponse) Marshal ¶
func (m *RemoveLockObserverResponse) Marshal() (dAtA []byte, err error)
func (*RemoveLockObserverResponse) MarshalTo ¶
func (m *RemoveLockObserverResponse) MarshalTo(dAtA []byte) (int, error)
func (*RemoveLockObserverResponse) MarshalToSizedBuffer ¶
func (m *RemoveLockObserverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveLockObserverResponse) ProtoMessage ¶
func (*RemoveLockObserverResponse) ProtoMessage()
func (*RemoveLockObserverResponse) Reset ¶
func (m *RemoveLockObserverResponse) Reset()
func (*RemoveLockObserverResponse) Size ¶
func (m *RemoveLockObserverResponse) Size() (n int)
func (*RemoveLockObserverResponse) String ¶
func (m *RemoveLockObserverResponse) String() string
func (*RemoveLockObserverResponse) Unmarshal ¶
func (m *RemoveLockObserverResponse) Unmarshal(dAtA []byte) error
func (*RemoveLockObserverResponse) XXX_DiscardUnknown ¶
func (m *RemoveLockObserverResponse) XXX_DiscardUnknown()
func (*RemoveLockObserverResponse) XXX_Marshal ¶
func (m *RemoveLockObserverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveLockObserverResponse) XXX_Merge ¶
func (m *RemoveLockObserverResponse) XXX_Merge(src proto.Message)
func (*RemoveLockObserverResponse) XXX_Size ¶
func (m *RemoveLockObserverResponse) XXX_Size() int
func (*RemoveLockObserverResponse) XXX_Unmarshal ¶
func (m *RemoveLockObserverResponse) XXX_Unmarshal(b []byte) error
type ResolveLockRequest ¶
type ResolveLockRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` StartVersion uint64 `protobuf:"varint,2,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` // `commit_version == 0` means the transaction was rolled back. // `commit_version > 0` means the transaction was committed at the given timestamp. CommitVersion uint64 `protobuf:"varint,3,opt,name=commit_version,json=commitVersion,proto3" json:"commit_version,omitempty"` TxnInfos []*TxnInfo `protobuf:"bytes,4,rep,name=txn_infos,json=txnInfos,proto3" json:"txn_infos,omitempty"` // Only resolve specified keys. Keys [][]byte `protobuf:"bytes,5,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
For all keys locked by the transaction identified by `start_version`, either commit or rollback the transaction and unlock the key.
func (*ResolveLockRequest) Descriptor ¶
func (*ResolveLockRequest) Descriptor() ([]byte, []int)
func (*ResolveLockRequest) GetCommitVersion ¶
func (m *ResolveLockRequest) GetCommitVersion() uint64
func (*ResolveLockRequest) GetContext ¶
func (m *ResolveLockRequest) GetContext() *Context
func (*ResolveLockRequest) GetKeys ¶
func (m *ResolveLockRequest) GetKeys() [][]byte
func (*ResolveLockRequest) GetStartVersion ¶
func (m *ResolveLockRequest) GetStartVersion() uint64
func (*ResolveLockRequest) GetTxnInfos ¶
func (m *ResolveLockRequest) GetTxnInfos() []*TxnInfo
func (*ResolveLockRequest) Marshal ¶
func (m *ResolveLockRequest) Marshal() (dAtA []byte, err error)
func (*ResolveLockRequest) MarshalTo ¶
func (m *ResolveLockRequest) MarshalTo(dAtA []byte) (int, error)
func (*ResolveLockRequest) MarshalToSizedBuffer ¶
func (m *ResolveLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResolveLockRequest) ProtoMessage ¶
func (*ResolveLockRequest) ProtoMessage()
func (*ResolveLockRequest) Reset ¶
func (m *ResolveLockRequest) Reset()
func (*ResolveLockRequest) Size ¶
func (m *ResolveLockRequest) Size() (n int)
func (*ResolveLockRequest) String ¶
func (m *ResolveLockRequest) String() string
func (*ResolveLockRequest) Unmarshal ¶
func (m *ResolveLockRequest) Unmarshal(dAtA []byte) error
func (*ResolveLockRequest) XXX_DiscardUnknown ¶
func (m *ResolveLockRequest) XXX_DiscardUnknown()
func (*ResolveLockRequest) XXX_Marshal ¶
func (m *ResolveLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResolveLockRequest) XXX_Merge ¶
func (m *ResolveLockRequest) XXX_Merge(src proto.Message)
func (*ResolveLockRequest) XXX_Size ¶
func (m *ResolveLockRequest) XXX_Size() int
func (*ResolveLockRequest) XXX_Unmarshal ¶
func (m *ResolveLockRequest) XXX_Unmarshal(b []byte) error
type ResolveLockResponse ¶
type ResolveLockResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,3,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResolveLockResponse) Descriptor ¶
func (*ResolveLockResponse) Descriptor() ([]byte, []int)
func (*ResolveLockResponse) GetError ¶
func (m *ResolveLockResponse) GetError() *KeyError
func (*ResolveLockResponse) GetExecDetailsV2 ¶
func (m *ResolveLockResponse) GetExecDetailsV2() *ExecDetailsV2
func (*ResolveLockResponse) GetRegionError ¶
func (m *ResolveLockResponse) GetRegionError() *errorpb.Error
func (*ResolveLockResponse) Marshal ¶
func (m *ResolveLockResponse) Marshal() (dAtA []byte, err error)
func (*ResolveLockResponse) MarshalTo ¶
func (m *ResolveLockResponse) MarshalTo(dAtA []byte) (int, error)
func (*ResolveLockResponse) MarshalToSizedBuffer ¶
func (m *ResolveLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResolveLockResponse) ProtoMessage ¶
func (*ResolveLockResponse) ProtoMessage()
func (*ResolveLockResponse) Reset ¶
func (m *ResolveLockResponse) Reset()
func (*ResolveLockResponse) Size ¶
func (m *ResolveLockResponse) Size() (n int)
func (*ResolveLockResponse) String ¶
func (m *ResolveLockResponse) String() string
func (*ResolveLockResponse) Unmarshal ¶
func (m *ResolveLockResponse) Unmarshal(dAtA []byte) error
func (*ResolveLockResponse) XXX_DiscardUnknown ¶
func (m *ResolveLockResponse) XXX_DiscardUnknown()
func (*ResolveLockResponse) XXX_Marshal ¶
func (m *ResolveLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResolveLockResponse) XXX_Merge ¶
func (m *ResolveLockResponse) XXX_Merge(src proto.Message)
func (*ResolveLockResponse) XXX_Size ¶
func (m *ResolveLockResponse) XXX_Size() int
func (*ResolveLockResponse) XXX_Unmarshal ¶
func (m *ResolveLockResponse) XXX_Unmarshal(b []byte) error
type ScanDetail ¶
type ScanDetail struct { Write *ScanInfo `protobuf:"bytes,1,opt,name=write,proto3" json:"write,omitempty"` Lock *ScanInfo `protobuf:"bytes,2,opt,name=lock,proto3" json:"lock,omitempty"` Data *ScanInfo `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Only reserved for compatibility.
func (*ScanDetail) Descriptor ¶
func (*ScanDetail) Descriptor() ([]byte, []int)
func (*ScanDetail) GetData ¶
func (m *ScanDetail) GetData() *ScanInfo
func (*ScanDetail) GetLock ¶
func (m *ScanDetail) GetLock() *ScanInfo
func (*ScanDetail) GetWrite ¶
func (m *ScanDetail) GetWrite() *ScanInfo
func (*ScanDetail) Marshal ¶
func (m *ScanDetail) Marshal() (dAtA []byte, err error)
func (*ScanDetail) MarshalToSizedBuffer ¶
func (m *ScanDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScanDetail) ProtoMessage ¶
func (*ScanDetail) ProtoMessage()
func (*ScanDetail) Reset ¶
func (m *ScanDetail) Reset()
func (*ScanDetail) Size ¶
func (m *ScanDetail) Size() (n int)
func (*ScanDetail) String ¶
func (m *ScanDetail) String() string
func (*ScanDetail) Unmarshal ¶
func (m *ScanDetail) Unmarshal(dAtA []byte) error
func (*ScanDetail) XXX_DiscardUnknown ¶
func (m *ScanDetail) XXX_DiscardUnknown()
func (*ScanDetail) XXX_Marshal ¶
func (m *ScanDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScanDetail) XXX_Merge ¶
func (m *ScanDetail) XXX_Merge(src proto.Message)
func (*ScanDetail) XXX_Size ¶
func (m *ScanDetail) XXX_Size() int
func (*ScanDetail) XXX_Unmarshal ¶
func (m *ScanDetail) XXX_Unmarshal(b []byte) error
type ScanDetailV2 ¶
type ScanDetailV2 struct { // Number of user keys scanned from the storage. // It does not include deleted version or RocksDB tombstone keys. // For Coprocessor requests, it includes keys that has been filtered out by // Selection. ProcessedVersions uint64 `protobuf:"varint,1,opt,name=processed_versions,json=processedVersions,proto3" json:"processed_versions,omitempty"` // Number of bytes of user key-value pairs scanned from the storage, i.e. // total size of data returned from MVCC layer. ProcessedVersionsSize uint64 `` /* 127-byte string literal not displayed */ // Approximate number of MVCC keys meet during scanning. It includes // deleted versions, but does not include RocksDB tombstone keys. // // When this field is notably larger than `processed_versions`, it means // there are a lot of deleted MVCC keys. TotalVersions uint64 `protobuf:"varint,2,opt,name=total_versions,json=totalVersions,proto3" json:"total_versions,omitempty"` // Total number of deletes and single deletes skipped over during // iteration, i.e. how many RocksDB tombstones are skipped. RocksdbDeleteSkippedCount uint64 `` /* 141-byte string literal not displayed */ // Total number of internal keys skipped over during iteration. // See https://github.com/facebook/rocksdb/blob/9f1c84ca471d8b1ad7be9f3eebfc2c7e07dfd7a7/include/rocksdb/perf_context.h#L84 for details. RocksdbKeySkippedCount uint64 `` /* 132-byte string literal not displayed */ // Total number of RocksDB block cache hits. RocksdbBlockCacheHitCount uint64 `` /* 143-byte string literal not displayed */ // Total number of block reads (with IO). RocksdbBlockReadCount uint64 `` /* 129-byte string literal not displayed */ // Total number of bytes from block reads. RocksdbBlockReadByte uint64 `` /* 126-byte string literal not displayed */ // Total time used for block reads. RocksdbBlockReadNanos uint64 `` /* 129-byte string literal not displayed */ // Time used for getting a raftstore snapshot (including leader confirmation and getting the RocksDB snapshot). GetSnapshotNanos uint64 `protobuf:"varint,10,opt,name=get_snapshot_nanos,json=getSnapshotNanos,proto3" json:"get_snapshot_nanos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ScanDetailV2) Descriptor ¶
func (*ScanDetailV2) Descriptor() ([]byte, []int)
func (*ScanDetailV2) GetGetSnapshotNanos ¶
func (m *ScanDetailV2) GetGetSnapshotNanos() uint64
func (*ScanDetailV2) GetProcessedVersions ¶
func (m *ScanDetailV2) GetProcessedVersions() uint64
func (*ScanDetailV2) GetProcessedVersionsSize ¶
func (m *ScanDetailV2) GetProcessedVersionsSize() uint64
func (*ScanDetailV2) GetRocksdbBlockCacheHitCount ¶
func (m *ScanDetailV2) GetRocksdbBlockCacheHitCount() uint64
func (*ScanDetailV2) GetRocksdbBlockReadByte ¶
func (m *ScanDetailV2) GetRocksdbBlockReadByte() uint64
func (*ScanDetailV2) GetRocksdbBlockReadCount ¶
func (m *ScanDetailV2) GetRocksdbBlockReadCount() uint64
func (*ScanDetailV2) GetRocksdbBlockReadNanos ¶
func (m *ScanDetailV2) GetRocksdbBlockReadNanos() uint64
func (*ScanDetailV2) GetRocksdbDeleteSkippedCount ¶
func (m *ScanDetailV2) GetRocksdbDeleteSkippedCount() uint64
func (*ScanDetailV2) GetRocksdbKeySkippedCount ¶
func (m *ScanDetailV2) GetRocksdbKeySkippedCount() uint64
func (*ScanDetailV2) GetTotalVersions ¶
func (m *ScanDetailV2) GetTotalVersions() uint64
func (*ScanDetailV2) Marshal ¶
func (m *ScanDetailV2) Marshal() (dAtA []byte, err error)
func (*ScanDetailV2) MarshalToSizedBuffer ¶
func (m *ScanDetailV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScanDetailV2) ProtoMessage ¶
func (*ScanDetailV2) ProtoMessage()
func (*ScanDetailV2) Reset ¶
func (m *ScanDetailV2) Reset()
func (*ScanDetailV2) Size ¶
func (m *ScanDetailV2) Size() (n int)
func (*ScanDetailV2) String ¶
func (m *ScanDetailV2) String() string
func (*ScanDetailV2) Unmarshal ¶
func (m *ScanDetailV2) Unmarshal(dAtA []byte) error
func (*ScanDetailV2) XXX_DiscardUnknown ¶
func (m *ScanDetailV2) XXX_DiscardUnknown()
func (*ScanDetailV2) XXX_Marshal ¶
func (m *ScanDetailV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScanDetailV2) XXX_Merge ¶
func (m *ScanDetailV2) XXX_Merge(src proto.Message)
func (*ScanDetailV2) XXX_Size ¶
func (m *ScanDetailV2) XXX_Size() int
func (*ScanDetailV2) XXX_Unmarshal ¶
func (m *ScanDetailV2) XXX_Unmarshal(b []byte) error
type ScanInfo ¶
type ScanInfo struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Processed int64 `protobuf:"varint,2,opt,name=processed,proto3" json:"processed,omitempty"` ReadBytes int64 `protobuf:"varint,3,opt,name=read_bytes,json=readBytes,proto3" json:"read_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ScanInfo) Descriptor ¶
func (*ScanInfo) GetProcessed ¶
func (*ScanInfo) GetReadBytes ¶
func (*ScanInfo) MarshalToSizedBuffer ¶
func (*ScanInfo) ProtoMessage ¶
func (*ScanInfo) ProtoMessage()
func (*ScanInfo) XXX_DiscardUnknown ¶
func (m *ScanInfo) XXX_DiscardUnknown()
func (*ScanInfo) XXX_Marshal ¶
func (*ScanInfo) XXX_Unmarshal ¶
type ScanLockRequest ¶
type ScanLockRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // Returns all locks with a start timestamp before `max_version`. MaxVersion uint64 `protobuf:"varint,2,opt,name=max_version,json=maxVersion,proto3" json:"max_version,omitempty"` // Start scanning from this key. StartKey []byte `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` // The maximum number of locks to return. Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // The exclusive upperbound for scanning. EndKey []byte `protobuf:"bytes,5,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Scan the database for locks. Used at the start of the GC process to find all old locks.
func (*ScanLockRequest) Descriptor ¶
func (*ScanLockRequest) Descriptor() ([]byte, []int)
func (*ScanLockRequest) GetContext ¶
func (m *ScanLockRequest) GetContext() *Context
func (*ScanLockRequest) GetEndKey ¶
func (m *ScanLockRequest) GetEndKey() []byte
func (*ScanLockRequest) GetLimit ¶
func (m *ScanLockRequest) GetLimit() uint32
func (*ScanLockRequest) GetMaxVersion ¶
func (m *ScanLockRequest) GetMaxVersion() uint64
func (*ScanLockRequest) GetStartKey ¶
func (m *ScanLockRequest) GetStartKey() []byte
func (*ScanLockRequest) Marshal ¶
func (m *ScanLockRequest) Marshal() (dAtA []byte, err error)
func (*ScanLockRequest) MarshalToSizedBuffer ¶
func (m *ScanLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScanLockRequest) ProtoMessage ¶
func (*ScanLockRequest) ProtoMessage()
func (*ScanLockRequest) Reset ¶
func (m *ScanLockRequest) Reset()
func (*ScanLockRequest) Size ¶
func (m *ScanLockRequest) Size() (n int)
func (*ScanLockRequest) String ¶
func (m *ScanLockRequest) String() string
func (*ScanLockRequest) Unmarshal ¶
func (m *ScanLockRequest) Unmarshal(dAtA []byte) error
func (*ScanLockRequest) XXX_DiscardUnknown ¶
func (m *ScanLockRequest) XXX_DiscardUnknown()
func (*ScanLockRequest) XXX_Marshal ¶
func (m *ScanLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScanLockRequest) XXX_Merge ¶
func (m *ScanLockRequest) XXX_Merge(src proto.Message)
func (*ScanLockRequest) XXX_Size ¶
func (m *ScanLockRequest) XXX_Size() int
func (*ScanLockRequest) XXX_Unmarshal ¶
func (m *ScanLockRequest) XXX_Unmarshal(b []byte) error
type ScanLockResponse ¶
type ScanLockResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Info on all locks found by the scan. Locks []*LockInfo `protobuf:"bytes,3,rep,name=locks,proto3" json:"locks,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,4,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ScanLockResponse) Descriptor ¶
func (*ScanLockResponse) Descriptor() ([]byte, []int)
func (*ScanLockResponse) GetError ¶
func (m *ScanLockResponse) GetError() *KeyError
func (*ScanLockResponse) GetExecDetailsV2 ¶
func (m *ScanLockResponse) GetExecDetailsV2() *ExecDetailsV2
func (*ScanLockResponse) GetLocks ¶
func (m *ScanLockResponse) GetLocks() []*LockInfo
func (*ScanLockResponse) GetRegionError ¶
func (m *ScanLockResponse) GetRegionError() *errorpb.Error
func (*ScanLockResponse) Marshal ¶
func (m *ScanLockResponse) Marshal() (dAtA []byte, err error)
func (*ScanLockResponse) MarshalToSizedBuffer ¶
func (m *ScanLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScanLockResponse) ProtoMessage ¶
func (*ScanLockResponse) ProtoMessage()
func (*ScanLockResponse) Reset ¶
func (m *ScanLockResponse) Reset()
func (*ScanLockResponse) Size ¶
func (m *ScanLockResponse) Size() (n int)
func (*ScanLockResponse) String ¶
func (m *ScanLockResponse) String() string
func (*ScanLockResponse) Unmarshal ¶
func (m *ScanLockResponse) Unmarshal(dAtA []byte) error
func (*ScanLockResponse) XXX_DiscardUnknown ¶
func (m *ScanLockResponse) XXX_DiscardUnknown()
func (*ScanLockResponse) XXX_Marshal ¶
func (m *ScanLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScanLockResponse) XXX_Merge ¶
func (m *ScanLockResponse) XXX_Merge(src proto.Message)
func (*ScanLockResponse) XXX_Size ¶
func (m *ScanLockResponse) XXX_Size() int
func (*ScanLockResponse) XXX_Unmarshal ¶
func (m *ScanLockResponse) XXX_Unmarshal(b []byte) error
type ScanRequest ¶
type ScanRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` // The maximum number of results to return. Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Version uint64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` // Return only the keys found by scanning, not their values. KeyOnly bool `protobuf:"varint,5,opt,name=key_only,json=keyOnly,proto3" json:"key_only,omitempty"` Reverse bool `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"` // For compatibility, when scanning forward, the range to scan is [start_key, end_key), where start_key < end_key; // and when scanning backward, it scans [end_key, start_key) in descending order, where end_key < start_key. EndKey []byte `protobuf:"bytes,7,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` // If sample_step > 0, skips 'sample_step - 1' number of keys after each returned key. // locks are not checked. SampleStep uint32 `protobuf:"varint,8,opt,name=sample_step,json=sampleStep,proto3" json:"sample_step,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Scan fetches values for a range of keys; it is part of the transaction with starting timestamp = `version`.
func (*ScanRequest) Descriptor ¶
func (*ScanRequest) Descriptor() ([]byte, []int)
func (*ScanRequest) GetContext ¶
func (m *ScanRequest) GetContext() *Context
func (*ScanRequest) GetEndKey ¶
func (m *ScanRequest) GetEndKey() []byte
func (*ScanRequest) GetKeyOnly ¶
func (m *ScanRequest) GetKeyOnly() bool
func (*ScanRequest) GetLimit ¶
func (m *ScanRequest) GetLimit() uint32
func (*ScanRequest) GetReverse ¶
func (m *ScanRequest) GetReverse() bool
func (*ScanRequest) GetSampleStep ¶
func (m *ScanRequest) GetSampleStep() uint32
func (*ScanRequest) GetStartKey ¶
func (m *ScanRequest) GetStartKey() []byte
func (*ScanRequest) GetVersion ¶
func (m *ScanRequest) GetVersion() uint64
func (*ScanRequest) Marshal ¶
func (m *ScanRequest) Marshal() (dAtA []byte, err error)
func (*ScanRequest) MarshalToSizedBuffer ¶
func (m *ScanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScanRequest) ProtoMessage ¶
func (*ScanRequest) ProtoMessage()
func (*ScanRequest) Reset ¶
func (m *ScanRequest) Reset()
func (*ScanRequest) Size ¶
func (m *ScanRequest) Size() (n int)
func (*ScanRequest) String ¶
func (m *ScanRequest) String() string
func (*ScanRequest) Unmarshal ¶
func (m *ScanRequest) Unmarshal(dAtA []byte) error
func (*ScanRequest) XXX_DiscardUnknown ¶
func (m *ScanRequest) XXX_DiscardUnknown()
func (*ScanRequest) XXX_Marshal ¶
func (m *ScanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScanRequest) XXX_Merge ¶
func (m *ScanRequest) XXX_Merge(src proto.Message)
func (*ScanRequest) XXX_Size ¶
func (m *ScanRequest) XXX_Size() int
func (*ScanRequest) XXX_Unmarshal ¶
func (m *ScanRequest) XXX_Unmarshal(b []byte) error
type ScanResponse ¶
type ScanResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` // Each KvPair may contain a key error. Pairs []*KvPair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` // This KeyError exists when some key is locked but we cannot check locks of all keys. // In this case, `pairs` should be empty and the client should redo scanning all the keys // after resolving the lock. Error *KeyError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ScanResponse) Descriptor ¶
func (*ScanResponse) Descriptor() ([]byte, []int)
func (*ScanResponse) GetError ¶
func (m *ScanResponse) GetError() *KeyError
func (*ScanResponse) GetPairs ¶
func (m *ScanResponse) GetPairs() []*KvPair
func (*ScanResponse) GetRegionError ¶
func (m *ScanResponse) GetRegionError() *errorpb.Error
func (*ScanResponse) Marshal ¶
func (m *ScanResponse) Marshal() (dAtA []byte, err error)
func (*ScanResponse) MarshalToSizedBuffer ¶
func (m *ScanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScanResponse) ProtoMessage ¶
func (*ScanResponse) ProtoMessage()
func (*ScanResponse) Reset ¶
func (m *ScanResponse) Reset()
func (*ScanResponse) Size ¶
func (m *ScanResponse) Size() (n int)
func (*ScanResponse) String ¶
func (m *ScanResponse) String() string
func (*ScanResponse) Unmarshal ¶
func (m *ScanResponse) Unmarshal(dAtA []byte) error
func (*ScanResponse) XXX_DiscardUnknown ¶
func (m *ScanResponse) XXX_DiscardUnknown()
func (*ScanResponse) XXX_Marshal ¶
func (m *ScanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScanResponse) XXX_Merge ¶
func (m *ScanResponse) XXX_Merge(src proto.Message)
func (*ScanResponse) XXX_Size ¶
func (m *ScanResponse) XXX_Size() int
func (*ScanResponse) XXX_Unmarshal ¶
func (m *ScanResponse) XXX_Unmarshal(b []byte) error
type SplitRegionRequest ¶
type SplitRegionRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` SplitKey []byte `protobuf:"bytes,2,opt,name=split_key,json=splitKey,proto3" json:"split_key,omitempty"` // Deprecated: Do not use. SplitKeys [][]byte `protobuf:"bytes,3,rep,name=split_keys,json=splitKeys,proto3" json:"split_keys,omitempty"` // Once enabled, the split_key will not be encoded. IsRawKv bool `protobuf:"varint,4,opt,name=is_raw_kv,json=isRawKv,proto3" json:"is_raw_kv,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sent from PD to a TiKV node.
func (*SplitRegionRequest) Descriptor ¶
func (*SplitRegionRequest) Descriptor() ([]byte, []int)
func (*SplitRegionRequest) GetContext ¶
func (m *SplitRegionRequest) GetContext() *Context
func (*SplitRegionRequest) GetIsRawKv ¶
func (m *SplitRegionRequest) GetIsRawKv() bool
func (*SplitRegionRequest) GetSplitKey
deprecated
func (m *SplitRegionRequest) GetSplitKey() []byte
Deprecated: Do not use.
func (*SplitRegionRequest) GetSplitKeys ¶
func (m *SplitRegionRequest) GetSplitKeys() [][]byte
func (*SplitRegionRequest) Marshal ¶
func (m *SplitRegionRequest) Marshal() (dAtA []byte, err error)
func (*SplitRegionRequest) MarshalTo ¶
func (m *SplitRegionRequest) MarshalTo(dAtA []byte) (int, error)
func (*SplitRegionRequest) MarshalToSizedBuffer ¶
func (m *SplitRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SplitRegionRequest) ProtoMessage ¶
func (*SplitRegionRequest) ProtoMessage()
func (*SplitRegionRequest) Reset ¶
func (m *SplitRegionRequest) Reset()
func (*SplitRegionRequest) Size ¶
func (m *SplitRegionRequest) Size() (n int)
func (*SplitRegionRequest) String ¶
func (m *SplitRegionRequest) String() string
func (*SplitRegionRequest) Unmarshal ¶
func (m *SplitRegionRequest) Unmarshal(dAtA []byte) error
func (*SplitRegionRequest) XXX_DiscardUnknown ¶
func (m *SplitRegionRequest) XXX_DiscardUnknown()
func (*SplitRegionRequest) XXX_Marshal ¶
func (m *SplitRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SplitRegionRequest) XXX_Merge ¶
func (m *SplitRegionRequest) XXX_Merge(src proto.Message)
func (*SplitRegionRequest) XXX_Size ¶
func (m *SplitRegionRequest) XXX_Size() int
func (*SplitRegionRequest) XXX_Unmarshal ¶
func (m *SplitRegionRequest) XXX_Unmarshal(b []byte) error
type SplitRegionResponse ¶
type SplitRegionResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Left *metapb.Region `protobuf:"bytes,2,opt,name=left,proto3" json:"left,omitempty"` // Deprecated: Do not use. Right *metapb.Region `protobuf:"bytes,3,opt,name=right,proto3" json:"right,omitempty"` // Deprecated: Do not use. Regions []*metapb.Region `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SplitRegionResponse) Descriptor ¶
func (*SplitRegionResponse) Descriptor() ([]byte, []int)
func (*SplitRegionResponse) GetLeft
deprecated
func (m *SplitRegionResponse) GetLeft() *metapb.Region
Deprecated: Do not use.
func (*SplitRegionResponse) GetRegionError ¶
func (m *SplitRegionResponse) GetRegionError() *errorpb.Error
func (*SplitRegionResponse) GetRegions ¶
func (m *SplitRegionResponse) GetRegions() []*metapb.Region
func (*SplitRegionResponse) GetRight
deprecated
func (m *SplitRegionResponse) GetRight() *metapb.Region
Deprecated: Do not use.
func (*SplitRegionResponse) Marshal ¶
func (m *SplitRegionResponse) Marshal() (dAtA []byte, err error)
func (*SplitRegionResponse) MarshalTo ¶
func (m *SplitRegionResponse) MarshalTo(dAtA []byte) (int, error)
func (*SplitRegionResponse) MarshalToSizedBuffer ¶
func (m *SplitRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SplitRegionResponse) ProtoMessage ¶
func (*SplitRegionResponse) ProtoMessage()
func (*SplitRegionResponse) Reset ¶
func (m *SplitRegionResponse) Reset()
func (*SplitRegionResponse) Size ¶
func (m *SplitRegionResponse) Size() (n int)
func (*SplitRegionResponse) String ¶
func (m *SplitRegionResponse) String() string
func (*SplitRegionResponse) Unmarshal ¶
func (m *SplitRegionResponse) Unmarshal(dAtA []byte) error
func (*SplitRegionResponse) XXX_DiscardUnknown ¶
func (m *SplitRegionResponse) XXX_DiscardUnknown()
func (*SplitRegionResponse) XXX_Marshal ¶
func (m *SplitRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SplitRegionResponse) XXX_Merge ¶
func (m *SplitRegionResponse) XXX_Merge(src proto.Message)
func (*SplitRegionResponse) XXX_Size ¶
func (m *SplitRegionResponse) XXX_Size() int
func (*SplitRegionResponse) XXX_Unmarshal ¶
func (m *SplitRegionResponse) XXX_Unmarshal(b []byte) error
type StoreSafeTSRequest ¶
type StoreSafeTSRequest struct { // Get the minimal `safe_ts` from regions that overlap with the key range [`start_key`, `end_key`) // An empty key range means all regions in the store KeyRange *KeyRange `protobuf:"bytes,1,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreSafeTSRequest) Descriptor ¶
func (*StoreSafeTSRequest) Descriptor() ([]byte, []int)
func (*StoreSafeTSRequest) GetKeyRange ¶
func (m *StoreSafeTSRequest) GetKeyRange() *KeyRange
func (*StoreSafeTSRequest) Marshal ¶
func (m *StoreSafeTSRequest) Marshal() (dAtA []byte, err error)
func (*StoreSafeTSRequest) MarshalTo ¶
func (m *StoreSafeTSRequest) MarshalTo(dAtA []byte) (int, error)
func (*StoreSafeTSRequest) MarshalToSizedBuffer ¶
func (m *StoreSafeTSRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StoreSafeTSRequest) ProtoMessage ¶
func (*StoreSafeTSRequest) ProtoMessage()
func (*StoreSafeTSRequest) Reset ¶
func (m *StoreSafeTSRequest) Reset()
func (*StoreSafeTSRequest) Size ¶
func (m *StoreSafeTSRequest) Size() (n int)
func (*StoreSafeTSRequest) String ¶
func (m *StoreSafeTSRequest) String() string
func (*StoreSafeTSRequest) Unmarshal ¶
func (m *StoreSafeTSRequest) Unmarshal(dAtA []byte) error
func (*StoreSafeTSRequest) XXX_DiscardUnknown ¶
func (m *StoreSafeTSRequest) XXX_DiscardUnknown()
func (*StoreSafeTSRequest) XXX_Marshal ¶
func (m *StoreSafeTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoreSafeTSRequest) XXX_Merge ¶
func (m *StoreSafeTSRequest) XXX_Merge(src proto.Message)
func (*StoreSafeTSRequest) XXX_Size ¶
func (m *StoreSafeTSRequest) XXX_Size() int
func (*StoreSafeTSRequest) XXX_Unmarshal ¶
func (m *StoreSafeTSRequest) XXX_Unmarshal(b []byte) error
type StoreSafeTSResponse ¶
type StoreSafeTSResponse struct { SafeTs uint64 `protobuf:"varint,1,opt,name=safe_ts,json=safeTs,proto3" json:"safe_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StoreSafeTSResponse) Descriptor ¶
func (*StoreSafeTSResponse) Descriptor() ([]byte, []int)
func (*StoreSafeTSResponse) GetSafeTs ¶
func (m *StoreSafeTSResponse) GetSafeTs() uint64
func (*StoreSafeTSResponse) Marshal ¶
func (m *StoreSafeTSResponse) Marshal() (dAtA []byte, err error)
func (*StoreSafeTSResponse) MarshalTo ¶
func (m *StoreSafeTSResponse) MarshalTo(dAtA []byte) (int, error)
func (*StoreSafeTSResponse) MarshalToSizedBuffer ¶
func (m *StoreSafeTSResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StoreSafeTSResponse) ProtoMessage ¶
func (*StoreSafeTSResponse) ProtoMessage()
func (*StoreSafeTSResponse) Reset ¶
func (m *StoreSafeTSResponse) Reset()
func (*StoreSafeTSResponse) Size ¶
func (m *StoreSafeTSResponse) Size() (n int)
func (*StoreSafeTSResponse) String ¶
func (m *StoreSafeTSResponse) String() string
func (*StoreSafeTSResponse) Unmarshal ¶
func (m *StoreSafeTSResponse) Unmarshal(dAtA []byte) error
func (*StoreSafeTSResponse) XXX_DiscardUnknown ¶
func (m *StoreSafeTSResponse) XXX_DiscardUnknown()
func (*StoreSafeTSResponse) XXX_Marshal ¶
func (m *StoreSafeTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoreSafeTSResponse) XXX_Merge ¶
func (m *StoreSafeTSResponse) XXX_Merge(src proto.Message)
func (*StoreSafeTSResponse) XXX_Size ¶
func (m *StoreSafeTSResponse) XXX_Size() int
func (*StoreSafeTSResponse) XXX_Unmarshal ¶
func (m *StoreSafeTSResponse) XXX_Unmarshal(b []byte) error
type TimeDetail ¶
type TimeDetail struct { // Off-cpu wall time elapsed in TiKV side. Usually this includes queue waiting time and // other kind of waitings in series. (Wait time in the raftstore is not included.) WaitWallTimeMs uint64 `protobuf:"varint,1,opt,name=wait_wall_time_ms,json=waitWallTimeMs,proto3" json:"wait_wall_time_ms,omitempty"` // Off-cpu and on-cpu wall time elapsed to actually process the request payload. It does not // include `wait_wall_time`. // This field is very close to the CPU time in most cases. Some wait time spend in RocksDB // cannot be excluded for now, like Mutex wait time, which is included in this field, so that // this field is called wall time instead of CPU time. ProcessWallTimeMs uint64 `protobuf:"varint,2,opt,name=process_wall_time_ms,json=processWallTimeMs,proto3" json:"process_wall_time_ms,omitempty"` // KV read wall Time means the time used in key/value scan and get. KvReadWallTimeMs uint64 `protobuf:"varint,3,opt,name=kv_read_wall_time_ms,json=kvReadWallTimeMs,proto3" json:"kv_read_wall_time_ms,omitempty"` // Total wall clock time spent on this RPC in TiKV . TotalRpcWallTimeNs uint64 `protobuf:"varint,4,opt,name=total_rpc_wall_time_ns,json=totalRpcWallTimeNs,proto3" json:"total_rpc_wall_time_ns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TimeDetail) Descriptor ¶
func (*TimeDetail) Descriptor() ([]byte, []int)
func (*TimeDetail) GetKvReadWallTimeMs ¶
func (m *TimeDetail) GetKvReadWallTimeMs() uint64
func (*TimeDetail) GetProcessWallTimeMs ¶
func (m *TimeDetail) GetProcessWallTimeMs() uint64
func (*TimeDetail) GetTotalRpcWallTimeNs ¶
func (m *TimeDetail) GetTotalRpcWallTimeNs() uint64
func (*TimeDetail) GetWaitWallTimeMs ¶
func (m *TimeDetail) GetWaitWallTimeMs() uint64
func (*TimeDetail) Marshal ¶
func (m *TimeDetail) Marshal() (dAtA []byte, err error)
func (*TimeDetail) MarshalToSizedBuffer ¶
func (m *TimeDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimeDetail) ProtoMessage ¶
func (*TimeDetail) ProtoMessage()
func (*TimeDetail) Reset ¶
func (m *TimeDetail) Reset()
func (*TimeDetail) Size ¶
func (m *TimeDetail) Size() (n int)
func (*TimeDetail) String ¶
func (m *TimeDetail) String() string
func (*TimeDetail) Unmarshal ¶
func (m *TimeDetail) Unmarshal(dAtA []byte) error
func (*TimeDetail) XXX_DiscardUnknown ¶
func (m *TimeDetail) XXX_DiscardUnknown()
func (*TimeDetail) XXX_Marshal ¶
func (m *TimeDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimeDetail) XXX_Merge ¶
func (m *TimeDetail) XXX_Merge(src proto.Message)
func (*TimeDetail) XXX_Size ¶
func (m *TimeDetail) XXX_Size() int
func (*TimeDetail) XXX_Unmarshal ¶
func (m *TimeDetail) XXX_Unmarshal(b []byte) error
type TxnHeartBeatRequest ¶
type TxnHeartBeatRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // The key of the lock to update. PrimaryLock []byte `protobuf:"bytes,2,opt,name=primary_lock,json=primaryLock,proto3" json:"primary_lock,omitempty"` // Start timestamp of the large transaction. StartVersion uint64 `protobuf:"varint,3,opt,name=start_version,json=startVersion,proto3" json:"start_version,omitempty"` // The new TTL the sender would like. AdviseLockTtl uint64 `protobuf:"varint,4,opt,name=advise_lock_ttl,json=adviseLockTtl,proto3" json:"advise_lock_ttl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Used to update the lock_ttl of a psessimistic and/or large transaction to prevent it from been killed.
func (*TxnHeartBeatRequest) Descriptor ¶
func (*TxnHeartBeatRequest) Descriptor() ([]byte, []int)
func (*TxnHeartBeatRequest) GetAdviseLockTtl ¶
func (m *TxnHeartBeatRequest) GetAdviseLockTtl() uint64
func (*TxnHeartBeatRequest) GetContext ¶
func (m *TxnHeartBeatRequest) GetContext() *Context
func (*TxnHeartBeatRequest) GetPrimaryLock ¶
func (m *TxnHeartBeatRequest) GetPrimaryLock() []byte
func (*TxnHeartBeatRequest) GetStartVersion ¶
func (m *TxnHeartBeatRequest) GetStartVersion() uint64
func (*TxnHeartBeatRequest) Marshal ¶
func (m *TxnHeartBeatRequest) Marshal() (dAtA []byte, err error)
func (*TxnHeartBeatRequest) MarshalTo ¶
func (m *TxnHeartBeatRequest) MarshalTo(dAtA []byte) (int, error)
func (*TxnHeartBeatRequest) MarshalToSizedBuffer ¶
func (m *TxnHeartBeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxnHeartBeatRequest) ProtoMessage ¶
func (*TxnHeartBeatRequest) ProtoMessage()
func (*TxnHeartBeatRequest) Reset ¶
func (m *TxnHeartBeatRequest) Reset()
func (*TxnHeartBeatRequest) Size ¶
func (m *TxnHeartBeatRequest) Size() (n int)
func (*TxnHeartBeatRequest) String ¶
func (m *TxnHeartBeatRequest) String() string
func (*TxnHeartBeatRequest) Unmarshal ¶
func (m *TxnHeartBeatRequest) Unmarshal(dAtA []byte) error
func (*TxnHeartBeatRequest) XXX_DiscardUnknown ¶
func (m *TxnHeartBeatRequest) XXX_DiscardUnknown()
func (*TxnHeartBeatRequest) XXX_Marshal ¶
func (m *TxnHeartBeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxnHeartBeatRequest) XXX_Merge ¶
func (m *TxnHeartBeatRequest) XXX_Merge(src proto.Message)
func (*TxnHeartBeatRequest) XXX_Size ¶
func (m *TxnHeartBeatRequest) XXX_Size() int
func (*TxnHeartBeatRequest) XXX_Unmarshal ¶
func (m *TxnHeartBeatRequest) XXX_Unmarshal(b []byte) error
type TxnHeartBeatResponse ¶
type TxnHeartBeatResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // The TTL actually set on the requested lock. LockTtl uint64 `protobuf:"varint,3,opt,name=lock_ttl,json=lockTtl,proto3" json:"lock_ttl,omitempty"` // Execution details about the request processing. ExecDetailsV2 *ExecDetailsV2 `protobuf:"bytes,4,opt,name=exec_details_v2,json=execDetailsV2,proto3" json:"exec_details_v2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxnHeartBeatResponse) Descriptor ¶
func (*TxnHeartBeatResponse) Descriptor() ([]byte, []int)
func (*TxnHeartBeatResponse) GetError ¶
func (m *TxnHeartBeatResponse) GetError() *KeyError
func (*TxnHeartBeatResponse) GetExecDetailsV2 ¶
func (m *TxnHeartBeatResponse) GetExecDetailsV2() *ExecDetailsV2
func (*TxnHeartBeatResponse) GetLockTtl ¶
func (m *TxnHeartBeatResponse) GetLockTtl() uint64
func (*TxnHeartBeatResponse) GetRegionError ¶
func (m *TxnHeartBeatResponse) GetRegionError() *errorpb.Error
func (*TxnHeartBeatResponse) Marshal ¶
func (m *TxnHeartBeatResponse) Marshal() (dAtA []byte, err error)
func (*TxnHeartBeatResponse) MarshalTo ¶
func (m *TxnHeartBeatResponse) MarshalTo(dAtA []byte) (int, error)
func (*TxnHeartBeatResponse) MarshalToSizedBuffer ¶
func (m *TxnHeartBeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxnHeartBeatResponse) ProtoMessage ¶
func (*TxnHeartBeatResponse) ProtoMessage()
func (*TxnHeartBeatResponse) Reset ¶
func (m *TxnHeartBeatResponse) Reset()
func (*TxnHeartBeatResponse) Size ¶
func (m *TxnHeartBeatResponse) Size() (n int)
func (*TxnHeartBeatResponse) String ¶
func (m *TxnHeartBeatResponse) String() string
func (*TxnHeartBeatResponse) Unmarshal ¶
func (m *TxnHeartBeatResponse) Unmarshal(dAtA []byte) error
func (*TxnHeartBeatResponse) XXX_DiscardUnknown ¶
func (m *TxnHeartBeatResponse) XXX_DiscardUnknown()
func (*TxnHeartBeatResponse) XXX_Marshal ¶
func (m *TxnHeartBeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxnHeartBeatResponse) XXX_Merge ¶
func (m *TxnHeartBeatResponse) XXX_Merge(src proto.Message)
func (*TxnHeartBeatResponse) XXX_Size ¶
func (m *TxnHeartBeatResponse) XXX_Size() int
func (*TxnHeartBeatResponse) XXX_Unmarshal ¶
func (m *TxnHeartBeatResponse) XXX_Unmarshal(b []byte) error
type TxnInfo ¶
type TxnInfo struct { Txn uint64 `protobuf:"varint,1,opt,name=txn,proto3" json:"txn,omitempty"` Status uint64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxnInfo) Descriptor ¶
func (*TxnInfo) MarshalToSizedBuffer ¶
func (*TxnInfo) ProtoMessage ¶
func (*TxnInfo) ProtoMessage()
func (*TxnInfo) XXX_DiscardUnknown ¶
func (m *TxnInfo) XXX_DiscardUnknown()
func (*TxnInfo) XXX_Marshal ¶
func (*TxnInfo) XXX_Unmarshal ¶
type TxnNotFound ¶
type TxnNotFound struct { StartTs uint64 `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` PrimaryKey []byte `protobuf:"bytes,2,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxnNotFound) Descriptor ¶
func (*TxnNotFound) Descriptor() ([]byte, []int)
func (*TxnNotFound) GetPrimaryKey ¶
func (m *TxnNotFound) GetPrimaryKey() []byte
func (*TxnNotFound) GetStartTs ¶
func (m *TxnNotFound) GetStartTs() uint64
func (*TxnNotFound) Marshal ¶
func (m *TxnNotFound) Marshal() (dAtA []byte, err error)
func (*TxnNotFound) MarshalToSizedBuffer ¶
func (m *TxnNotFound) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxnNotFound) ProtoMessage ¶
func (*TxnNotFound) ProtoMessage()
func (*TxnNotFound) Reset ¶
func (m *TxnNotFound) Reset()
func (*TxnNotFound) Size ¶
func (m *TxnNotFound) Size() (n int)
func (*TxnNotFound) String ¶
func (m *TxnNotFound) String() string
func (*TxnNotFound) Unmarshal ¶
func (m *TxnNotFound) Unmarshal(dAtA []byte) error
func (*TxnNotFound) XXX_DiscardUnknown ¶
func (m *TxnNotFound) XXX_DiscardUnknown()
func (*TxnNotFound) XXX_Marshal ¶
func (m *TxnNotFound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxnNotFound) XXX_Merge ¶
func (m *TxnNotFound) XXX_Merge(src proto.Message)
func (*TxnNotFound) XXX_Size ¶
func (m *TxnNotFound) XXX_Size() int
func (*TxnNotFound) XXX_Unmarshal ¶
func (m *TxnNotFound) XXX_Unmarshal(b []byte) error
type UnsafeDestroyRangeRequest ¶
type UnsafeDestroyRangeRequest struct { Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnsafeDestroyRangeRequest) Descriptor ¶
func (*UnsafeDestroyRangeRequest) Descriptor() ([]byte, []int)
func (*UnsafeDestroyRangeRequest) GetContext ¶
func (m *UnsafeDestroyRangeRequest) GetContext() *Context
func (*UnsafeDestroyRangeRequest) GetEndKey ¶
func (m *UnsafeDestroyRangeRequest) GetEndKey() []byte
func (*UnsafeDestroyRangeRequest) GetStartKey ¶
func (m *UnsafeDestroyRangeRequest) GetStartKey() []byte
func (*UnsafeDestroyRangeRequest) Marshal ¶
func (m *UnsafeDestroyRangeRequest) Marshal() (dAtA []byte, err error)
func (*UnsafeDestroyRangeRequest) MarshalTo ¶
func (m *UnsafeDestroyRangeRequest) MarshalTo(dAtA []byte) (int, error)
func (*UnsafeDestroyRangeRequest) MarshalToSizedBuffer ¶
func (m *UnsafeDestroyRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnsafeDestroyRangeRequest) ProtoMessage ¶
func (*UnsafeDestroyRangeRequest) ProtoMessage()
func (*UnsafeDestroyRangeRequest) Reset ¶
func (m *UnsafeDestroyRangeRequest) Reset()
func (*UnsafeDestroyRangeRequest) Size ¶
func (m *UnsafeDestroyRangeRequest) Size() (n int)
func (*UnsafeDestroyRangeRequest) String ¶
func (m *UnsafeDestroyRangeRequest) String() string
func (*UnsafeDestroyRangeRequest) Unmarshal ¶
func (m *UnsafeDestroyRangeRequest) Unmarshal(dAtA []byte) error
func (*UnsafeDestroyRangeRequest) XXX_DiscardUnknown ¶
func (m *UnsafeDestroyRangeRequest) XXX_DiscardUnknown()
func (*UnsafeDestroyRangeRequest) XXX_Marshal ¶
func (m *UnsafeDestroyRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnsafeDestroyRangeRequest) XXX_Merge ¶
func (m *UnsafeDestroyRangeRequest) XXX_Merge(src proto.Message)
func (*UnsafeDestroyRangeRequest) XXX_Size ¶
func (m *UnsafeDestroyRangeRequest) XXX_Size() int
func (*UnsafeDestroyRangeRequest) XXX_Unmarshal ¶
func (m *UnsafeDestroyRangeRequest) XXX_Unmarshal(b []byte) error
type UnsafeDestroyRangeResponse ¶
type UnsafeDestroyRangeResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnsafeDestroyRangeResponse) Descriptor ¶
func (*UnsafeDestroyRangeResponse) Descriptor() ([]byte, []int)
func (*UnsafeDestroyRangeResponse) GetError ¶
func (m *UnsafeDestroyRangeResponse) GetError() string
func (*UnsafeDestroyRangeResponse) GetRegionError ¶
func (m *UnsafeDestroyRangeResponse) GetRegionError() *errorpb.Error
func (*UnsafeDestroyRangeResponse) Marshal ¶
func (m *UnsafeDestroyRangeResponse) Marshal() (dAtA []byte, err error)
func (*UnsafeDestroyRangeResponse) MarshalTo ¶
func (m *UnsafeDestroyRangeResponse) MarshalTo(dAtA []byte) (int, error)
func (*UnsafeDestroyRangeResponse) MarshalToSizedBuffer ¶
func (m *UnsafeDestroyRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnsafeDestroyRangeResponse) ProtoMessage ¶
func (*UnsafeDestroyRangeResponse) ProtoMessage()
func (*UnsafeDestroyRangeResponse) Reset ¶
func (m *UnsafeDestroyRangeResponse) Reset()
func (*UnsafeDestroyRangeResponse) Size ¶
func (m *UnsafeDestroyRangeResponse) Size() (n int)
func (*UnsafeDestroyRangeResponse) String ¶
func (m *UnsafeDestroyRangeResponse) String() string
func (*UnsafeDestroyRangeResponse) Unmarshal ¶
func (m *UnsafeDestroyRangeResponse) Unmarshal(dAtA []byte) error
func (*UnsafeDestroyRangeResponse) XXX_DiscardUnknown ¶
func (m *UnsafeDestroyRangeResponse) XXX_DiscardUnknown()
func (*UnsafeDestroyRangeResponse) XXX_Marshal ¶
func (m *UnsafeDestroyRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnsafeDestroyRangeResponse) XXX_Merge ¶
func (m *UnsafeDestroyRangeResponse) XXX_Merge(src proto.Message)
func (*UnsafeDestroyRangeResponse) XXX_Size ¶
func (m *UnsafeDestroyRangeResponse) XXX_Size() int
func (*UnsafeDestroyRangeResponse) XXX_Unmarshal ¶
func (m *UnsafeDestroyRangeResponse) XXX_Unmarshal(b []byte) error
type WriteConflict ¶
type WriteConflict struct { StartTs uint64 `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` ConflictTs uint64 `protobuf:"varint,2,opt,name=conflict_ts,json=conflictTs,proto3" json:"conflict_ts,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Primary []byte `protobuf:"bytes,4,opt,name=primary,proto3" json:"primary,omitempty"` ConflictCommitTs uint64 `protobuf:"varint,5,opt,name=conflict_commit_ts,json=conflictCommitTs,proto3" json:"conflict_commit_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WriteConflict) Descriptor ¶
func (*WriteConflict) Descriptor() ([]byte, []int)
func (*WriteConflict) GetConflictCommitTs ¶
func (m *WriteConflict) GetConflictCommitTs() uint64
func (*WriteConflict) GetConflictTs ¶
func (m *WriteConflict) GetConflictTs() uint64
func (*WriteConflict) GetKey ¶
func (m *WriteConflict) GetKey() []byte
func (*WriteConflict) GetPrimary ¶
func (m *WriteConflict) GetPrimary() []byte
func (*WriteConflict) GetStartTs ¶
func (m *WriteConflict) GetStartTs() uint64
func (*WriteConflict) Marshal ¶
func (m *WriteConflict) Marshal() (dAtA []byte, err error)
func (*WriteConflict) MarshalToSizedBuffer ¶
func (m *WriteConflict) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WriteConflict) ProtoMessage ¶
func (*WriteConflict) ProtoMessage()
func (*WriteConflict) Reset ¶
func (m *WriteConflict) Reset()
func (*WriteConflict) Size ¶
func (m *WriteConflict) Size() (n int)
func (*WriteConflict) String ¶
func (m *WriteConflict) String() string
func (*WriteConflict) Unmarshal ¶
func (m *WriteConflict) Unmarshal(dAtA []byte) error
func (*WriteConflict) XXX_DiscardUnknown ¶
func (m *WriteConflict) XXX_DiscardUnknown()
func (*WriteConflict) XXX_Marshal ¶
func (m *WriteConflict) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteConflict) XXX_Merge ¶
func (m *WriteConflict) XXX_Merge(src proto.Message)
func (*WriteConflict) XXX_Size ¶
func (m *WriteConflict) XXX_Size() int
func (*WriteConflict) XXX_Unmarshal ¶
func (m *WriteConflict) XXX_Unmarshal(b []byte) error
type WriteDetail ¶
type WriteDetail struct { // Wait duration in the store loop. StoreBatchWaitNanos uint64 `protobuf:"varint,1,opt,name=store_batch_wait_nanos,json=storeBatchWaitNanos,proto3" json:"store_batch_wait_nanos,omitempty"` // Wait duration before sending proposal to peers. ProposeSendWaitNanos uint64 `` /* 126-byte string literal not displayed */ // Total time spent on persisting the log. PersistLogNanos uint64 `protobuf:"varint,3,opt,name=persist_log_nanos,json=persistLogNanos,proto3" json:"persist_log_nanos,omitempty"` // Wait time until the Raft log write leader begins to write. RaftDbWriteLeaderWaitNanos uint64 `` /* 148-byte string literal not displayed */ // Time spent on synchronizing the Raft log to the disk. RaftDbSyncLogNanos uint64 `protobuf:"varint,5,opt,name=raft_db_sync_log_nanos,json=raftDbSyncLogNanos,proto3" json:"raft_db_sync_log_nanos,omitempty"` // Time spent on writing the Raft log to the Raft memtable. RaftDbWriteMemtableNanos uint64 `` /* 140-byte string literal not displayed */ // Time waiting for peers to confirm the proposal (counting from the instant when the leader sends the proposal message). CommitLogNanos uint64 `protobuf:"varint,7,opt,name=commit_log_nanos,json=commitLogNanos,proto3" json:"commit_log_nanos,omitempty"` // Wait duration in the apply loop. ApplyBatchWaitNanos uint64 `protobuf:"varint,8,opt,name=apply_batch_wait_nanos,json=applyBatchWaitNanos,proto3" json:"apply_batch_wait_nanos,omitempty"` // Total time spend to applying the log. ApplyLogNanos uint64 `protobuf:"varint,9,opt,name=apply_log_nanos,json=applyLogNanos,proto3" json:"apply_log_nanos,omitempty"` // Wait time until the KV RocksDB lock is acquired. ApplyMutexLockNanos uint64 `protobuf:"varint,10,opt,name=apply_mutex_lock_nanos,json=applyMutexLockNanos,proto3" json:"apply_mutex_lock_nanos,omitempty"` // Wait time until becoming the KV RocksDB write leader. ApplyWriteLeaderWaitNanos uint64 `` /* 144-byte string literal not displayed */ // Time spent on writing the KV DB WAL to the disk. ApplyWriteWalNanos uint64 `protobuf:"varint,12,opt,name=apply_write_wal_nanos,json=applyWriteWalNanos,proto3" json:"apply_write_wal_nanos,omitempty"` // Time spent on writing to the memtable of the KV RocksDB. ApplyWriteMemtableNanos uint64 `` /* 136-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WriteDetail) Descriptor ¶
func (*WriteDetail) Descriptor() ([]byte, []int)
func (*WriteDetail) GetApplyBatchWaitNanos ¶
func (m *WriteDetail) GetApplyBatchWaitNanos() uint64
func (*WriteDetail) GetApplyLogNanos ¶
func (m *WriteDetail) GetApplyLogNanos() uint64
func (*WriteDetail) GetApplyMutexLockNanos ¶
func (m *WriteDetail) GetApplyMutexLockNanos() uint64
func (*WriteDetail) GetApplyWriteLeaderWaitNanos ¶
func (m *WriteDetail) GetApplyWriteLeaderWaitNanos() uint64
func (*WriteDetail) GetApplyWriteMemtableNanos ¶
func (m *WriteDetail) GetApplyWriteMemtableNanos() uint64
func (*WriteDetail) GetApplyWriteWalNanos ¶
func (m *WriteDetail) GetApplyWriteWalNanos() uint64
func (*WriteDetail) GetCommitLogNanos ¶
func (m *WriteDetail) GetCommitLogNanos() uint64
func (*WriteDetail) GetPersistLogNanos ¶
func (m *WriteDetail) GetPersistLogNanos() uint64
func (*WriteDetail) GetProposeSendWaitNanos ¶
func (m *WriteDetail) GetProposeSendWaitNanos() uint64
func (*WriteDetail) GetRaftDbSyncLogNanos ¶
func (m *WriteDetail) GetRaftDbSyncLogNanos() uint64
func (*WriteDetail) GetRaftDbWriteLeaderWaitNanos ¶
func (m *WriteDetail) GetRaftDbWriteLeaderWaitNanos() uint64
func (*WriteDetail) GetRaftDbWriteMemtableNanos ¶
func (m *WriteDetail) GetRaftDbWriteMemtableNanos() uint64
func (*WriteDetail) GetStoreBatchWaitNanos ¶
func (m *WriteDetail) GetStoreBatchWaitNanos() uint64
func (*WriteDetail) Marshal ¶
func (m *WriteDetail) Marshal() (dAtA []byte, err error)
func (*WriteDetail) MarshalToSizedBuffer ¶
func (m *WriteDetail) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WriteDetail) ProtoMessage ¶
func (*WriteDetail) ProtoMessage()
func (*WriteDetail) Reset ¶
func (m *WriteDetail) Reset()
func (*WriteDetail) Size ¶
func (m *WriteDetail) Size() (n int)
func (*WriteDetail) String ¶
func (m *WriteDetail) String() string
func (*WriteDetail) Unmarshal ¶
func (m *WriteDetail) Unmarshal(dAtA []byte) error
func (*WriteDetail) XXX_DiscardUnknown ¶
func (m *WriteDetail) XXX_DiscardUnknown()
func (*WriteDetail) XXX_Marshal ¶
func (m *WriteDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteDetail) XXX_Merge ¶
func (m *WriteDetail) XXX_Merge(src proto.Message)
func (*WriteDetail) XXX_Size ¶
func (m *WriteDetail) XXX_Size() int
func (*WriteDetail) XXX_Unmarshal ¶
func (m *WriteDetail) XXX_Unmarshal(b []byte) error