dspb

package
v0.0.0-...-e215c4f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAdmin        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAdmin          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAdmin = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthApi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthError        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowError          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupError = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthExpr        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExpr          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupExpr = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthKv        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKv          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKv = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProcessorpb        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProcessorpb          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProcessorpb = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRaftInternal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRaftInternal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRaftInternal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSchedule        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSchedule          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSchedule = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTxn        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTxn          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTxn = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AdminAuth_AuthMethod_name = map[int32]string{
	0: "MD5_DIGEST",
}
View Source
var AdminAuth_AuthMethod_value = map[string]int32{
	"MD5_DIGEST": 0,
}
View Source
var CFType_name = map[int32]string{
	0: "CF_DEFAULT",
	1: "CF_TXN",
}
View Source
var CFType_value = map[string]int32{
	"CF_DEFAULT": 0,
	"CF_TXN":     1,
}
View Source
var ChangeRaftMemberRequest_ChangeType_name = map[int32]string{
	0: "CT_INVALID",
	1: "CT_ADD",
	2: "CT_REMOVE",
}
View Source
var ChangeRaftMemberRequest_ChangeType_value = map[string]int32{
	"CT_INVALID": 0,
	"CT_ADD":     1,
	"CT_REMOVE":  2,
}
View Source
var ClearQueueRequest_QueueType_name = map[int32]string{
	0: "ALL",
	1: "FAST_WORKER",
	2: "SLOW_WORKER",
}
View Source
var ClearQueueRequest_QueueType_value = map[string]int32{
	"ALL":         0,
	"FAST_WORKER": 1,
	"SLOW_WORKER": 2,
}
View Source
var CmdType_name = map[int32]string{
	0:   "Invalid_Cmd",
	1:   "TxnPrepare",
	2:   "TxnDecide",
	3:   "TxnClearup",
	4:   "TxnSelect",
	5:   "TxnScan",
	6:   "TxnSelectFlow",
	20:  "KvGet",
	21:  "KvPut",
	22:  "KvDelete",
	100: "AdminSplit",
}
View Source
var CmdType_value = map[string]int32{
	"Invalid_Cmd":   0,
	"TxnPrepare":    1,
	"TxnDecide":     2,
	"TxnClearup":    3,
	"TxnSelect":     4,
	"TxnScan":       5,
	"TxnSelectFlow": 6,
	"KvGet":         20,
	"KvPut":         21,
	"KvDelete":      22,
	"AdminSplit":    100,
}
View Source
var DataSample_SampleMethod_name = map[int32]string{
	0: "RESERVIOR_SAMPLING",
}
View Source
var DataSample_SampleMethod_value = map[string]int32{
	"RESERVIOR_SAMPLING": 0,
}
View Source
var ExprType_name = map[int32]string{}/* 324 elements not displayed */
View Source
var ExprType_value = map[string]int32{}/* 324 elements not displayed */
View Source
var FunctionID_name = map[int32]string{
	0: "kFuncHeartbeat",
	1: "kFuncRangeRequest",
	2: "kFuncSchedule",
	3: "kFuncAdmin",
}
View Source
var FunctionID_value = map[string]int32{
	"kFuncHeartbeat":    0,
	"kFuncRangeRequest": 1,
	"kFuncSchedule":     2,
	"kFuncAdmin":        3,
}
View Source
var GetPendingsRequest_PendingType_name = map[int32]string{
	0: "ALL",
	1: "INSERT",
	2: "SELECT",
	3: "PONIT_SELECT",
	4: "RANGE_SELECT",
}
View Source
var GetPendingsRequest_PendingType_value = map[string]int32{
	"ALL":          0,
	"INSERT":       1,
	"SELECT":       2,
	"PONIT_SELECT": 3,
	"RANGE_SELECT": 4,
}
View Source
var KeyType_name = map[int32]string{
	0: "DEFAULT_RANGE_TYPE",
	1: "PRIMARY_KEY_TYPE",
	2: "KEYS_RANGE_TYPE",
}
View Source
var KeyType_value = map[string]int32{
	"DEFAULT_RANGE_TYPE": 0,
	"PRIMARY_KEY_TYPE":   1,
	"KEYS_RANGE_TYPE":    2,
}
View Source
var OpType_name = map[int32]string{
	0: "INSERT",
	1: "DELETE",
}
View Source
var OpType_value = map[string]int32{
	"INSERT": 0,
	"DELETE": 1,
}
View Source
var ProcessorType_name = map[int32]string{
	0: "TABLE_READ_TYPE",
	1: "INDEX_READ_TYPE",
	2: "SELECTION_TYPE",
	3: "PROJECTION_TYPE",
	4: "AGGREGATION_TYPE",
	5: "STREAM_AGGREGATION_TYPE",
	6: "ORDER_BY_TYPE",
	7: "LIMIT_TYPE",
	8: "DATA_SAMPLE_TYPE",
}
View Source
var ProcessorType_value = map[string]int32{
	"TABLE_READ_TYPE":         0,
	"INDEX_READ_TYPE":         1,
	"SELECTION_TYPE":          2,
	"PROJECTION_TYPE":         3,
	"AGGREGATION_TYPE":        4,
	"STREAM_AGGREGATION_TYPE": 5,
	"ORDER_BY_TYPE":           6,
	"LIMIT_TYPE":              7,
	"DATA_SAMPLE_TYPE":        8,
}
View Source
var ProfileRequest_ProfileOp_name = map[int32]string{
	0: "PROFILE_START",
	1: "PROFILE_STOP",
}
View Source
var ProfileRequest_ProfileOp_value = map[string]int32{
	"PROFILE_START": 0,
	"PROFILE_STOP":  1,
}
View Source
var ProfileRequest_ProfileType_name = map[int32]string{
	0: "CPU",
	1: "HEAP",
	2: "ROCKSDB",
}
View Source
var ProfileRequest_ProfileType_value = map[string]int32{
	"CPU":     0,
	"HEAP":    1,
	"ROCKSDB": 2,
}
View Source
var SelectField_Type_name = map[int32]string{
	0: "Column",
	1: "AggreFunction",
}
View Source
var SelectField_Type_value = map[string]int32{
	"Column":        0,
	"AggreFunction": 1,
}
View Source
var TxnError_ErrType_name = map[int32]string{
	0: "UNKNOWN",
	1: "SERVER_ERROR",
	2: "LOCKED",
	3: "UNEXPECTED_VER",
	4: "STATUS_CONFLICT",
	5: "NOT_FOUND",
	6: "NOT_UNIQUE",
	7: "TXN_CONFLICT",
}
View Source
var TxnError_ErrType_value = map[string]int32{
	"UNKNOWN":         0,
	"SERVER_ERROR":    1,
	"LOCKED":          2,
	"UNEXPECTED_VER":  3,
	"STATUS_CONFLICT": 4,
	"NOT_FOUND":       5,
	"NOT_UNIQUE":      6,
	"TXN_CONFLICT":    7,
}
View Source
var TxnStatus_name = map[int32]string{
	0: "TXN_INIT",
	1: "COMMITTED",
	2: "ABORTED",
}
View Source
var TxnStatus_value = map[string]int32{
	"TXN_INIT":  0,
	"COMMITTED": 1,
	"ABORTED":   2,
}

Functions

This section is empty.

Types

type AdminAuth

type AdminAuth struct {
	Method               AdminAuth_AuthMethod `protobuf:"varint,1,opt,name=method,proto3,enum=dspb.AdminAuth_AuthMethod" json:"method,omitempty"`
	Epoch                int64                `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Sign                 string               `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*AdminAuth) Descriptor

func (*AdminAuth) Descriptor() ([]byte, []int)

func (*AdminAuth) GetEpoch

func (m *AdminAuth) GetEpoch() int64

func (*AdminAuth) GetMethod

func (m *AdminAuth) GetMethod() AdminAuth_AuthMethod

func (*AdminAuth) GetSign

func (m *AdminAuth) GetSign() string

func (*AdminAuth) Marshal

func (m *AdminAuth) Marshal() (dAtA []byte, err error)

func (*AdminAuth) MarshalTo

func (m *AdminAuth) MarshalTo(dAtA []byte) (int, error)

func (*AdminAuth) MarshalToSizedBuffer

func (m *AdminAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminAuth) ProtoMessage

func (*AdminAuth) ProtoMessage()

func (*AdminAuth) Reset

func (m *AdminAuth) Reset()

func (*AdminAuth) Size

func (m *AdminAuth) Size() (n int)

func (*AdminAuth) String

func (m *AdminAuth) String() string

func (*AdminAuth) Unmarshal

func (m *AdminAuth) Unmarshal(dAtA []byte) error

func (*AdminAuth) XXX_DiscardUnknown

func (m *AdminAuth) XXX_DiscardUnknown()

func (*AdminAuth) XXX_Marshal

func (m *AdminAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AdminAuth) XXX_Merge

func (m *AdminAuth) XXX_Merge(src proto.Message)

func (*AdminAuth) XXX_Size

func (m *AdminAuth) XXX_Size() int

func (*AdminAuth) XXX_Unmarshal

func (m *AdminAuth) XXX_Unmarshal(b []byte) error

type AdminAuth_AuthMethod

type AdminAuth_AuthMethod int32
const (
	AdminAuth_MD5_DIGEST AdminAuth_AuthMethod = 0
)

func (AdminAuth_AuthMethod) EnumDescriptor

func (AdminAuth_AuthMethod) EnumDescriptor() ([]byte, []int)

func (AdminAuth_AuthMethod) String

func (x AdminAuth_AuthMethod) String() string

type AdminRequest

type AdminRequest struct {
	Auth *AdminAuth `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	// Types that are valid to be assigned to Req:
	//	*AdminRequest_SetCfg
	//	*AdminRequest_GetCfg
	//	*AdminRequest_GetInfo
	//	*AdminRequest_ForceSplit
	//	*AdminRequest_Compaction
	//	*AdminRequest_ClearQueue
	//	*AdminRequest_GetPendings
	//	*AdminRequest_FlushDb
	//	*AdminRequest_Profile
	Req                  isAdminRequest_Req `protobuf_oneof:"req"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*AdminRequest) Descriptor

func (*AdminRequest) Descriptor() ([]byte, []int)

func (*AdminRequest) GetAuth

func (m *AdminRequest) GetAuth() *AdminAuth

func (*AdminRequest) GetClearQueue

func (m *AdminRequest) GetClearQueue() *ClearQueueRequest

func (*AdminRequest) GetCompaction

func (m *AdminRequest) GetCompaction() *CompactionRequest

func (*AdminRequest) GetFlushDb

func (m *AdminRequest) GetFlushDb() *FlushDBRequest

func (*AdminRequest) GetForceSplit

func (m *AdminRequest) GetForceSplit() *ForceSplitRequest

func (*AdminRequest) GetGetCfg

func (m *AdminRequest) GetGetCfg() *GetConfigRequest

func (*AdminRequest) GetGetInfo

func (m *AdminRequest) GetGetInfo() *GetInfoRequest

func (*AdminRequest) GetGetPendings

func (m *AdminRequest) GetGetPendings() *GetPendingsRequest

func (*AdminRequest) GetProfile

func (m *AdminRequest) GetProfile() *ProfileRequest

func (*AdminRequest) GetReq

func (m *AdminRequest) GetReq() isAdminRequest_Req

func (*AdminRequest) GetSetCfg

func (m *AdminRequest) GetSetCfg() *SetConfigRequest

func (*AdminRequest) Marshal

func (m *AdminRequest) Marshal() (dAtA []byte, err error)

func (*AdminRequest) MarshalTo

func (m *AdminRequest) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest) MarshalToSizedBuffer

func (m *AdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest) ProtoMessage

func (*AdminRequest) ProtoMessage()

func (*AdminRequest) Reset

func (m *AdminRequest) Reset()

func (*AdminRequest) Size

func (m *AdminRequest) Size() (n int)

func (*AdminRequest) String

func (m *AdminRequest) String() string

func (*AdminRequest) Unmarshal

func (m *AdminRequest) Unmarshal(dAtA []byte) error

func (*AdminRequest) XXX_DiscardUnknown

func (m *AdminRequest) XXX_DiscardUnknown()

func (*AdminRequest) XXX_Marshal

func (m *AdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AdminRequest) XXX_Merge

func (m *AdminRequest) XXX_Merge(src proto.Message)

func (*AdminRequest) XXX_OneofWrappers

func (*AdminRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AdminRequest) XXX_Size

func (m *AdminRequest) XXX_Size() int

func (*AdminRequest) XXX_Unmarshal

func (m *AdminRequest) XXX_Unmarshal(b []byte) error

type AdminRequest_ClearQueue

type AdminRequest_ClearQueue struct {
	ClearQueue *ClearQueueRequest `protobuf:"bytes,15,opt,name=clear_queue,json=clearQueue,proto3,oneof" json:"clear_queue,omitempty"`
}

func (*AdminRequest_ClearQueue) MarshalTo

func (m *AdminRequest_ClearQueue) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_ClearQueue) MarshalToSizedBuffer

func (m *AdminRequest_ClearQueue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_ClearQueue) Size

func (m *AdminRequest_ClearQueue) Size() (n int)

type AdminRequest_Compaction

type AdminRequest_Compaction struct {
	Compaction *CompactionRequest `protobuf:"bytes,14,opt,name=compaction,proto3,oneof" json:"compaction,omitempty"`
}

func (*AdminRequest_Compaction) MarshalTo

func (m *AdminRequest_Compaction) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_Compaction) MarshalToSizedBuffer

func (m *AdminRequest_Compaction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_Compaction) Size

func (m *AdminRequest_Compaction) Size() (n int)

type AdminRequest_FlushDb

type AdminRequest_FlushDb struct {
	FlushDb *FlushDBRequest `protobuf:"bytes,17,opt,name=flush_db,json=flushDb,proto3,oneof" json:"flush_db,omitempty"`
}

func (*AdminRequest_FlushDb) MarshalTo

func (m *AdminRequest_FlushDb) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_FlushDb) MarshalToSizedBuffer

func (m *AdminRequest_FlushDb) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_FlushDb) Size

func (m *AdminRequest_FlushDb) Size() (n int)

type AdminRequest_ForceSplit

type AdminRequest_ForceSplit struct {
	ForceSplit *ForceSplitRequest `protobuf:"bytes,13,opt,name=force_split,json=forceSplit,proto3,oneof" json:"force_split,omitempty"`
}

func (*AdminRequest_ForceSplit) MarshalTo

func (m *AdminRequest_ForceSplit) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_ForceSplit) MarshalToSizedBuffer

func (m *AdminRequest_ForceSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_ForceSplit) Size

func (m *AdminRequest_ForceSplit) Size() (n int)

type AdminRequest_GetCfg

type AdminRequest_GetCfg struct {
	GetCfg *GetConfigRequest `protobuf:"bytes,11,opt,name=get_cfg,json=getCfg,proto3,oneof" json:"get_cfg,omitempty"`
}

func (*AdminRequest_GetCfg) MarshalTo

func (m *AdminRequest_GetCfg) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_GetCfg) MarshalToSizedBuffer

func (m *AdminRequest_GetCfg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_GetCfg) Size

func (m *AdminRequest_GetCfg) Size() (n int)

type AdminRequest_GetInfo

type AdminRequest_GetInfo struct {
	GetInfo *GetInfoRequest `protobuf:"bytes,12,opt,name=get_info,json=getInfo,proto3,oneof" json:"get_info,omitempty"`
}

func (*AdminRequest_GetInfo) MarshalTo

func (m *AdminRequest_GetInfo) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_GetInfo) MarshalToSizedBuffer

func (m *AdminRequest_GetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_GetInfo) Size

func (m *AdminRequest_GetInfo) Size() (n int)

type AdminRequest_GetPendings

type AdminRequest_GetPendings struct {
	GetPendings *GetPendingsRequest `protobuf:"bytes,16,opt,name=get_pendings,json=getPendings,proto3,oneof" json:"get_pendings,omitempty"`
}

func (*AdminRequest_GetPendings) MarshalTo

func (m *AdminRequest_GetPendings) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_GetPendings) MarshalToSizedBuffer

func (m *AdminRequest_GetPendings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_GetPendings) Size

func (m *AdminRequest_GetPendings) Size() (n int)

type AdminRequest_Profile

type AdminRequest_Profile struct {
	Profile *ProfileRequest `protobuf:"bytes,18,opt,name=profile,proto3,oneof" json:"profile,omitempty"`
}

func (*AdminRequest_Profile) MarshalTo

func (m *AdminRequest_Profile) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_Profile) MarshalToSizedBuffer

func (m *AdminRequest_Profile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_Profile) Size

func (m *AdminRequest_Profile) Size() (n int)

type AdminRequest_SetCfg

type AdminRequest_SetCfg struct {
	SetCfg *SetConfigRequest `protobuf:"bytes,10,opt,name=set_cfg,json=setCfg,proto3,oneof" json:"set_cfg,omitempty"`
}

func (*AdminRequest_SetCfg) MarshalTo

func (m *AdminRequest_SetCfg) MarshalTo(dAtA []byte) (int, error)

func (*AdminRequest_SetCfg) MarshalToSizedBuffer

func (m *AdminRequest_SetCfg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminRequest_SetCfg) Size

func (m *AdminRequest_SetCfg) Size() (n int)

type AdminResponse

type AdminResponse struct {
	Code     uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
	// Types that are valid to be assigned to Resp:
	//	*AdminResponse_SetCfg
	//	*AdminResponse_GetCfg
	//	*AdminResponse_GetInfo
	//	*AdminResponse_ForceSplit
	//	*AdminResponse_Compaction
	//	*AdminResponse_ClearQueue
	//	*AdminResponse_GetPendings
	//	*AdminResponse_FlushDb
	//	*AdminResponse_Profile
	Resp                 isAdminResponse_Resp `protobuf_oneof:"resp"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*AdminResponse) Descriptor

func (*AdminResponse) Descriptor() ([]byte, []int)

func (*AdminResponse) GetClearQueue

func (m *AdminResponse) GetClearQueue() *ClearQueueResponse

func (*AdminResponse) GetCode

func (m *AdminResponse) GetCode() uint32

func (*AdminResponse) GetCompaction

func (m *AdminResponse) GetCompaction() *CompactionResponse

func (*AdminResponse) GetErrorMsg

func (m *AdminResponse) GetErrorMsg() string

func (*AdminResponse) GetFlushDb

func (m *AdminResponse) GetFlushDb() *FlushDBResponse

func (*AdminResponse) GetForceSplit

func (m *AdminResponse) GetForceSplit() *ForceSplitResponse

func (*AdminResponse) GetGetCfg

func (m *AdminResponse) GetGetCfg() *GetConfigResponse

func (*AdminResponse) GetGetInfo

func (m *AdminResponse) GetGetInfo() *GetInfoResponse

func (*AdminResponse) GetGetPendings

func (m *AdminResponse) GetGetPendings() *GetPendingsResponse

func (*AdminResponse) GetProfile

func (m *AdminResponse) GetProfile() *ProfileResponse

func (*AdminResponse) GetResp

func (m *AdminResponse) GetResp() isAdminResponse_Resp

func (*AdminResponse) GetSetCfg

func (m *AdminResponse) GetSetCfg() *SetConfigResponse

func (*AdminResponse) Marshal

func (m *AdminResponse) Marshal() (dAtA []byte, err error)

func (*AdminResponse) MarshalTo

func (m *AdminResponse) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse) MarshalToSizedBuffer

func (m *AdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse) ProtoMessage

func (*AdminResponse) ProtoMessage()

func (*AdminResponse) Reset

func (m *AdminResponse) Reset()

func (*AdminResponse) Size

func (m *AdminResponse) Size() (n int)

func (*AdminResponse) String

func (m *AdminResponse) String() string

func (*AdminResponse) Unmarshal

func (m *AdminResponse) Unmarshal(dAtA []byte) error

func (*AdminResponse) XXX_DiscardUnknown

func (m *AdminResponse) XXX_DiscardUnknown()

func (*AdminResponse) XXX_Marshal

func (m *AdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AdminResponse) XXX_Merge

func (m *AdminResponse) XXX_Merge(src proto.Message)

func (*AdminResponse) XXX_OneofWrappers

func (*AdminResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AdminResponse) XXX_Size

func (m *AdminResponse) XXX_Size() int

func (*AdminResponse) XXX_Unmarshal

func (m *AdminResponse) XXX_Unmarshal(b []byte) error

type AdminResponse_ClearQueue

type AdminResponse_ClearQueue struct {
	ClearQueue *ClearQueueResponse `protobuf:"bytes,15,opt,name=clear_queue,json=clearQueue,proto3,oneof" json:"clear_queue,omitempty"`
}

func (*AdminResponse_ClearQueue) MarshalTo

func (m *AdminResponse_ClearQueue) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_ClearQueue) MarshalToSizedBuffer

func (m *AdminResponse_ClearQueue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_ClearQueue) Size

func (m *AdminResponse_ClearQueue) Size() (n int)

type AdminResponse_Compaction

type AdminResponse_Compaction struct {
	Compaction *CompactionResponse `protobuf:"bytes,14,opt,name=compaction,proto3,oneof" json:"compaction,omitempty"`
}

func (*AdminResponse_Compaction) MarshalTo

func (m *AdminResponse_Compaction) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_Compaction) MarshalToSizedBuffer

func (m *AdminResponse_Compaction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_Compaction) Size

func (m *AdminResponse_Compaction) Size() (n int)

type AdminResponse_FlushDb

type AdminResponse_FlushDb struct {
	FlushDb *FlushDBResponse `protobuf:"bytes,17,opt,name=flush_db,json=flushDb,proto3,oneof" json:"flush_db,omitempty"`
}

func (*AdminResponse_FlushDb) MarshalTo

func (m *AdminResponse_FlushDb) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_FlushDb) MarshalToSizedBuffer

func (m *AdminResponse_FlushDb) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_FlushDb) Size

func (m *AdminResponse_FlushDb) Size() (n int)

type AdminResponse_ForceSplit

type AdminResponse_ForceSplit struct {
	ForceSplit *ForceSplitResponse `protobuf:"bytes,13,opt,name=force_split,json=forceSplit,proto3,oneof" json:"force_split,omitempty"`
}

func (*AdminResponse_ForceSplit) MarshalTo

func (m *AdminResponse_ForceSplit) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_ForceSplit) MarshalToSizedBuffer

func (m *AdminResponse_ForceSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_ForceSplit) Size

func (m *AdminResponse_ForceSplit) Size() (n int)

type AdminResponse_GetCfg

type AdminResponse_GetCfg struct {
	GetCfg *GetConfigResponse `protobuf:"bytes,11,opt,name=get_cfg,json=getCfg,proto3,oneof" json:"get_cfg,omitempty"`
}

func (*AdminResponse_GetCfg) MarshalTo

func (m *AdminResponse_GetCfg) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_GetCfg) MarshalToSizedBuffer

func (m *AdminResponse_GetCfg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_GetCfg) Size

func (m *AdminResponse_GetCfg) Size() (n int)

type AdminResponse_GetInfo

type AdminResponse_GetInfo struct {
	GetInfo *GetInfoResponse `protobuf:"bytes,12,opt,name=get_info,json=getInfo,proto3,oneof" json:"get_info,omitempty"`
}

func (*AdminResponse_GetInfo) MarshalTo

func (m *AdminResponse_GetInfo) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_GetInfo) MarshalToSizedBuffer

func (m *AdminResponse_GetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_GetInfo) Size

func (m *AdminResponse_GetInfo) Size() (n int)

type AdminResponse_GetPendings

type AdminResponse_GetPendings struct {
	GetPendings *GetPendingsResponse `protobuf:"bytes,16,opt,name=get_pendings,json=getPendings,proto3,oneof" json:"get_pendings,omitempty"`
}

func (*AdminResponse_GetPendings) MarshalTo

func (m *AdminResponse_GetPendings) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_GetPendings) MarshalToSizedBuffer

func (m *AdminResponse_GetPendings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_GetPendings) Size

func (m *AdminResponse_GetPendings) Size() (n int)

type AdminResponse_Profile

type AdminResponse_Profile struct {
	Profile *ProfileResponse `protobuf:"bytes,18,opt,name=profile,proto3,oneof" json:"profile,omitempty"`
}

func (*AdminResponse_Profile) MarshalTo

func (m *AdminResponse_Profile) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_Profile) MarshalToSizedBuffer

func (m *AdminResponse_Profile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_Profile) Size

func (m *AdminResponse_Profile) Size() (n int)

type AdminResponse_SetCfg

type AdminResponse_SetCfg struct {
	SetCfg *SetConfigResponse `protobuf:"bytes,10,opt,name=set_cfg,json=setCfg,proto3,oneof" json:"set_cfg,omitempty"`
}

func (*AdminResponse_SetCfg) MarshalTo

func (m *AdminResponse_SetCfg) MarshalTo(dAtA []byte) (int, error)

func (*AdminResponse_SetCfg) MarshalToSizedBuffer

func (m *AdminResponse_SetCfg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminResponse_SetCfg) Size

func (m *AdminResponse_SetCfg) Size() (n int)

type Aggregation

type Aggregation struct {
	Func                 []*Expr  `protobuf:"bytes,1,rep,name=func,proto3" json:"func,omitempty"`
	GroupBy              []*Expr  `protobuf:"bytes,2,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Aggregation) Descriptor

func (*Aggregation) Descriptor() ([]byte, []int)

func (*Aggregation) GetFunc

func (m *Aggregation) GetFunc() []*Expr

func (*Aggregation) GetGroupBy

func (m *Aggregation) GetGroupBy() []*Expr

func (*Aggregation) Marshal

func (m *Aggregation) Marshal() (dAtA []byte, err error)

func (*Aggregation) MarshalTo

func (m *Aggregation) MarshalTo(dAtA []byte) (int, error)

func (*Aggregation) MarshalToSizedBuffer

func (m *Aggregation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Aggregation) ProtoMessage

func (*Aggregation) ProtoMessage()

func (*Aggregation) Reset

func (m *Aggregation) Reset()

func (*Aggregation) Size

func (m *Aggregation) Size() (n int)

func (*Aggregation) String

func (m *Aggregation) String() string

func (*Aggregation) Unmarshal

func (m *Aggregation) Unmarshal(dAtA []byte) error

func (*Aggregation) XXX_DiscardUnknown

func (m *Aggregation) XXX_DiscardUnknown()

func (*Aggregation) XXX_Marshal

func (m *Aggregation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Aggregation) XXX_Merge

func (m *Aggregation) XXX_Merge(src proto.Message)

func (*Aggregation) XXX_Size

func (m *Aggregation) XXX_Size() int

func (*Aggregation) XXX_Unmarshal

func (m *Aggregation) XXX_Unmarshal(b []byte) error

type CFType

type CFType int32
const (
	CFType_CF_DEFAULT CFType = 0
	CFType_CF_TXN     CFType = 1
)

func (CFType) EnumDescriptor

func (CFType) EnumDescriptor() ([]byte, []int)

func (CFType) String

func (x CFType) String() string

type ChangeRaftMemberRequest

type ChangeRaftMemberRequest struct {
	RangeId              uint64                             `protobuf:"varint,1,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	RangeEpoch           *basepb.RangeEpoch                 `protobuf:"bytes,2,opt,name=range_epoch,json=rangeEpoch,proto3" json:"range_epoch,omitempty"`
	ChangeType           ChangeRaftMemberRequest_ChangeType `` /* 137-byte string literal not displayed */
	TargetPeer           *basepb.Peer                       `protobuf:"bytes,4,opt,name=target_peer,json=targetPeer,proto3" json:"target_peer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*ChangeRaftMemberRequest) Descriptor

func (*ChangeRaftMemberRequest) Descriptor() ([]byte, []int)

func (*ChangeRaftMemberRequest) GetChangeType

func (*ChangeRaftMemberRequest) GetRangeEpoch

func (m *ChangeRaftMemberRequest) GetRangeEpoch() *basepb.RangeEpoch

func (*ChangeRaftMemberRequest) GetRangeId

func (m *ChangeRaftMemberRequest) GetRangeId() uint64

func (*ChangeRaftMemberRequest) GetTargetPeer

func (m *ChangeRaftMemberRequest) GetTargetPeer() *basepb.Peer

func (*ChangeRaftMemberRequest) Marshal

func (m *ChangeRaftMemberRequest) Marshal() (dAtA []byte, err error)

func (*ChangeRaftMemberRequest) MarshalTo

func (m *ChangeRaftMemberRequest) MarshalTo(dAtA []byte) (int, error)

func (*ChangeRaftMemberRequest) MarshalToSizedBuffer

func (m *ChangeRaftMemberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangeRaftMemberRequest) ProtoMessage

func (*ChangeRaftMemberRequest) ProtoMessage()

func (*ChangeRaftMemberRequest) Reset

func (m *ChangeRaftMemberRequest) Reset()

func (*ChangeRaftMemberRequest) Size

func (m *ChangeRaftMemberRequest) Size() (n int)

func (*ChangeRaftMemberRequest) String

func (m *ChangeRaftMemberRequest) String() string

func (*ChangeRaftMemberRequest) Unmarshal

func (m *ChangeRaftMemberRequest) Unmarshal(dAtA []byte) error

func (*ChangeRaftMemberRequest) XXX_DiscardUnknown

func (m *ChangeRaftMemberRequest) XXX_DiscardUnknown()

func (*ChangeRaftMemberRequest) XXX_Marshal

func (m *ChangeRaftMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangeRaftMemberRequest) XXX_Merge

func (m *ChangeRaftMemberRequest) XXX_Merge(src proto.Message)

func (*ChangeRaftMemberRequest) XXX_Size

func (m *ChangeRaftMemberRequest) XXX_Size() int

func (*ChangeRaftMemberRequest) XXX_Unmarshal

func (m *ChangeRaftMemberRequest) XXX_Unmarshal(b []byte) error

type ChangeRaftMemberRequest_ChangeType

type ChangeRaftMemberRequest_ChangeType int32
const (
	ChangeRaftMemberRequest_CT_INVALID ChangeRaftMemberRequest_ChangeType = 0
	ChangeRaftMemberRequest_CT_ADD     ChangeRaftMemberRequest_ChangeType = 1
	ChangeRaftMemberRequest_CT_REMOVE  ChangeRaftMemberRequest_ChangeType = 2
)

func (ChangeRaftMemberRequest_ChangeType) EnumDescriptor

func (ChangeRaftMemberRequest_ChangeType) EnumDescriptor() ([]byte, []int)

func (ChangeRaftMemberRequest_ChangeType) String

type ChangeRaftMemberResponse

type ChangeRaftMemberResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangeRaftMemberResponse) Descriptor

func (*ChangeRaftMemberResponse) Descriptor() ([]byte, []int)

func (*ChangeRaftMemberResponse) Marshal

func (m *ChangeRaftMemberResponse) Marshal() (dAtA []byte, err error)

func (*ChangeRaftMemberResponse) MarshalTo

func (m *ChangeRaftMemberResponse) MarshalTo(dAtA []byte) (int, error)

func (*ChangeRaftMemberResponse) MarshalToSizedBuffer

func (m *ChangeRaftMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangeRaftMemberResponse) ProtoMessage

func (*ChangeRaftMemberResponse) ProtoMessage()

func (*ChangeRaftMemberResponse) Reset

func (m *ChangeRaftMemberResponse) Reset()

func (*ChangeRaftMemberResponse) Size

func (m *ChangeRaftMemberResponse) Size() (n int)

func (*ChangeRaftMemberResponse) String

func (m *ChangeRaftMemberResponse) String() string

func (*ChangeRaftMemberResponse) Unmarshal

func (m *ChangeRaftMemberResponse) Unmarshal(dAtA []byte) error

func (*ChangeRaftMemberResponse) XXX_DiscardUnknown

func (m *ChangeRaftMemberResponse) XXX_DiscardUnknown()

func (*ChangeRaftMemberResponse) XXX_Marshal

func (m *ChangeRaftMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangeRaftMemberResponse) XXX_Merge

func (m *ChangeRaftMemberResponse) XXX_Merge(src proto.Message)

func (*ChangeRaftMemberResponse) XXX_Size

func (m *ChangeRaftMemberResponse) XXX_Size() int

func (*ChangeRaftMemberResponse) XXX_Unmarshal

func (m *ChangeRaftMemberResponse) XXX_Unmarshal(b []byte) error

type ClearQueueRequest

type ClearQueueRequest struct {
	QueueType            ClearQueueRequest_QueueType `` /* 127-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ClearQueueRequest) Descriptor

func (*ClearQueueRequest) Descriptor() ([]byte, []int)

func (*ClearQueueRequest) GetQueueType

func (*ClearQueueRequest) Marshal

func (m *ClearQueueRequest) Marshal() (dAtA []byte, err error)

func (*ClearQueueRequest) MarshalTo

func (m *ClearQueueRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClearQueueRequest) MarshalToSizedBuffer

func (m *ClearQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClearQueueRequest) ProtoMessage

func (*ClearQueueRequest) ProtoMessage()

func (*ClearQueueRequest) Reset

func (m *ClearQueueRequest) Reset()

func (*ClearQueueRequest) Size

func (m *ClearQueueRequest) Size() (n int)

func (*ClearQueueRequest) String

func (m *ClearQueueRequest) String() string

func (*ClearQueueRequest) Unmarshal

func (m *ClearQueueRequest) Unmarshal(dAtA []byte) error

func (*ClearQueueRequest) XXX_DiscardUnknown

func (m *ClearQueueRequest) XXX_DiscardUnknown()

func (*ClearQueueRequest) XXX_Marshal

func (m *ClearQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClearQueueRequest) XXX_Merge

func (m *ClearQueueRequest) XXX_Merge(src proto.Message)

func (*ClearQueueRequest) XXX_Size

func (m *ClearQueueRequest) XXX_Size() int

func (*ClearQueueRequest) XXX_Unmarshal

func (m *ClearQueueRequest) XXX_Unmarshal(b []byte) error

type ClearQueueRequest_QueueType

type ClearQueueRequest_QueueType int32
const (
	ClearQueueRequest_ALL         ClearQueueRequest_QueueType = 0
	ClearQueueRequest_FAST_WORKER ClearQueueRequest_QueueType = 1
	ClearQueueRequest_SLOW_WORKER ClearQueueRequest_QueueType = 2
)

func (ClearQueueRequest_QueueType) EnumDescriptor

func (ClearQueueRequest_QueueType) EnumDescriptor() ([]byte, []int)

func (ClearQueueRequest_QueueType) String

type ClearQueueResponse

type ClearQueueResponse struct {
	Cleared              uint64   `protobuf:"varint,1,opt,name=cleared,proto3" json:"cleared,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClearQueueResponse) Descriptor

func (*ClearQueueResponse) Descriptor() ([]byte, []int)

func (*ClearQueueResponse) GetCleared

func (m *ClearQueueResponse) GetCleared() uint64

func (*ClearQueueResponse) Marshal

func (m *ClearQueueResponse) Marshal() (dAtA []byte, err error)

func (*ClearQueueResponse) MarshalTo

func (m *ClearQueueResponse) MarshalTo(dAtA []byte) (int, error)

func (*ClearQueueResponse) MarshalToSizedBuffer

func (m *ClearQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClearQueueResponse) ProtoMessage

func (*ClearQueueResponse) ProtoMessage()

func (*ClearQueueResponse) Reset

func (m *ClearQueueResponse) Reset()

func (*ClearQueueResponse) Size

func (m *ClearQueueResponse) Size() (n int)

func (*ClearQueueResponse) String

func (m *ClearQueueResponse) String() string

func (*ClearQueueResponse) Unmarshal

func (m *ClearQueueResponse) Unmarshal(dAtA []byte) error

func (*ClearQueueResponse) XXX_DiscardUnknown

func (m *ClearQueueResponse) XXX_DiscardUnknown()

func (*ClearQueueResponse) XXX_Marshal

func (m *ClearQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClearQueueResponse) XXX_Merge

func (m *ClearQueueResponse) XXX_Merge(src proto.Message)

func (*ClearQueueResponse) XXX_Size

func (m *ClearQueueResponse) XXX_Size() int

func (*ClearQueueResponse) XXX_Unmarshal

func (m *ClearQueueResponse) XXX_Unmarshal(b []byte) error

type ClearupRequest

type ClearupRequest struct {
	TxnId                string   `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,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 (*ClearupRequest) Descriptor

func (*ClearupRequest) Descriptor() ([]byte, []int)

func (*ClearupRequest) GetPrimaryKey

func (m *ClearupRequest) GetPrimaryKey() []byte

func (*ClearupRequest) GetTxnId

func (m *ClearupRequest) GetTxnId() string

func (*ClearupRequest) Marshal

func (m *ClearupRequest) Marshal() (dAtA []byte, err error)

func (*ClearupRequest) MarshalTo

func (m *ClearupRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClearupRequest) MarshalToSizedBuffer

func (m *ClearupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClearupRequest) ProtoMessage

func (*ClearupRequest) ProtoMessage()

func (*ClearupRequest) Reset

func (m *ClearupRequest) Reset()

func (*ClearupRequest) Size

func (m *ClearupRequest) Size() (n int)

func (*ClearupRequest) String

func (m *ClearupRequest) String() string

func (*ClearupRequest) Unmarshal

func (m *ClearupRequest) Unmarshal(dAtA []byte) error

func (*ClearupRequest) XXX_DiscardUnknown

func (m *ClearupRequest) XXX_DiscardUnknown()

func (*ClearupRequest) XXX_Marshal

func (m *ClearupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClearupRequest) XXX_Merge

func (m *ClearupRequest) XXX_Merge(src proto.Message)

func (*ClearupRequest) XXX_Size

func (m *ClearupRequest) XXX_Size() int

func (*ClearupRequest) XXX_Unmarshal

func (m *ClearupRequest) XXX_Unmarshal(b []byte) error

type ClearupResponse

type ClearupResponse struct {
	Err                  *TxnError `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ClearupResponse) Descriptor

func (*ClearupResponse) Descriptor() ([]byte, []int)

func (*ClearupResponse) GetErr

func (m *ClearupResponse) GetErr() *TxnError

func (*ClearupResponse) Marshal

func (m *ClearupResponse) Marshal() (dAtA []byte, err error)

func (*ClearupResponse) MarshalTo

func (m *ClearupResponse) MarshalTo(dAtA []byte) (int, error)

func (*ClearupResponse) MarshalToSizedBuffer

func (m *ClearupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClearupResponse) ProtoMessage

func (*ClearupResponse) ProtoMessage()

func (*ClearupResponse) Reset

func (m *ClearupResponse) Reset()

func (*ClearupResponse) Size

func (m *ClearupResponse) Size() (n int)

func (*ClearupResponse) String

func (m *ClearupResponse) String() string

func (*ClearupResponse) Unmarshal

func (m *ClearupResponse) Unmarshal(dAtA []byte) error

func (*ClearupResponse) XXX_DiscardUnknown

func (m *ClearupResponse) XXX_DiscardUnknown()

func (*ClearupResponse) XXX_Marshal

func (m *ClearupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClearupResponse) XXX_Merge

func (m *ClearupResponse) XXX_Merge(src proto.Message)

func (*ClearupResponse) XXX_Size

func (m *ClearupResponse) XXX_Size() int

func (*ClearupResponse) XXX_Unmarshal

func (m *ClearupResponse) XXX_Unmarshal(b []byte) error

type CmdID

type CmdID struct {
	NodeId               uint64   `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Seq                  uint64   `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CmdID) Descriptor

func (*CmdID) Descriptor() ([]byte, []int)

func (*CmdID) GetNodeId

func (m *CmdID) GetNodeId() uint64

func (*CmdID) GetSeq

func (m *CmdID) GetSeq() uint64

func (*CmdID) Marshal

func (m *CmdID) Marshal() (dAtA []byte, err error)

func (*CmdID) MarshalTo

func (m *CmdID) MarshalTo(dAtA []byte) (int, error)

func (*CmdID) MarshalToSizedBuffer

func (m *CmdID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CmdID) ProtoMessage

func (*CmdID) ProtoMessage()

func (*CmdID) Reset

func (m *CmdID) Reset()

func (*CmdID) Size

func (m *CmdID) Size() (n int)

func (*CmdID) String

func (m *CmdID) String() string

func (*CmdID) Unmarshal

func (m *CmdID) Unmarshal(dAtA []byte) error

func (*CmdID) XXX_DiscardUnknown

func (m *CmdID) XXX_DiscardUnknown()

func (*CmdID) XXX_Marshal

func (m *CmdID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdID) XXX_Merge

func (m *CmdID) XXX_Merge(src proto.Message)

func (*CmdID) XXX_Size

func (m *CmdID) XXX_Size() int

func (*CmdID) XXX_Unmarshal

func (m *CmdID) XXX_Unmarshal(b []byte) error

type CmdType

type CmdType int32
const (
	CmdType_Invalid_Cmd   CmdType = 0
	CmdType_TxnPrepare    CmdType = 1
	CmdType_TxnDecide     CmdType = 2
	CmdType_TxnClearup    CmdType = 3
	CmdType_TxnSelect     CmdType = 4
	CmdType_TxnScan       CmdType = 5
	CmdType_TxnSelectFlow CmdType = 6
	CmdType_KvGet         CmdType = 20
	CmdType_KvPut         CmdType = 21
	CmdType_KvDelete      CmdType = 22
	CmdType_AdminSplit    CmdType = 100
)

func (CmdType) EnumDescriptor

func (CmdType) EnumDescriptor() ([]byte, []int)

func (CmdType) String

func (x CmdType) String() string

type ColumnInfo

type ColumnInfo struct {
	Id                   uint32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Typ                  basepb.DataType `protobuf:"varint,2,opt,name=typ,proto3,enum=basepb.DataType" json:"typ,omitempty"`
	Unsigned             bool            `protobuf:"varint,3,opt,name=unsigned,proto3" json:"unsigned,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ColumnInfo) Descriptor

func (*ColumnInfo) Descriptor() ([]byte, []int)

func (*ColumnInfo) GetId

func (m *ColumnInfo) GetId() uint32

func (*ColumnInfo) GetTyp

func (m *ColumnInfo) GetTyp() basepb.DataType

func (*ColumnInfo) GetUnsigned

func (m *ColumnInfo) GetUnsigned() bool

func (*ColumnInfo) Marshal

func (m *ColumnInfo) Marshal() (dAtA []byte, err error)

func (*ColumnInfo) MarshalTo

func (m *ColumnInfo) MarshalTo(dAtA []byte) (int, error)

func (*ColumnInfo) MarshalToSizedBuffer

func (m *ColumnInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ColumnInfo) ProtoMessage

func (*ColumnInfo) ProtoMessage()

func (*ColumnInfo) Reset

func (m *ColumnInfo) Reset()

func (*ColumnInfo) Size

func (m *ColumnInfo) Size() (n int)

func (*ColumnInfo) String

func (m *ColumnInfo) String() string

func (*ColumnInfo) Unmarshal

func (m *ColumnInfo) Unmarshal(dAtA []byte) error

func (*ColumnInfo) XXX_DiscardUnknown

func (m *ColumnInfo) XXX_DiscardUnknown()

func (*ColumnInfo) XXX_Marshal

func (m *ColumnInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ColumnInfo) XXX_Merge

func (m *ColumnInfo) XXX_Merge(src proto.Message)

func (*ColumnInfo) XXX_Size

func (m *ColumnInfo) XXX_Size() int

func (*ColumnInfo) XXX_Unmarshal

func (m *ColumnInfo) XXX_Unmarshal(b []byte) error

type Command

type Command struct {
	CmdId                *CmdID             `protobuf:"bytes,1,opt,name=cmd_id,json=cmdId,proto3" json:"cmd_id,omitempty"`
	CmdType              CmdType            `protobuf:"varint,2,opt,name=cmd_type,json=cmdType,proto3,enum=dspb.CmdType" json:"cmd_type,omitempty"`
	VerifyEpoch          *basepb.RangeEpoch `protobuf:"bytes,3,opt,name=verify_epoch,json=verifyEpoch,proto3" json:"verify_epoch,omitempty"`
	TxnPrepareReq        *PrepareRequest    `protobuf:"bytes,4,opt,name=txn_prepare_req,json=txnPrepareReq,proto3" json:"txn_prepare_req,omitempty"`
	TxnDecideReq         *DecideRequest     `protobuf:"bytes,5,opt,name=txn_decide_req,json=txnDecideReq,proto3" json:"txn_decide_req,omitempty"`
	TxnClearupReq        *ClearupRequest    `protobuf:"bytes,6,opt,name=txn_clearup_req,json=txnClearupReq,proto3" json:"txn_clearup_req,omitempty"`
	TxnSelectReq         *SelectRequest     `protobuf:"bytes,7,opt,name=txn_select_req,json=txnSelectReq,proto3" json:"txn_select_req,omitempty"`
	TxnScanReq           *ScanRequest       `protobuf:"bytes,8,opt,name=txn_scan_req,json=txnScanReq,proto3" json:"txn_scan_req,omitempty"`
	TxnSelectFlowReq     *SelectFlowRequest `protobuf:"bytes,9,opt,name=txn_select_flow_req,json=txnSelectFlowReq,proto3" json:"txn_select_flow_req,omitempty"`
	KvGetReq             *KvGetRequest      `protobuf:"bytes,20,opt,name=kv_get_req,json=kvGetReq,proto3" json:"kv_get_req,omitempty"`
	KvPutReq             *KvPutRequest      `protobuf:"bytes,21,opt,name=kv_put_req,json=kvPutReq,proto3" json:"kv_put_req,omitempty"`
	KvDeleteReq          *KvDeleteRequest   `protobuf:"bytes,22,opt,name=kv_delete_req,json=kvDeleteReq,proto3" json:"kv_delete_req,omitempty"`
	SplitCmd             *SplitCommand      `protobuf:"bytes,100,opt,name=split_cmd,json=splitCmd,proto3" json:"split_cmd,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Command) Descriptor

func (*Command) Descriptor() ([]byte, []int)

func (*Command) GetCmdId

func (m *Command) GetCmdId() *CmdID

func (*Command) GetCmdType

func (m *Command) GetCmdType() CmdType

func (*Command) GetKvDeleteReq

func (m *Command) GetKvDeleteReq() *KvDeleteRequest

func (*Command) GetKvGetReq

func (m *Command) GetKvGetReq() *KvGetRequest

func (*Command) GetKvPutReq

func (m *Command) GetKvPutReq() *KvPutRequest

func (*Command) GetSplitCmd

func (m *Command) GetSplitCmd() *SplitCommand

func (*Command) GetTxnClearupReq

func (m *Command) GetTxnClearupReq() *ClearupRequest

func (*Command) GetTxnDecideReq

func (m *Command) GetTxnDecideReq() *DecideRequest

func (*Command) GetTxnPrepareReq

func (m *Command) GetTxnPrepareReq() *PrepareRequest

func (*Command) GetTxnScanReq

func (m *Command) GetTxnScanReq() *ScanRequest

func (*Command) GetTxnSelectFlowReq

func (m *Command) GetTxnSelectFlowReq() *SelectFlowRequest

func (*Command) GetTxnSelectReq

func (m *Command) GetTxnSelectReq() *SelectRequest

func (*Command) GetVerifyEpoch

func (m *Command) GetVerifyEpoch() *basepb.RangeEpoch

func (*Command) Marshal

func (m *Command) Marshal() (dAtA []byte, err error)

func (*Command) MarshalTo

func (m *Command) MarshalTo(dAtA []byte) (int, error)

func (*Command) MarshalToSizedBuffer

func (m *Command) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) Size

func (m *Command) Size() (n int)

func (*Command) String

func (m *Command) String() string

func (*Command) Unmarshal

func (m *Command) Unmarshal(dAtA []byte) error

func (*Command) XXX_DiscardUnknown

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal

func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Command) XXX_Merge

func (m *Command) XXX_Merge(src proto.Message)

func (*Command) XXX_Size

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal

func (m *Command) XXX_Unmarshal(b []byte) error

type CompactionRequest

type CompactionRequest struct {
	RangeId              uint64   `protobuf:"varint,1,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	TransactionId        int64    `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CompactionRequest) Descriptor

func (*CompactionRequest) Descriptor() ([]byte, []int)

func (*CompactionRequest) GetRangeId

func (m *CompactionRequest) GetRangeId() uint64

func (*CompactionRequest) GetTransactionId

func (m *CompactionRequest) GetTransactionId() int64

func (*CompactionRequest) Marshal

func (m *CompactionRequest) Marshal() (dAtA []byte, err error)

func (*CompactionRequest) MarshalTo

func (m *CompactionRequest) MarshalTo(dAtA []byte) (int, error)

func (*CompactionRequest) MarshalToSizedBuffer

func (m *CompactionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CompactionRequest) ProtoMessage

func (*CompactionRequest) ProtoMessage()

func (*CompactionRequest) Reset

func (m *CompactionRequest) Reset()

func (*CompactionRequest) Size

func (m *CompactionRequest) Size() (n int)

func (*CompactionRequest) String

func (m *CompactionRequest) String() string

func (*CompactionRequest) Unmarshal

func (m *CompactionRequest) Unmarshal(dAtA []byte) error

func (*CompactionRequest) XXX_DiscardUnknown

func (m *CompactionRequest) XXX_DiscardUnknown()

func (*CompactionRequest) XXX_Marshal

func (m *CompactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompactionRequest) XXX_Merge

func (m *CompactionRequest) XXX_Merge(src proto.Message)

func (*CompactionRequest) XXX_Size

func (m *CompactionRequest) XXX_Size() int

func (*CompactionRequest) XXX_Unmarshal

func (m *CompactionRequest) XXX_Unmarshal(b []byte) error

type CompactionResponse

type CompactionResponse struct {
	BeginKey             []byte   `protobuf:"bytes,1,opt,name=begin_key,json=beginKey,proto3" json:"begin_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 (*CompactionResponse) Descriptor

func (*CompactionResponse) Descriptor() ([]byte, []int)

func (*CompactionResponse) GetBeginKey

func (m *CompactionResponse) GetBeginKey() []byte

func (*CompactionResponse) GetEndKey

func (m *CompactionResponse) GetEndKey() []byte

func (*CompactionResponse) Marshal

func (m *CompactionResponse) Marshal() (dAtA []byte, err error)

func (*CompactionResponse) MarshalTo

func (m *CompactionResponse) MarshalTo(dAtA []byte) (int, error)

func (*CompactionResponse) MarshalToSizedBuffer

func (m *CompactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CompactionResponse) ProtoMessage

func (*CompactionResponse) ProtoMessage()

func (*CompactionResponse) Reset

func (m *CompactionResponse) Reset()

func (*CompactionResponse) Size

func (m *CompactionResponse) Size() (n int)

func (*CompactionResponse) String

func (m *CompactionResponse) String() string

func (*CompactionResponse) Unmarshal

func (m *CompactionResponse) Unmarshal(dAtA []byte) error

func (*CompactionResponse) XXX_DiscardUnknown

func (m *CompactionResponse) XXX_DiscardUnknown()

func (*CompactionResponse) XXX_Marshal

func (m *CompactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompactionResponse) XXX_Merge

func (m *CompactionResponse) XXX_Merge(src proto.Message)

func (*CompactionResponse) XXX_Size

func (m *CompactionResponse) XXX_Size() int

func (*CompactionResponse) XXX_Unmarshal

func (m *CompactionResponse) XXX_Unmarshal(b []byte) error

type ConfigItem

type ConfigItem struct {
	Key                  *ConfigKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string     `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ConfigItem) Descriptor

func (*ConfigItem) Descriptor() ([]byte, []int)

func (*ConfigItem) GetKey

func (m *ConfigItem) GetKey() *ConfigKey

func (*ConfigItem) GetValue

func (m *ConfigItem) GetValue() string

func (*ConfigItem) Marshal

func (m *ConfigItem) Marshal() (dAtA []byte, err error)

func (*ConfigItem) MarshalTo

func (m *ConfigItem) MarshalTo(dAtA []byte) (int, error)

func (*ConfigItem) MarshalToSizedBuffer

func (m *ConfigItem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigItem) ProtoMessage

func (*ConfigItem) ProtoMessage()

func (*ConfigItem) Reset

func (m *ConfigItem) Reset()

func (*ConfigItem) Size

func (m *ConfigItem) Size() (n int)

func (*ConfigItem) String

func (m *ConfigItem) String() string

func (*ConfigItem) Unmarshal

func (m *ConfigItem) Unmarshal(dAtA []byte) error

func (*ConfigItem) XXX_DiscardUnknown

func (m *ConfigItem) XXX_DiscardUnknown()

func (*ConfigItem) XXX_Marshal

func (m *ConfigItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigItem) XXX_Merge

func (m *ConfigItem) XXX_Merge(src proto.Message)

func (*ConfigItem) XXX_Size

func (m *ConfigItem) XXX_Size() int

func (*ConfigItem) XXX_Unmarshal

func (m *ConfigItem) XXX_Unmarshal(b []byte) error

type ConfigKey

type ConfigKey struct {
	Section              string   `protobuf:"bytes,1,opt,name=section,proto3" json:"section,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigKey) Descriptor

func (*ConfigKey) Descriptor() ([]byte, []int)

func (*ConfigKey) GetName

func (m *ConfigKey) GetName() string

func (*ConfigKey) GetSection

func (m *ConfigKey) GetSection() string

func (*ConfigKey) Marshal

func (m *ConfigKey) Marshal() (dAtA []byte, err error)

func (*ConfigKey) MarshalTo

func (m *ConfigKey) MarshalTo(dAtA []byte) (int, error)

func (*ConfigKey) MarshalToSizedBuffer

func (m *ConfigKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigKey) ProtoMessage

func (*ConfigKey) ProtoMessage()

func (*ConfigKey) Reset

func (m *ConfigKey) Reset()

func (*ConfigKey) Size

func (m *ConfigKey) Size() (n int)

func (*ConfigKey) String

func (m *ConfigKey) String() string

func (*ConfigKey) Unmarshal

func (m *ConfigKey) Unmarshal(dAtA []byte) error

func (*ConfigKey) XXX_DiscardUnknown

func (m *ConfigKey) XXX_DiscardUnknown()

func (*ConfigKey) XXX_Marshal

func (m *ConfigKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigKey) XXX_Merge

func (m *ConfigKey) XXX_Merge(src proto.Message)

func (*ConfigKey) XXX_Size

func (m *ConfigKey) XXX_Size() int

func (*ConfigKey) XXX_Unmarshal

func (m *ConfigKey) XXX_Unmarshal(b []byte) error

type CreateRangeRequest

type CreateRangeRequest struct {
	Range                *basepb.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"`
	Leader               uint64        `protobuf:"varint,2,opt,name=leader,proto3" json:"leader,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

CreateRange

func (*CreateRangeRequest) Descriptor

func (*CreateRangeRequest) Descriptor() ([]byte, []int)

func (*CreateRangeRequest) GetLeader

func (m *CreateRangeRequest) GetLeader() uint64

func (*CreateRangeRequest) GetRange

func (m *CreateRangeRequest) GetRange() *basepb.Range

func (*CreateRangeRequest) Marshal

func (m *CreateRangeRequest) Marshal() (dAtA []byte, err error)

func (*CreateRangeRequest) MarshalTo

func (m *CreateRangeRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateRangeRequest) MarshalToSizedBuffer

func (m *CreateRangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateRangeRequest) ProtoMessage

func (*CreateRangeRequest) ProtoMessage()

func (*CreateRangeRequest) Reset

func (m *CreateRangeRequest) Reset()

func (*CreateRangeRequest) Size

func (m *CreateRangeRequest) Size() (n int)

func (*CreateRangeRequest) String

func (m *CreateRangeRequest) String() string

func (*CreateRangeRequest) Unmarshal

func (m *CreateRangeRequest) Unmarshal(dAtA []byte) error

func (*CreateRangeRequest) XXX_DiscardUnknown

func (m *CreateRangeRequest) XXX_DiscardUnknown()

func (*CreateRangeRequest) XXX_Marshal

func (m *CreateRangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRangeRequest) XXX_Merge

func (m *CreateRangeRequest) XXX_Merge(src proto.Message)

func (*CreateRangeRequest) XXX_Size

func (m *CreateRangeRequest) XXX_Size() int

func (*CreateRangeRequest) XXX_Unmarshal

func (m *CreateRangeRequest) XXX_Unmarshal(b []byte) error

type CreateRangeResponse

type CreateRangeResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateRangeResponse) Descriptor

func (*CreateRangeResponse) Descriptor() ([]byte, []int)

func (*CreateRangeResponse) Marshal

func (m *CreateRangeResponse) Marshal() (dAtA []byte, err error)

func (*CreateRangeResponse) MarshalTo

func (m *CreateRangeResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateRangeResponse) MarshalToSizedBuffer

func (m *CreateRangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateRangeResponse) ProtoMessage

func (*CreateRangeResponse) ProtoMessage()

func (*CreateRangeResponse) Reset

func (m *CreateRangeResponse) Reset()

func (*CreateRangeResponse) Size

func (m *CreateRangeResponse) Size() (n int)

func (*CreateRangeResponse) String

func (m *CreateRangeResponse) String() string

func (*CreateRangeResponse) Unmarshal

func (m *CreateRangeResponse) Unmarshal(dAtA []byte) error

func (*CreateRangeResponse) XXX_DiscardUnknown

func (m *CreateRangeResponse) XXX_DiscardUnknown()

func (*CreateRangeResponse) XXX_Marshal

func (m *CreateRangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRangeResponse) XXX_Merge

func (m *CreateRangeResponse) XXX_Merge(src proto.Message)

func (*CreateRangeResponse) XXX_Size

func (m *CreateRangeResponse) XXX_Size() int

func (*CreateRangeResponse) XXX_Unmarshal

func (m *CreateRangeResponse) XXX_Unmarshal(b []byte) error

type DataSample

type DataSample struct {
	Method               DataSample_SampleMethod `protobuf:"varint,1,opt,name=method,proto3,enum=dspb.DataSample_SampleMethod" json:"method,omitempty"`
	Columns              []*ColumnInfo           `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
	Range                *KeyRange               `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
	Ratio                float64                 `protobuf:"fixed64,4,opt,name=ratio,proto3" json:"ratio,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*DataSample) Descriptor

func (*DataSample) Descriptor() ([]byte, []int)

func (*DataSample) GetColumns

func (m *DataSample) GetColumns() []*ColumnInfo

func (*DataSample) GetMethod

func (m *DataSample) GetMethod() DataSample_SampleMethod

func (*DataSample) GetRange

func (m *DataSample) GetRange() *KeyRange

func (*DataSample) GetRatio

func (m *DataSample) GetRatio() float64

func (*DataSample) Marshal

func (m *DataSample) Marshal() (dAtA []byte, err error)

func (*DataSample) MarshalTo

func (m *DataSample) MarshalTo(dAtA []byte) (int, error)

func (*DataSample) MarshalToSizedBuffer

func (m *DataSample) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataSample) ProtoMessage

func (*DataSample) ProtoMessage()

func (*DataSample) Reset

func (m *DataSample) Reset()

func (*DataSample) Size

func (m *DataSample) Size() (n int)

func (*DataSample) String

func (m *DataSample) String() string

func (*DataSample) Unmarshal

func (m *DataSample) Unmarshal(dAtA []byte) error

func (*DataSample) XXX_DiscardUnknown

func (m *DataSample) XXX_DiscardUnknown()

func (*DataSample) XXX_Marshal

func (m *DataSample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataSample) XXX_Merge

func (m *DataSample) XXX_Merge(src proto.Message)

func (*DataSample) XXX_Size

func (m *DataSample) XXX_Size() int

func (*DataSample) XXX_Unmarshal

func (m *DataSample) XXX_Unmarshal(b []byte) error

type DataSample_SampleMethod

type DataSample_SampleMethod int32
const (
	DataSample_RESERVIOR_SAMPLING DataSample_SampleMethod = 0
)

func (DataSample_SampleMethod) EnumDescriptor

func (DataSample_SampleMethod) EnumDescriptor() ([]byte, []int)

func (DataSample_SampleMethod) String

func (x DataSample_SampleMethod) String() string

type DecideRequest

type DecideRequest struct {
	TxnId                string    `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"`
	Status               TxnStatus `protobuf:"varint,2,opt,name=status,proto3,enum=dspb.TxnStatus" json:"status,omitempty"`
	Keys                 [][]byte  `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
	Recover              bool      `protobuf:"varint,4,opt,name=recover,proto3" json:"recover,omitempty"`
	IsPrimary            bool      `protobuf:"varint,5,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Commit or Rollback

func (*DecideRequest) Descriptor

func (*DecideRequest) Descriptor() ([]byte, []int)

func (*DecideRequest) GetIsPrimary

func (m *DecideRequest) GetIsPrimary() bool

func (*DecideRequest) GetKeys

func (m *DecideRequest) GetKeys() [][]byte

func (*DecideRequest) GetRecover

func (m *DecideRequest) GetRecover() bool

func (*DecideRequest) GetStatus

func (m *DecideRequest) GetStatus() TxnStatus

func (*DecideRequest) GetTxnId

func (m *DecideRequest) GetTxnId() string

func (*DecideRequest) Marshal

func (m *DecideRequest) Marshal() (dAtA []byte, err error)

func (*DecideRequest) MarshalTo

func (m *DecideRequest) MarshalTo(dAtA []byte) (int, error)

func (*DecideRequest) MarshalToSizedBuffer

func (m *DecideRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecideRequest) ProtoMessage

func (*DecideRequest) ProtoMessage()

func (*DecideRequest) Reset

func (m *DecideRequest) Reset()

func (*DecideRequest) Size

func (m *DecideRequest) Size() (n int)

func (*DecideRequest) String

func (m *DecideRequest) String() string

func (*DecideRequest) Unmarshal

func (m *DecideRequest) Unmarshal(dAtA []byte) error

func (*DecideRequest) XXX_DiscardUnknown

func (m *DecideRequest) XXX_DiscardUnknown()

func (*DecideRequest) XXX_Marshal

func (m *DecideRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecideRequest) XXX_Merge

func (m *DecideRequest) XXX_Merge(src proto.Message)

func (*DecideRequest) XXX_Size

func (m *DecideRequest) XXX_Size() int

func (*DecideRequest) XXX_Unmarshal

func (m *DecideRequest) XXX_Unmarshal(b []byte) error

type DecideResponse

type DecideResponse struct {
	Err                  *TxnError `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
	SecondaryKeys        [][]byte  `protobuf:"bytes,2,rep,name=secondary_keys,json=secondaryKeys,proto3" json:"secondary_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*DecideResponse) Descriptor

func (*DecideResponse) Descriptor() ([]byte, []int)

func (*DecideResponse) GetErr

func (m *DecideResponse) GetErr() *TxnError

func (*DecideResponse) GetSecondaryKeys

func (m *DecideResponse) GetSecondaryKeys() [][]byte

func (*DecideResponse) Marshal

func (m *DecideResponse) Marshal() (dAtA []byte, err error)

func (*DecideResponse) MarshalTo

func (m *DecideResponse) MarshalTo(dAtA []byte) (int, error)

func (*DecideResponse) MarshalToSizedBuffer

func (m *DecideResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecideResponse) ProtoMessage

func (*DecideResponse) ProtoMessage()

func (*DecideResponse) Reset

func (m *DecideResponse) Reset()

func (*DecideResponse) Size

func (m *DecideResponse) Size() (n int)

func (*DecideResponse) String

func (m *DecideResponse) String() string

func (*DecideResponse) Unmarshal

func (m *DecideResponse) Unmarshal(dAtA []byte) error

func (*DecideResponse) XXX_DiscardUnknown

func (m *DecideResponse) XXX_DiscardUnknown()

func (*DecideResponse) XXX_Marshal

func (m *DecideResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecideResponse) XXX_Merge

func (m *DecideResponse) XXX_Merge(src proto.Message)

func (*DecideResponse) XXX_Size

func (m *DecideResponse) XXX_Size() int

func (*DecideResponse) XXX_Unmarshal

func (m *DecideResponse) XXX_Unmarshal(b []byte) error

type DeleteRangeRequest

type DeleteRangeRequest struct {
	RangeId              uint64   `protobuf:"varint,1,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	PeerId               uint64   `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteRange

func (*DeleteRangeRequest) Descriptor

func (*DeleteRangeRequest) Descriptor() ([]byte, []int)

func (*DeleteRangeRequest) GetPeerId

func (m *DeleteRangeRequest) GetPeerId() uint64

func (*DeleteRangeRequest) GetRangeId

func (m *DeleteRangeRequest) GetRangeId() uint64

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRangeResponse) Descriptor

func (*DeleteRangeResponse) Descriptor() ([]byte, []int)

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 Error

type Error struct {
	// Types that are valid to be assigned to Err:
	//	*Error_ClusterMismatch
	//	*Error_NotLeader_
	//	*Error_RaftFail_
	//	*Error_RangeNotFound_
	//	*Error_OutOfBound_
	//	*Error_StaleEpoch_
	//	*Error_NoLeftSpace_
	//	*Error_ServerError_
	Err                  isError_Err `protobuf_oneof:"err"`
	Detail               string      `protobuf:"bytes,100,opt,name=detail,proto3" json:"detail,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Error) Descriptor

func (*Error) Descriptor() ([]byte, []int)

func (*Error) GetClusterMismatch

func (m *Error) GetClusterMismatch() *Error_ClusterMismatched

func (*Error) GetDetail

func (m *Error) GetDetail() string

func (*Error) GetErr

func (m *Error) GetErr() isError_Err

func (*Error) GetNoLeftSpace

func (m *Error) GetNoLeftSpace() *Error_NoLeftSpace

func (*Error) GetNotLeader

func (m *Error) GetNotLeader() *Error_NotLeader

func (*Error) GetOutOfBound

func (m *Error) GetOutOfBound() *Error_OutOfBound

func (*Error) GetRaftFail

func (m *Error) GetRaftFail() *Error_RaftFail

func (*Error) GetRangeNotFound

func (m *Error) GetRangeNotFound() *Error_RangeNotFound

func (*Error) GetServerError

func (m *Error) GetServerError() *Error_ServerError

func (*Error) GetStaleEpoch

func (m *Error) GetStaleEpoch() *Error_StaleEpoch

func (*Error) Marshal

func (m *Error) Marshal() (dAtA []byte, err error)

func (*Error) MarshalTo

func (m *Error) MarshalTo(dAtA []byte) (int, error)

func (*Error) MarshalToSizedBuffer

func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) Size

func (m *Error) Size() (n int)

func (*Error) String

func (m *Error) String() string

func (*Error) Unmarshal

func (m *Error) Unmarshal(dAtA []byte) error

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error) XXX_Merge

func (m *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_OneofWrappers

func (*Error) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

func (m *Error) XXX_Unmarshal(b []byte) error

type Error_ClusterMismatch

type Error_ClusterMismatch struct {
	ClusterMismatch *Error_ClusterMismatched `protobuf:"bytes,1,opt,name=cluster_mismatch,json=clusterMismatch,proto3,oneof" json:"cluster_mismatch,omitempty"`
}

func (*Error_ClusterMismatch) MarshalTo

func (m *Error_ClusterMismatch) MarshalTo(dAtA []byte) (int, error)

func (*Error_ClusterMismatch) MarshalToSizedBuffer

func (m *Error_ClusterMismatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_ClusterMismatch) Size

func (m *Error_ClusterMismatch) Size() (n int)

type Error_ClusterMismatched

type Error_ClusterMismatched struct {
	RequestCluster       uint64   `protobuf:"varint,1,opt,name=request_cluster,json=requestCluster,proto3" json:"request_cluster,omitempty"`
	ActualCluster        uint64   `protobuf:"varint,2,opt,name=actual_cluster,json=actualCluster,proto3" json:"actual_cluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

cluster_id(in request header) is mismatched

func (*Error_ClusterMismatched) Descriptor

func (*Error_ClusterMismatched) Descriptor() ([]byte, []int)

func (*Error_ClusterMismatched) GetActualCluster

func (m *Error_ClusterMismatched) GetActualCluster() uint64

func (*Error_ClusterMismatched) GetRequestCluster

func (m *Error_ClusterMismatched) GetRequestCluster() uint64

func (*Error_ClusterMismatched) Marshal

func (m *Error_ClusterMismatched) Marshal() (dAtA []byte, err error)

func (*Error_ClusterMismatched) MarshalTo

func (m *Error_ClusterMismatched) MarshalTo(dAtA []byte) (int, error)

func (*Error_ClusterMismatched) MarshalToSizedBuffer

func (m *Error_ClusterMismatched) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_ClusterMismatched) ProtoMessage

func (*Error_ClusterMismatched) ProtoMessage()

func (*Error_ClusterMismatched) Reset

func (m *Error_ClusterMismatched) Reset()

func (*Error_ClusterMismatched) Size

func (m *Error_ClusterMismatched) Size() (n int)

func (*Error_ClusterMismatched) String

func (m *Error_ClusterMismatched) String() string

func (*Error_ClusterMismatched) Unmarshal

func (m *Error_ClusterMismatched) Unmarshal(dAtA []byte) error

func (*Error_ClusterMismatched) XXX_DiscardUnknown

func (m *Error_ClusterMismatched) XXX_DiscardUnknown()

func (*Error_ClusterMismatched) XXX_Marshal

func (m *Error_ClusterMismatched) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error_ClusterMismatched) XXX_Merge

func (m *Error_ClusterMismatched) XXX_Merge(src proto.Message)

func (*Error_ClusterMismatched) XXX_Size

func (m *Error_ClusterMismatched) XXX_Size() int

func (*Error_ClusterMismatched) XXX_Unmarshal

func (m *Error_ClusterMismatched) XXX_Unmarshal(b []byte) error

type Error_NoLeftSpace

type Error_NoLeftSpace struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error_NoLeftSpace) Descriptor

func (*Error_NoLeftSpace) Descriptor() ([]byte, []int)

func (*Error_NoLeftSpace) Marshal

func (m *Error_NoLeftSpace) Marshal() (dAtA []byte, err error)

func (*Error_NoLeftSpace) MarshalTo

func (m *Error_NoLeftSpace) MarshalTo(dAtA []byte) (int, error)

func (*Error_NoLeftSpace) MarshalToSizedBuffer

func (m *Error_NoLeftSpace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_NoLeftSpace) ProtoMessage

func (*Error_NoLeftSpace) ProtoMessage()

func (*Error_NoLeftSpace) Reset

func (m *Error_NoLeftSpace) Reset()

func (*Error_NoLeftSpace) Size

func (m *Error_NoLeftSpace) Size() (n int)

func (*Error_NoLeftSpace) String

func (m *Error_NoLeftSpace) String() string

func (*Error_NoLeftSpace) Unmarshal

func (m *Error_NoLeftSpace) Unmarshal(dAtA []byte) error

func (*Error_NoLeftSpace) XXX_DiscardUnknown

func (m *Error_NoLeftSpace) XXX_DiscardUnknown()

func (*Error_NoLeftSpace) XXX_Marshal

func (m *Error_NoLeftSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error_NoLeftSpace) XXX_Merge

func (m *Error_NoLeftSpace) XXX_Merge(src proto.Message)

func (*Error_NoLeftSpace) XXX_Size

func (m *Error_NoLeftSpace) XXX_Size() int

func (*Error_NoLeftSpace) XXX_Unmarshal

func (m *Error_NoLeftSpace) XXX_Unmarshal(b []byte) error

type Error_NoLeftSpace_

type Error_NoLeftSpace_ struct {
	NoLeftSpace *Error_NoLeftSpace `protobuf:"bytes,7,opt,name=no_left_space,json=noLeftSpace,proto3,oneof" json:"no_left_space,omitempty"`
}

func (*Error_NoLeftSpace_) MarshalTo

func (m *Error_NoLeftSpace_) MarshalTo(dAtA []byte) (int, error)

func (*Error_NoLeftSpace_) MarshalToSizedBuffer

func (m *Error_NoLeftSpace_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_NoLeftSpace_) Size

func (m *Error_NoLeftSpace_) Size() (n int)

type Error_NotLeader

type Error_NotLeader struct {
	RangeId              uint64             `protobuf:"varint,1,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	Leader               *basepb.Peer       `protobuf:"bytes,2,opt,name=leader,proto3" json:"leader,omitempty"`
	Term                 uint64             `protobuf:"varint,3,opt,name=term,proto3" json:"term,omitempty"`
	Epoch                *basepb.RangeEpoch `protobuf:"bytes,4,opt,name=epoch,proto3" json:"epoch,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Error_NotLeader) Descriptor

func (*Error_NotLeader) Descriptor() ([]byte, []int)

func (*Error_NotLeader) GetEpoch

func (m *Error_NotLeader) GetEpoch() *basepb.RangeEpoch

func (*Error_NotLeader) GetLeader

func (m *Error_NotLeader) GetLeader() *basepb.Peer

func (*Error_NotLeader) GetRangeId

func (m *Error_NotLeader) GetRangeId() uint64

func (*Error_NotLeader) GetTerm

func (m *Error_NotLeader) GetTerm() uint64

func (*Error_NotLeader) Marshal

func (m *Error_NotLeader) Marshal() (dAtA []byte, err error)

func (*Error_NotLeader) MarshalTo

func (m *Error_NotLeader) MarshalTo(dAtA []byte) (int, error)

func (*Error_NotLeader) MarshalToSizedBuffer

func (m *Error_NotLeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_NotLeader) ProtoMessage

func (*Error_NotLeader) ProtoMessage()

func (*Error_NotLeader) Reset

func (m *Error_NotLeader) Reset()

func (*Error_NotLeader) Size

func (m *Error_NotLeader) Size() (n int)

func (*Error_NotLeader) String

func (m *Error_NotLeader) String() string

func (*Error_NotLeader) Unmarshal

func (m *Error_NotLeader) Unmarshal(dAtA []byte) error

func (*Error_NotLeader) XXX_DiscardUnknown

func (m *Error_NotLeader) XXX_DiscardUnknown()

func (*Error_NotLeader) XXX_Marshal

func (m *Error_NotLeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error_NotLeader) XXX_Merge

func (m *Error_NotLeader) XXX_Merge(src proto.Message)

func (*Error_NotLeader) XXX_Size

func (m *Error_NotLeader) XXX_Size() int

func (*Error_NotLeader) XXX_Unmarshal

func (m *Error_NotLeader) XXX_Unmarshal(b []byte) error

type Error_NotLeader_

type Error_NotLeader_ struct {
	NotLeader *Error_NotLeader `protobuf:"bytes,2,opt,name=not_leader,json=notLeader,proto3,oneof" json:"not_leader,omitempty"`
}

func (*Error_NotLeader_) MarshalTo

func (m *Error_NotLeader_) MarshalTo(dAtA []byte) (int, error)

func (*Error_NotLeader_) MarshalToSizedBuffer

func (m *Error_NotLeader_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_NotLeader_) Size

func (m *Error_NotLeader_) Size() (n int)

type Error_OutOfBound

type Error_OutOfBound struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	RangeId              uint64   `protobuf:"varint,2,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	RangeStart           []byte   `protobuf:"bytes,3,opt,name=range_start,json=rangeStart,proto3" json:"range_start,omitempty"`
	RangeLimit           []byte   `protobuf:"bytes,4,opt,name=range_limit,json=rangeLimit,proto3" json:"range_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error_OutOfBound) Descriptor

func (*Error_OutOfBound) Descriptor() ([]byte, []int)

func (*Error_OutOfBound) GetKey

func (m *Error_OutOfBound) GetKey() []byte

func (*Error_OutOfBound) GetRangeId

func (m *Error_OutOfBound) GetRangeId() uint64

func (*Error_OutOfBound) GetRangeLimit

func (m *Error_OutOfBound) GetRangeLimit() []byte

func (*Error_OutOfBound) GetRangeStart

func (m *Error_OutOfBound) GetRangeStart() []byte

func (*Error_OutOfBound) Marshal

func (m *Error_OutOfBound) Marshal() (dAtA []byte, err error)

func (*Error_OutOfBound) MarshalTo

func (m *Error_OutOfBound) MarshalTo(dAtA []byte) (int, error)

func (*Error_OutOfBound) MarshalToSizedBuffer

func (m *Error_OutOfBound) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_OutOfBound) ProtoMessage

func (*Error_OutOfBound) ProtoMessage()

func (*Error_OutOfBound) Reset

func (m *Error_OutOfBound) Reset()

func (*Error_OutOfBound) Size

func (m *Error_OutOfBound) Size() (n int)

func (*Error_OutOfBound) String

func (m *Error_OutOfBound) String() string

func (*Error_OutOfBound) Unmarshal

func (m *Error_OutOfBound) Unmarshal(dAtA []byte) error

func (*Error_OutOfBound) XXX_DiscardUnknown

func (m *Error_OutOfBound) XXX_DiscardUnknown()

func (*Error_OutOfBound) XXX_Marshal

func (m *Error_OutOfBound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error_OutOfBound) XXX_Merge

func (m *Error_OutOfBound) XXX_Merge(src proto.Message)

func (*Error_OutOfBound) XXX_Size

func (m *Error_OutOfBound) XXX_Size() int

func (*Error_OutOfBound) XXX_Unmarshal

func (m *Error_OutOfBound) XXX_Unmarshal(b []byte) error

type Error_OutOfBound_

type Error_OutOfBound_ struct {
	OutOfBound *Error_OutOfBound `protobuf:"bytes,5,opt,name=out_of_bound,json=outOfBound,proto3,oneof" json:"out_of_bound,omitempty"`
}

func (*Error_OutOfBound_) MarshalTo

func (m *Error_OutOfBound_) MarshalTo(dAtA []byte) (int, error)

func (*Error_OutOfBound_) MarshalToSizedBuffer

func (m *Error_OutOfBound_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_OutOfBound_) Size

func (m *Error_OutOfBound_) Size() (n int)

type Error_RaftFail

type Error_RaftFail struct {
	Reason               string   `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error_RaftFail) Descriptor

func (*Error_RaftFail) Descriptor() ([]byte, []int)

func (*Error_RaftFail) GetReason

func (m *Error_RaftFail) GetReason() string

func (*Error_RaftFail) Marshal

func (m *Error_RaftFail) Marshal() (dAtA []byte, err error)

func (*Error_RaftFail) MarshalTo

func (m *Error_RaftFail) MarshalTo(dAtA []byte) (int, error)

func (*Error_RaftFail) MarshalToSizedBuffer

func (m *Error_RaftFail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_RaftFail) ProtoMessage

func (*Error_RaftFail) ProtoMessage()

func (*Error_RaftFail) Reset

func (m *Error_RaftFail) Reset()

func (*Error_RaftFail) Size

func (m *Error_RaftFail) Size() (n int)

func (*Error_RaftFail) String

func (m *Error_RaftFail) String() string

func (*Error_RaftFail) Unmarshal

func (m *Error_RaftFail) Unmarshal(dAtA []byte) error

func (*Error_RaftFail) XXX_DiscardUnknown

func (m *Error_RaftFail) XXX_DiscardUnknown()

func (*Error_RaftFail) XXX_Marshal

func (m *Error_RaftFail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error_RaftFail) XXX_Merge

func (m *Error_RaftFail) XXX_Merge(src proto.Message)

func (*Error_RaftFail) XXX_Size

func (m *Error_RaftFail) XXX_Size() int

func (*Error_RaftFail) XXX_Unmarshal

func (m *Error_RaftFail) XXX_Unmarshal(b []byte) error

type Error_RaftFail_

type Error_RaftFail_ struct {
	RaftFail *Error_RaftFail `protobuf:"bytes,3,opt,name=raft_fail,json=raftFail,proto3,oneof" json:"raft_fail,omitempty"`
}

func (*Error_RaftFail_) MarshalTo

func (m *Error_RaftFail_) MarshalTo(dAtA []byte) (int, error)

func (*Error_RaftFail_) MarshalToSizedBuffer

func (m *Error_RaftFail_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_RaftFail_) Size

func (m *Error_RaftFail_) Size() (n int)

type Error_RangeNotFound

type Error_RangeNotFound struct {
	RangeId              uint64   `protobuf:"varint,1,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error_RangeNotFound) Descriptor

func (*Error_RangeNotFound) Descriptor() ([]byte, []int)

func (*Error_RangeNotFound) GetRangeId

func (m *Error_RangeNotFound) GetRangeId() uint64

func (*Error_RangeNotFound) Marshal

func (m *Error_RangeNotFound) Marshal() (dAtA []byte, err error)

func (*Error_RangeNotFound) MarshalTo

func (m *Error_RangeNotFound) MarshalTo(dAtA []byte) (int, error)

func (*Error_RangeNotFound) MarshalToSizedBuffer

func (m *Error_RangeNotFound) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_RangeNotFound) ProtoMessage

func (*Error_RangeNotFound) ProtoMessage()

func (*Error_RangeNotFound) Reset

func (m *Error_RangeNotFound) Reset()

func (*Error_RangeNotFound) Size

func (m *Error_RangeNotFound) Size() (n int)

func (*Error_RangeNotFound) String

func (m *Error_RangeNotFound) String() string

func (*Error_RangeNotFound) Unmarshal

func (m *Error_RangeNotFound) Unmarshal(dAtA []byte) error

func (*Error_RangeNotFound) XXX_DiscardUnknown

func (m *Error_RangeNotFound) XXX_DiscardUnknown()

func (*Error_RangeNotFound) XXX_Marshal

func (m *Error_RangeNotFound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error_RangeNotFound) XXX_Merge

func (m *Error_RangeNotFound) XXX_Merge(src proto.Message)

func (*Error_RangeNotFound) XXX_Size

func (m *Error_RangeNotFound) XXX_Size() int

func (*Error_RangeNotFound) XXX_Unmarshal

func (m *Error_RangeNotFound) XXX_Unmarshal(b []byte) error

type Error_RangeNotFound_

type Error_RangeNotFound_ struct {
	RangeNotFound *Error_RangeNotFound `protobuf:"bytes,4,opt,name=range_not_found,json=rangeNotFound,proto3,oneof" json:"range_not_found,omitempty"`
}

func (*Error_RangeNotFound_) MarshalTo

func (m *Error_RangeNotFound_) MarshalTo(dAtA []byte) (int, error)

func (*Error_RangeNotFound_) MarshalToSizedBuffer

func (m *Error_RangeNotFound_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_RangeNotFound_) Size

func (m *Error_RangeNotFound_) Size() (n int)

type Error_ServerError

type Error_ServerError struct {
	Msg                  string   `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

all other unspecified error

func (*Error_ServerError) Descriptor

func (*Error_ServerError) Descriptor() ([]byte, []int)

func (*Error_ServerError) GetMsg

func (m *Error_ServerError) GetMsg() string

func (*Error_ServerError) Marshal

func (m *Error_ServerError) Marshal() (dAtA []byte, err error)

func (*Error_ServerError) MarshalTo

func (m *Error_ServerError) MarshalTo(dAtA []byte) (int, error)

func (*Error_ServerError) MarshalToSizedBuffer

func (m *Error_ServerError) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_ServerError) ProtoMessage

func (*Error_ServerError) ProtoMessage()

func (*Error_ServerError) Reset

func (m *Error_ServerError) Reset()

func (*Error_ServerError) Size

func (m *Error_ServerError) Size() (n int)

func (*Error_ServerError) String

func (m *Error_ServerError) String() string

func (*Error_ServerError) Unmarshal

func (m *Error_ServerError) Unmarshal(dAtA []byte) error

func (*Error_ServerError) XXX_DiscardUnknown

func (m *Error_ServerError) XXX_DiscardUnknown()

func (*Error_ServerError) XXX_Marshal

func (m *Error_ServerError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error_ServerError) XXX_Merge

func (m *Error_ServerError) XXX_Merge(src proto.Message)

func (*Error_ServerError) XXX_Size

func (m *Error_ServerError) XXX_Size() int

func (*Error_ServerError) XXX_Unmarshal

func (m *Error_ServerError) XXX_Unmarshal(b []byte) error

type Error_ServerError_

type Error_ServerError_ struct {
	ServerError *Error_ServerError `protobuf:"bytes,8,opt,name=server_error,json=serverError,proto3,oneof" json:"server_error,omitempty"`
}

func (*Error_ServerError_) MarshalTo

func (m *Error_ServerError_) MarshalTo(dAtA []byte) (int, error)

func (*Error_ServerError_) MarshalToSizedBuffer

func (m *Error_ServerError_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_ServerError_) Size

func (m *Error_ServerError_) Size() (n int)

type Error_StaleEpoch

type Error_StaleEpoch struct {
	OldRange             *basepb.Range `protobuf:"bytes,1,opt,name=old_range,json=oldRange,proto3" json:"old_range,omitempty"`
	NewRange             *basepb.Range `protobuf:"bytes,2,opt,name=new_range,json=newRange,proto3" json:"new_range,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Error_StaleEpoch) Descriptor

func (*Error_StaleEpoch) Descriptor() ([]byte, []int)

func (*Error_StaleEpoch) GetNewRange

func (m *Error_StaleEpoch) GetNewRange() *basepb.Range

func (*Error_StaleEpoch) GetOldRange

func (m *Error_StaleEpoch) GetOldRange() *basepb.Range

func (*Error_StaleEpoch) Marshal

func (m *Error_StaleEpoch) Marshal() (dAtA []byte, err error)

func (*Error_StaleEpoch) MarshalTo

func (m *Error_StaleEpoch) MarshalTo(dAtA []byte) (int, error)

func (*Error_StaleEpoch) MarshalToSizedBuffer

func (m *Error_StaleEpoch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_StaleEpoch) ProtoMessage

func (*Error_StaleEpoch) ProtoMessage()

func (*Error_StaleEpoch) Reset

func (m *Error_StaleEpoch) Reset()

func (*Error_StaleEpoch) Size

func (m *Error_StaleEpoch) Size() (n int)

func (*Error_StaleEpoch) String

func (m *Error_StaleEpoch) String() string

func (*Error_StaleEpoch) Unmarshal

func (m *Error_StaleEpoch) Unmarshal(dAtA []byte) error

func (*Error_StaleEpoch) XXX_DiscardUnknown

func (m *Error_StaleEpoch) XXX_DiscardUnknown()

func (*Error_StaleEpoch) XXX_Marshal

func (m *Error_StaleEpoch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error_StaleEpoch) XXX_Merge

func (m *Error_StaleEpoch) XXX_Merge(src proto.Message)

func (*Error_StaleEpoch) XXX_Size

func (m *Error_StaleEpoch) XXX_Size() int

func (*Error_StaleEpoch) XXX_Unmarshal

func (m *Error_StaleEpoch) XXX_Unmarshal(b []byte) error

type Error_StaleEpoch_

type Error_StaleEpoch_ struct {
	StaleEpoch *Error_StaleEpoch `protobuf:"bytes,6,opt,name=stale_epoch,json=staleEpoch,proto3,oneof" json:"stale_epoch,omitempty"`
}

func (*Error_StaleEpoch_) MarshalTo

func (m *Error_StaleEpoch_) MarshalTo(dAtA []byte) (int, error)

func (*Error_StaleEpoch_) MarshalToSizedBuffer

func (m *Error_StaleEpoch_) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error_StaleEpoch_) Size

func (m *Error_StaleEpoch_) Size() (n int)

type Expr

type Expr struct {
	ExprType             ExprType    `protobuf:"varint,1,opt,name=expr_type,json=exprType,proto3,enum=dspb.ExprType" json:"expr_type,omitempty"`
	Column               *ColumnInfo `protobuf:"bytes,2,opt,name=column,proto3" json:"column,omitempty"`
	Value                []byte      `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Child                []*Expr     `protobuf:"bytes,4,rep,name=child,proto3" json:"child,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Expr) Descriptor

func (*Expr) Descriptor() ([]byte, []int)

func (*Expr) GetChild

func (m *Expr) GetChild() []*Expr

func (*Expr) GetColumn

func (m *Expr) GetColumn() *ColumnInfo

func (*Expr) GetExprType

func (m *Expr) GetExprType() ExprType

func (*Expr) GetValue

func (m *Expr) GetValue() []byte

func (*Expr) Marshal

func (m *Expr) Marshal() (dAtA []byte, err error)

func (*Expr) MarshalTo

func (m *Expr) MarshalTo(dAtA []byte) (int, error)

func (*Expr) MarshalToSizedBuffer

func (m *Expr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Expr) ProtoMessage

func (*Expr) ProtoMessage()

func (*Expr) Reset

func (m *Expr) Reset()

func (*Expr) Size

func (m *Expr) Size() (n int)

func (*Expr) String

func (m *Expr) String() string

func (*Expr) Unmarshal

func (m *Expr) Unmarshal(dAtA []byte) error

func (*Expr) XXX_DiscardUnknown

func (m *Expr) XXX_DiscardUnknown()

func (*Expr) XXX_Marshal

func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Expr) XXX_Merge

func (m *Expr) XXX_Merge(src proto.Message)

func (*Expr) XXX_Size

func (m *Expr) XXX_Size() int

func (*Expr) XXX_Unmarshal

func (m *Expr) XXX_Unmarshal(b []byte) error

type ExprType

type ExprType int32
const (
	ExprType_Invalid_Expr  ExprType = 0
	ExprType_Column        ExprType = 1
	ExprType_Const_Int     ExprType = 2
	ExprType_Const_UInt    ExprType = 3
	ExprType_Const_Double  ExprType = 4
	ExprType_Const_Bytes   ExprType = 5
	ExprType_Const_Decimal ExprType = 6
	ExprType_Const_Date    ExprType = 7
	ExprType_Const_Time    ExprType = 8
	ExprType_Equal         ExprType = 20
	ExprType_NotEqual      ExprType = 21
	ExprType_Less          ExprType = 22
	ExprType_LessOrEqual   ExprType = 23
	ExprType_Larger        ExprType = 24
	ExprType_LargerOrEqual ExprType = 25
	// Aggregation
	ExprType_Avg      ExprType = 151
	ExprType_Count    ExprType = 152
	ExprType_Max      ExprType = 153
	ExprType_Min      ExprType = 154
	ExprType_Sum      ExprType = 155
	ExprType_Std      ExprType = 156
	ExprType_Distinct ExprType = 157
	// Logical Operators
	ExprType_LogicAnd      ExprType = 201
	ExprType_LogicOr       ExprType = 202
	ExprType_LogicNot      ExprType = 203
	ExprType_LogicXor      ExprType = 204
	ExprType_UnaryNot      ExprType = 205
	ExprType_UnaryMinus    ExprType = 206
	ExprType_IsNull        ExprType = 207
	ExprType_DecimalIsNull ExprType = 208
	ExprType_DateIsNull    ExprType = 209
	ExprType_RealIsNull    ExprType = 210
	ExprType_StringIsNull  ExprType = 211
	ExprType_TimeIsNull    ExprType = 212
	ExprType_IntIsNull     ExprType = 213
	ExprType_JsonIsNull    ExprType = 214
	ExprType_IsNotNull     ExprType = 215
	ExprType_IsTrue        ExprType = 216
	ExprType_IsFalse       ExprType = 217
	ExprType_LeftShift     ExprType = 218
	ExprType_RightShift    ExprType = 219
	// casting
	ExprType_CastIntToInt         ExprType = 301
	ExprType_CastIntToReal        ExprType = 302
	ExprType_CastIntToString      ExprType = 303
	ExprType_CastIntToDecimal     ExprType = 304
	ExprType_CastIntToTime        ExprType = 305
	ExprType_CastIntToDate        ExprType = 306
	ExprType_CastIntToJson        ExprType = 307
	ExprType_CastRealToInt        ExprType = 308
	ExprType_CastRealToReal       ExprType = 309
	ExprType_CastRealToString     ExprType = 310
	ExprType_CastRealToDecimal    ExprType = 311
	ExprType_CastRealToTime       ExprType = 312
	ExprType_CastRealToDate       ExprType = 313
	ExprType_CastRealToJson       ExprType = 314
	ExprType_CastDecimalToInt     ExprType = 315
	ExprType_CastDecimalToReal    ExprType = 316
	ExprType_CastDecimalToString  ExprType = 317
	ExprType_CastDecimalToDecimal ExprType = 318
	ExprType_CastDecimalToTime    ExprType = 319
	ExprType_CastDecimalToDate    ExprType = 320
	ExprType_CastDecimalToJson    ExprType = 321
	ExprType_CastStringToInt      ExprType = 322
	ExprType_CastStringToReal     ExprType = 323
	ExprType_CastStringToString   ExprType = 324
	ExprType_CastStringToDecimal  ExprType = 325
	ExprType_CastStringToTime     ExprType = 326
	ExprType_CastStringToDate     ExprType = 327
	ExprType_CastStringToJson     ExprType = 328
	ExprType_CastTimeToInt        ExprType = 329
	ExprType_CastTimeToReal       ExprType = 330
	ExprType_CastTimeToString     ExprType = 331
	ExprType_CastTimeToDecimal    ExprType = 332
	ExprType_CastTimeToTime       ExprType = 333
	ExprType_CastTimeToDate       ExprType = 334
	ExprType_CastTimeToJson       ExprType = 335
	ExprType_CastDateToInt        ExprType = 336
	ExprType_CastDateToReal       ExprType = 337
	ExprType_CastDateToString     ExprType = 338
	ExprType_CastDateToDecimal    ExprType = 339
	ExprType_CastDateToTime       ExprType = 340
	ExprType_CastDateToDate       ExprType = 341
	ExprType_CastDateToJson       ExprType = 342
	ExprType_CastJsonToInt        ExprType = 343
	ExprType_CastJsonToReal       ExprType = 344
	ExprType_CastJsonToString     ExprType = 345
	ExprType_CastJsonToDecimal    ExprType = 346
	ExprType_CastJsonToTime       ExprType = 347
	ExprType_CastJsonToDate       ExprType = 348
	ExprType_CastJsonToJson       ExprType = 349
	// Comparison Functions and Operators
	ExprType_Coalesce              ExprType = 401
	ExprType_EqualInt              ExprType = 402
	ExprType_EqualReal             ExprType = 403
	ExprType_EqualString           ExprType = 404
	ExprType_EqualDecimal          ExprType = 405
	ExprType_EqualTime             ExprType = 406
	ExprType_EqualDate             ExprType = 407
	ExprType_EqualJson             ExprType = 408
	ExprType_NotEqualInt           ExprType = 409
	ExprType_NotEqualReal          ExprType = 410
	ExprType_NotEqualDecimal       ExprType = 411
	ExprType_NotEqualString        ExprType = 412
	ExprType_NotEqualTime          ExprType = 413
	ExprType_NotEqualDate          ExprType = 414
	ExprType_NotEqualJson          ExprType = 415
	ExprType_LessInt               ExprType = 416
	ExprType_LessReal              ExprType = 417
	ExprType_LessDecimal           ExprType = 418
	ExprType_LessString            ExprType = 419
	ExprType_LessTime              ExprType = 420
	ExprType_LessDate              ExprType = 421
	ExprType_LessJson              ExprType = 422
	ExprType_LessOrEqualInt        ExprType = 423
	ExprType_LessOrEqualReal       ExprType = 424
	ExprType_LessOrEqualDecimal    ExprType = 425
	ExprType_LessOrEqualString     ExprType = 426
	ExprType_LessOrEqualTime       ExprType = 427
	ExprType_LessOrEqualDate       ExprType = 428
	ExprType_LessOrEqualJson       ExprType = 429
	ExprType_GreaterInt            ExprType = 430
	ExprType_GreaterReal           ExprType = 431
	ExprType_GreaterDecimal        ExprType = 432
	ExprType_GreaterString         ExprType = 433
	ExprType_GreaterTime           ExprType = 434
	ExprType_GreaterDate           ExprType = 435
	ExprType_GreaterJson           ExprType = 436
	ExprType_GreaterOrEqualInt     ExprType = 437
	ExprType_GreaterOrEqualReal    ExprType = 438
	ExprType_GreaterOrEqualDecimal ExprType = 439
	ExprType_GreaterOrEqualString  ExprType = 440
	ExprType_GreaterOrEqualTime    ExprType = 441
	ExprType_GreaterOrEqualDate    ExprType = 442
	ExprType_GreaterOrEqualJson    ExprType = 443
	ExprType_Like                  ExprType = 444
	ExprType_NotLike               ExprType = 445
	ExprType_RegexpLike            ExprType = 446
	ExprType_Regexp                ExprType = 447
	ExprType_NotRegexp             ExprType = 448
	ExprType_IN                    ExprType = 449
	// Arithmetic Operator
	ExprType_Plus            ExprType = 551
	ExprType_PlusReal        ExprType = 552
	ExprType_PlusDecimal     ExprType = 553
	ExprType_PlusInt         ExprType = 554
	ExprType_Minus           ExprType = 561
	ExprType_MinusReal       ExprType = 562
	ExprType_MinusDecimal    ExprType = 563
	ExprType_MinusInt        ExprType = 564
	ExprType_Mult            ExprType = 571
	ExprType_MultReal        ExprType = 572
	ExprType_MultDecimal     ExprType = 573
	ExprType_MultInt         ExprType = 574
	ExprType_MultIntUnsigned ExprType = 575
	ExprType_Div             ExprType = 581
	ExprType_DivReal         ExprType = 582
	ExprType_DivDecimal      ExprType = 583
	ExprType_IntDivInt       ExprType = 584
	ExprType_IntDivDecimal   ExprType = 585
	ExprType_Mod             ExprType = 591
	ExprType_ModReal         ExprType = 592
	ExprType_ModDecimal      ExprType = 593
	ExprType_ModInt          ExprType = 594
	// Mathematical Functions
	ExprType_Abs      ExprType = 701
	ExprType_Ceil     ExprType = 702
	ExprType_Floor    ExprType = 703
	ExprType_Round    ExprType = 704
	ExprType_Rand     ExprType = 705
	ExprType_Conv     ExprType = 706
	ExprType_CRC32    ExprType = 707
	ExprType_Degrees  ExprType = 708
	ExprType_Exp      ExprType = 709
	ExprType_Acos     ExprType = 710
	ExprType_Asin     ExprType = 711
	ExprType_Atan     ExprType = 712
	ExprType_Atan2    ExprType = 713
	ExprType_Cos      ExprType = 714
	ExprType_Cot      ExprType = 715
	ExprType_Ln       ExprType = 716
	ExprType_Log      ExprType = 717
	ExprType_Log10    ExprType = 718
	ExprType_Log2     ExprType = 719
	ExprType_PI       ExprType = 720
	ExprType_Pow      ExprType = 721
	ExprType_Radians  ExprType = 722
	ExprType_Sign     ExprType = 723
	ExprType_Sin      ExprType = 724
	ExprType_Sqrt     ExprType = 725
	ExprType_Tan      ExprType = 726
	ExprType_Truncate ExprType = 727
	// control flow functions
	ExprType_CaseWhen   ExprType = 751
	ExprType_If         ExprType = 752
	ExprType_IfInt      ExprType = 753
	ExprType_IfReal     ExprType = 754
	ExprType_IfDecimal  ExprType = 755
	ExprType_IfString   ExprType = 756
	ExprType_IfTime     ExprType = 757
	ExprType_IfDate     ExprType = 758
	ExprType_IfNullJson ExprType = 759
	ExprType_IfJson     ExprType = 760
	ExprType_IfNull     ExprType = 761
	// Encryption and Compression Functions
	ExprType_Aes_decrypt ExprType = 901
	ExprType_Aes_encrypt ExprType = 902
	ExprType_Compress    ExprType = 903
	ExprType_Uncompress  ExprType = 904
	ExprType_Md5         ExprType = 905
	ExprType_Password    ExprType = 906
	ExprType_SHA1        ExprType = 907
	ExprType_SHA2        ExprType = 908
	// String Comparison Functions and Operators
	ExprType_Ascii            ExprType = 1201
	ExprType_Bin              ExprType = 1202
	ExprType_Bit_length       ExprType = 1203
	ExprType_Char             ExprType = 1204
	ExprType_Char_length      ExprType = 1205
	ExprType_Character_length ExprType = 1206
	ExprType_Concat           ExprType = 1207
	ExprType_Concat_ws        ExprType = 1208
	ExprType_Elt              ExprType = 1209
	ExprType_Export_set       ExprType = 1210
	ExprType_Field            ExprType = 1211
	ExprType_Find_in_set      ExprType = 1212
	ExprType_Format           ExprType = 1213
	ExprType_From_base64      ExprType = 1214
	ExprType_Hex              ExprType = 1215
	ExprType_Insert           ExprType = 1216
	ExprType_Instr            ExprType = 1217
	ExprType_Lcase            ExprType = 1218
	ExprType_Left             ExprType = 1219
	ExprType_Length           ExprType = 1220
	ExprType_Str_Like         ExprType = 1221
	ExprType_Load_file        ExprType = 1222
	ExprType_Locate           ExprType = 1223
	ExprType_Lower            ExprType = 1224
	ExprType_Lpad             ExprType = 1225
	ExprType_Ltrim            ExprType = 1226
	ExprType_Make_set         ExprType = 1227
	ExprType_Match            ExprType = 1228
	ExprType_Mid              ExprType = 1229
	ExprType_Str_Not_like     ExprType = 1230
	ExprType_Str_Not_regexp   ExprType = 1231
	ExprType_Oct              ExprType = 1232
	ExprType_Octet_length     ExprType = 1233
	ExprType_Ord              ExprType = 1234
	ExprType_Position         ExprType = 1235
	ExprType_Quote            ExprType = 1236
	ExprType_StrRegexp        ExprType = 1237
	ExprType_Repeat           ExprType = 1238
	ExprType_Replace          ExprType = 1239
	ExprType_Reverse          ExprType = 1240
	ExprType_Right            ExprType = 1241
	ExprType_Rlike            ExprType = 1242
	ExprType_Rpad             ExprType = 1243
	ExprType_Rtrim            ExprType = 1244
	ExprType_Soundex          ExprType = 1245
	ExprType_SoundsLike       ExprType = 1246
	ExprType_Space            ExprType = 1247
	ExprType_Strcmp           ExprType = 1248
	ExprType_Substr           ExprType = 1249
	ExprType_Substring        ExprType = 1250
	ExprType_SubstringIndex   ExprType = 1251
	ExprType_ToBase64         ExprType = 1252
	ExprType_Trim             ExprType = 1253
	ExprType_Ucase            ExprType = 1254
	ExprType_Unhex            ExprType = 1255
	ExprType_Upper            ExprType = 1256
	ExprType_WeightString     ExprType = 1257
	// Date and Time Functions
	ExprType_Adddate          ExprType = 2001
	ExprType_Addtime          ExprType = 2002
	ExprType_Convert_tz       ExprType = 2003
	ExprType_Curdate          ExprType = 2004
	ExprType_CurrentDate      ExprType = 2005
	ExprType_CurrentTime      ExprType = 2006
	ExprType_CurrentTimestamp ExprType = 2007
	ExprType_Curtime          ExprType = 2008
	ExprType_Date             ExprType = 2009
	ExprType_Date_add         ExprType = 2010
	ExprType_Date_format      ExprType = 2011
	ExprType_Date_sub         ExprType = 2012
	ExprType_Datediff         ExprType = 2013
	ExprType_Day              ExprType = 2014
	ExprType_Dayname          ExprType = 2015
	ExprType_Dayofmonth       ExprType = 2016
	ExprType_Dayofweek        ExprType = 2017
	ExprType_Dayofyear        ExprType = 2018
	ExprType_Extract          ExprType = 2019
	ExprType_From_days        ExprType = 2020
	ExprType_From_unixtime    ExprType = 2021
	ExprType_Get_format       ExprType = 2022
	ExprType_Hour             ExprType = 2023
	ExprType_Last_day         ExprType = 2024
	ExprType_Localtime        ExprType = 2025
	ExprType_Localtimestamp   ExprType = 2026
	ExprType_Makedate         ExprType = 2027
	ExprType_Maketime         ExprType = 2028
	ExprType_Microsecond      ExprType = 2029
	ExprType_Minute           ExprType = 2030
	ExprType_Month            ExprType = 2031
	ExprType_Monthname        ExprType = 2032
	ExprType_Now              ExprType = 2033
	ExprType_Period_add       ExprType = 2034
	ExprType_Period_diff      ExprType = 2035
	ExprType_Quarter          ExprType = 2036
	ExprType_Sec_to_time      ExprType = 2037
	ExprType_Second           ExprType = 2038
	ExprType_Str_to_date      ExprType = 2039
	ExprType_Subdate          ExprType = 2040
	ExprType_Subtime          ExprType = 2041
	ExprType_Sysdate          ExprType = 2042
	ExprType_Time             ExprType = 2043
	ExprType_Time_format      ExprType = 2044
	ExprType_Time_to_sec      ExprType = 2045
	ExprType_Timediff         ExprType = 2046
	ExprType_Timestamp        ExprType = 2047
	ExprType_Timestampadd     ExprType = 2048
	ExprType_Timestampdiff    ExprType = 2049
	ExprType_To_days          ExprType = 2050
	ExprType_To_seconds       ExprType = 2051
	ExprType_Unix_timestamp   ExprType = 2052
	ExprType_Utc_date         ExprType = 2053
	ExprType_Utc_time         ExprType = 2054
	ExprType_Utc_timestamp    ExprType = 2055
	ExprType_Week             ExprType = 2056
	ExprType_Weekday          ExprType = 2057
	ExprType_Weekofyear       ExprType = 2058
	ExprType_Year             ExprType = 2059
	ExprType_Yearweek         ExprType = 2060
)

func (ExprType) EnumDescriptor

func (ExprType) EnumDescriptor() ([]byte, []int)

func (ExprType) String

func (x ExprType) String() string

type FlushDBRequest

type FlushDBRequest struct {
	Wait                 bool     `protobuf:"varint,1,opt,name=wait,proto3" json:"wait,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FlushDBRequest) Descriptor

func (*FlushDBRequest) Descriptor() ([]byte, []int)

func (*FlushDBRequest) GetWait

func (m *FlushDBRequest) GetWait() bool

func (*FlushDBRequest) Marshal

func (m *FlushDBRequest) Marshal() (dAtA []byte, err error)

func (*FlushDBRequest) MarshalTo

func (m *FlushDBRequest) MarshalTo(dAtA []byte) (int, error)

func (*FlushDBRequest) MarshalToSizedBuffer

func (m *FlushDBRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FlushDBRequest) ProtoMessage

func (*FlushDBRequest) ProtoMessage()

func (*FlushDBRequest) Reset

func (m *FlushDBRequest) Reset()

func (*FlushDBRequest) Size

func (m *FlushDBRequest) Size() (n int)

func (*FlushDBRequest) String

func (m *FlushDBRequest) String() string

func (*FlushDBRequest) Unmarshal

func (m *FlushDBRequest) Unmarshal(dAtA []byte) error

func (*FlushDBRequest) XXX_DiscardUnknown

func (m *FlushDBRequest) XXX_DiscardUnknown()

func (*FlushDBRequest) XXX_Marshal

func (m *FlushDBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FlushDBRequest) XXX_Merge

func (m *FlushDBRequest) XXX_Merge(src proto.Message)

func (*FlushDBRequest) XXX_Size

func (m *FlushDBRequest) XXX_Size() int

func (*FlushDBRequest) XXX_Unmarshal

func (m *FlushDBRequest) XXX_Unmarshal(b []byte) error

type FlushDBResponse

type FlushDBResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FlushDBResponse) Descriptor

func (*FlushDBResponse) Descriptor() ([]byte, []int)

func (*FlushDBResponse) Marshal

func (m *FlushDBResponse) Marshal() (dAtA []byte, err error)

func (*FlushDBResponse) MarshalTo

func (m *FlushDBResponse) MarshalTo(dAtA []byte) (int, error)

func (*FlushDBResponse) MarshalToSizedBuffer

func (m *FlushDBResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FlushDBResponse) ProtoMessage

func (*FlushDBResponse) ProtoMessage()

func (*FlushDBResponse) Reset

func (m *FlushDBResponse) Reset()

func (*FlushDBResponse) Size

func (m *FlushDBResponse) Size() (n int)

func (*FlushDBResponse) String

func (m *FlushDBResponse) String() string

func (*FlushDBResponse) Unmarshal

func (m *FlushDBResponse) Unmarshal(dAtA []byte) error

func (*FlushDBResponse) XXX_DiscardUnknown

func (m *FlushDBResponse) XXX_DiscardUnknown()

func (*FlushDBResponse) XXX_Marshal

func (m *FlushDBResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FlushDBResponse) XXX_Merge

func (m *FlushDBResponse) XXX_Merge(src proto.Message)

func (*FlushDBResponse) XXX_Size

func (m *FlushDBResponse) XXX_Size() int

func (*FlushDBResponse) XXX_Unmarshal

func (m *FlushDBResponse) XXX_Unmarshal(b []byte) error

type ForceSplitRequest

type ForceSplitRequest struct {
	RangeId              uint64   `protobuf:"varint,1,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	Version              uint64   `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForceSplitRequest) Descriptor

func (*ForceSplitRequest) Descriptor() ([]byte, []int)

func (*ForceSplitRequest) GetRangeId

func (m *ForceSplitRequest) GetRangeId() uint64

func (*ForceSplitRequest) GetVersion

func (m *ForceSplitRequest) GetVersion() uint64

func (*ForceSplitRequest) Marshal

func (m *ForceSplitRequest) Marshal() (dAtA []byte, err error)

func (*ForceSplitRequest) MarshalTo

func (m *ForceSplitRequest) MarshalTo(dAtA []byte) (int, error)

func (*ForceSplitRequest) MarshalToSizedBuffer

func (m *ForceSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForceSplitRequest) ProtoMessage

func (*ForceSplitRequest) ProtoMessage()

func (*ForceSplitRequest) Reset

func (m *ForceSplitRequest) Reset()

func (*ForceSplitRequest) Size

func (m *ForceSplitRequest) Size() (n int)

func (*ForceSplitRequest) String

func (m *ForceSplitRequest) String() string

func (*ForceSplitRequest) Unmarshal

func (m *ForceSplitRequest) Unmarshal(dAtA []byte) error

func (*ForceSplitRequest) XXX_DiscardUnknown

func (m *ForceSplitRequest) XXX_DiscardUnknown()

func (*ForceSplitRequest) XXX_Marshal

func (m *ForceSplitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForceSplitRequest) XXX_Merge

func (m *ForceSplitRequest) XXX_Merge(src proto.Message)

func (*ForceSplitRequest) XXX_Size

func (m *ForceSplitRequest) XXX_Size() int

func (*ForceSplitRequest) XXX_Unmarshal

func (m *ForceSplitRequest) XXX_Unmarshal(b []byte) error

type ForceSplitResponse

type ForceSplitResponse struct {
	SplitKey             []byte   `protobuf:"bytes,1,opt,name=split_key,json=splitKey,proto3" json:"split_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForceSplitResponse) Descriptor

func (*ForceSplitResponse) Descriptor() ([]byte, []int)

func (*ForceSplitResponse) GetSplitKey

func (m *ForceSplitResponse) GetSplitKey() []byte

func (*ForceSplitResponse) Marshal

func (m *ForceSplitResponse) Marshal() (dAtA []byte, err error)

func (*ForceSplitResponse) MarshalTo

func (m *ForceSplitResponse) MarshalTo(dAtA []byte) (int, error)

func (*ForceSplitResponse) MarshalToSizedBuffer

func (m *ForceSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForceSplitResponse) ProtoMessage

func (*ForceSplitResponse) ProtoMessage()

func (*ForceSplitResponse) Reset

func (m *ForceSplitResponse) Reset()

func (*ForceSplitResponse) Size

func (m *ForceSplitResponse) Size() (n int)

func (*ForceSplitResponse) String

func (m *ForceSplitResponse) String() string

func (*ForceSplitResponse) Unmarshal

func (m *ForceSplitResponse) Unmarshal(dAtA []byte) error

func (*ForceSplitResponse) XXX_DiscardUnknown

func (m *ForceSplitResponse) XXX_DiscardUnknown()

func (*ForceSplitResponse) XXX_Marshal

func (m *ForceSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForceSplitResponse) XXX_Merge

func (m *ForceSplitResponse) XXX_Merge(src proto.Message)

func (*ForceSplitResponse) XXX_Size

func (m *ForceSplitResponse) XXX_Size() int

func (*ForceSplitResponse) XXX_Unmarshal

func (m *ForceSplitResponse) XXX_Unmarshal(b []byte) error

type FunctionID

type FunctionID int32
const (
	FunctionID_kFuncHeartbeat    FunctionID = 0
	FunctionID_kFuncRangeRequest FunctionID = 1
	FunctionID_kFuncSchedule     FunctionID = 2
	FunctionID_kFuncAdmin        FunctionID = 3
)

func (FunctionID) EnumDescriptor

func (FunctionID) EnumDescriptor() ([]byte, []int)

func (FunctionID) String

func (x FunctionID) String() string

type GetConfigRequest

type GetConfigRequest struct {
	Key                  []*ConfigKey `protobuf:"bytes,1,rep,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetConfigRequest) Descriptor

func (*GetConfigRequest) Descriptor() ([]byte, []int)

func (*GetConfigRequest) GetKey

func (m *GetConfigRequest) GetKey() []*ConfigKey

func (*GetConfigRequest) Marshal

func (m *GetConfigRequest) Marshal() (dAtA []byte, err error)

func (*GetConfigRequest) MarshalTo

func (m *GetConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetConfigRequest) MarshalToSizedBuffer

func (m *GetConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) Reset

func (m *GetConfigRequest) Reset()

func (*GetConfigRequest) Size

func (m *GetConfigRequest) Size() (n int)

func (*GetConfigRequest) String

func (m *GetConfigRequest) String() string

func (*GetConfigRequest) Unmarshal

func (m *GetConfigRequest) Unmarshal(dAtA []byte) error

func (*GetConfigRequest) XXX_DiscardUnknown

func (m *GetConfigRequest) XXX_DiscardUnknown()

func (*GetConfigRequest) XXX_Marshal

func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetConfigRequest) XXX_Merge

func (m *GetConfigRequest) XXX_Merge(src proto.Message)

func (*GetConfigRequest) XXX_Size

func (m *GetConfigRequest) XXX_Size() int

func (*GetConfigRequest) XXX_Unmarshal

func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error

type GetConfigResponse

type GetConfigResponse struct {
	Configs              []*ConfigItem `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GetConfigResponse) Descriptor

func (*GetConfigResponse) Descriptor() ([]byte, []int)

func (*GetConfigResponse) GetConfigs

func (m *GetConfigResponse) GetConfigs() []*ConfigItem

func (*GetConfigResponse) Marshal

func (m *GetConfigResponse) Marshal() (dAtA []byte, err error)

func (*GetConfigResponse) MarshalTo

func (m *GetConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetConfigResponse) MarshalToSizedBuffer

func (m *GetConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetConfigResponse) ProtoMessage

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) Reset

func (m *GetConfigResponse) Reset()

func (*GetConfigResponse) Size

func (m *GetConfigResponse) Size() (n int)

func (*GetConfigResponse) String

func (m *GetConfigResponse) String() string

func (*GetConfigResponse) Unmarshal

func (m *GetConfigResponse) Unmarshal(dAtA []byte) error

func (*GetConfigResponse) XXX_DiscardUnknown

func (m *GetConfigResponse) XXX_DiscardUnknown()

func (*GetConfigResponse) XXX_Marshal

func (m *GetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetConfigResponse) XXX_Merge

func (m *GetConfigResponse) XXX_Merge(src proto.Message)

func (*GetConfigResponse) XXX_Size

func (m *GetConfigResponse) XXX_Size() int

func (*GetConfigResponse) XXX_Unmarshal

func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error

type GetInfoRequest

type GetInfoRequest struct {
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

path: diffent types that caller care about eg: rocksdb, rocksdb.cache-usage,

server, server.version, server.start
raft, raft.{range_id}

if path is empty, will return server's status summary

func (*GetInfoRequest) Descriptor

func (*GetInfoRequest) Descriptor() ([]byte, []int)

func (*GetInfoRequest) GetPath

func (m *GetInfoRequest) GetPath() string

func (*GetInfoRequest) Marshal

func (m *GetInfoRequest) Marshal() (dAtA []byte, err error)

func (*GetInfoRequest) MarshalTo

func (m *GetInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetInfoRequest) MarshalToSizedBuffer

func (m *GetInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) Reset

func (m *GetInfoRequest) Reset()

func (*GetInfoRequest) Size

func (m *GetInfoRequest) Size() (n int)

func (*GetInfoRequest) String

func (m *GetInfoRequest) String() string

func (*GetInfoRequest) Unmarshal

func (m *GetInfoRequest) Unmarshal(dAtA []byte) error

func (*GetInfoRequest) XXX_DiscardUnknown

func (m *GetInfoRequest) XXX_DiscardUnknown()

func (*GetInfoRequest) XXX_Marshal

func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInfoRequest) XXX_Merge

func (m *GetInfoRequest) XXX_Merge(src proto.Message)

func (*GetInfoRequest) XXX_Size

func (m *GetInfoRequest) XXX_Size() int

func (*GetInfoRequest) XXX_Unmarshal

func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error

type GetInfoResponse

type GetInfoResponse struct {
	Data                 string   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetInfoResponse) Descriptor

func (*GetInfoResponse) Descriptor() ([]byte, []int)

func (*GetInfoResponse) GetData

func (m *GetInfoResponse) GetData() string

func (*GetInfoResponse) Marshal

func (m *GetInfoResponse) Marshal() (dAtA []byte, err error)

func (*GetInfoResponse) MarshalTo

func (m *GetInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetInfoResponse) MarshalToSizedBuffer

func (m *GetInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) Reset

func (m *GetInfoResponse) Reset()

func (*GetInfoResponse) Size

func (m *GetInfoResponse) Size() (n int)

func (*GetInfoResponse) String

func (m *GetInfoResponse) String() string

func (*GetInfoResponse) Unmarshal

func (m *GetInfoResponse) Unmarshal(dAtA []byte) error

func (*GetInfoResponse) XXX_DiscardUnknown

func (m *GetInfoResponse) XXX_DiscardUnknown()

func (*GetInfoResponse) XXX_Marshal

func (m *GetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetInfoResponse) XXX_Merge

func (m *GetInfoResponse) XXX_Merge(src proto.Message)

func (*GetInfoResponse) XXX_Size

func (m *GetInfoResponse) XXX_Size() int

func (*GetInfoResponse) XXX_Unmarshal

func (m *GetInfoResponse) XXX_Unmarshal(b []byte) error

type GetLockInfoRequest

type GetLockInfoRequest struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	TxnId                string   `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetLockInfoRequest) Descriptor

func (*GetLockInfoRequest) Descriptor() ([]byte, []int)

func (*GetLockInfoRequest) GetKey

func (m *GetLockInfoRequest) GetKey() []byte

func (*GetLockInfoRequest) GetTxnId

func (m *GetLockInfoRequest) GetTxnId() string

func (*GetLockInfoRequest) Marshal

func (m *GetLockInfoRequest) Marshal() (dAtA []byte, err error)

func (*GetLockInfoRequest) MarshalTo

func (m *GetLockInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetLockInfoRequest) MarshalToSizedBuffer

func (m *GetLockInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetLockInfoRequest) ProtoMessage

func (*GetLockInfoRequest) ProtoMessage()

func (*GetLockInfoRequest) Reset

func (m *GetLockInfoRequest) Reset()

func (*GetLockInfoRequest) Size

func (m *GetLockInfoRequest) Size() (n int)

func (*GetLockInfoRequest) String

func (m *GetLockInfoRequest) String() string

func (*GetLockInfoRequest) Unmarshal

func (m *GetLockInfoRequest) Unmarshal(dAtA []byte) error

func (*GetLockInfoRequest) XXX_DiscardUnknown

func (m *GetLockInfoRequest) XXX_DiscardUnknown()

func (*GetLockInfoRequest) XXX_Marshal

func (m *GetLockInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetLockInfoRequest) XXX_Merge

func (m *GetLockInfoRequest) XXX_Merge(src proto.Message)

func (*GetLockInfoRequest) XXX_Size

func (m *GetLockInfoRequest) XXX_Size() int

func (*GetLockInfoRequest) XXX_Unmarshal

func (m *GetLockInfoRequest) XXX_Unmarshal(b []byte) error

type GetLockInfoResponse

type GetLockInfoResponse struct {
	Err                  *TxnError `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
	Info                 *LockInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetLockInfoResponse) Descriptor

func (*GetLockInfoResponse) Descriptor() ([]byte, []int)

func (*GetLockInfoResponse) GetErr

func (m *GetLockInfoResponse) GetErr() *TxnError

func (*GetLockInfoResponse) GetInfo

func (m *GetLockInfoResponse) GetInfo() *LockInfo

func (*GetLockInfoResponse) Marshal

func (m *GetLockInfoResponse) Marshal() (dAtA []byte, err error)

func (*GetLockInfoResponse) MarshalTo

func (m *GetLockInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetLockInfoResponse) MarshalToSizedBuffer

func (m *GetLockInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetLockInfoResponse) ProtoMessage

func (*GetLockInfoResponse) ProtoMessage()

func (*GetLockInfoResponse) Reset

func (m *GetLockInfoResponse) Reset()

func (*GetLockInfoResponse) Size

func (m *GetLockInfoResponse) Size() (n int)

func (*GetLockInfoResponse) String

func (m *GetLockInfoResponse) String() string

func (*GetLockInfoResponse) Unmarshal

func (m *GetLockInfoResponse) Unmarshal(dAtA []byte) error

func (*GetLockInfoResponse) XXX_DiscardUnknown

func (m *GetLockInfoResponse) XXX_DiscardUnknown()

func (*GetLockInfoResponse) XXX_Marshal

func (m *GetLockInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetLockInfoResponse) XXX_Merge

func (m *GetLockInfoResponse) XXX_Merge(src proto.Message)

func (*GetLockInfoResponse) XXX_Size

func (m *GetLockInfoResponse) XXX_Size() int

func (*GetLockInfoResponse) XXX_Unmarshal

func (m *GetLockInfoResponse) XXX_Unmarshal(b []byte) error

type GetPeerInfoRequest

type GetPeerInfoRequest struct {
	RangeId              uint64   `protobuf:"varint,1,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetPeerInfo

func (*GetPeerInfoRequest) Descriptor

func (*GetPeerInfoRequest) Descriptor() ([]byte, []int)

func (*GetPeerInfoRequest) GetRangeId

func (m *GetPeerInfoRequest) GetRangeId() uint64

func (*GetPeerInfoRequest) Marshal

func (m *GetPeerInfoRequest) Marshal() (dAtA []byte, err error)

func (*GetPeerInfoRequest) MarshalTo

func (m *GetPeerInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetPeerInfoRequest) MarshalToSizedBuffer

func (m *GetPeerInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetPeerInfoRequest) ProtoMessage

func (*GetPeerInfoRequest) ProtoMessage()

func (*GetPeerInfoRequest) Reset

func (m *GetPeerInfoRequest) Reset()

func (*GetPeerInfoRequest) Size

func (m *GetPeerInfoRequest) Size() (n int)

func (*GetPeerInfoRequest) String

func (m *GetPeerInfoRequest) String() string

func (*GetPeerInfoRequest) Unmarshal

func (m *GetPeerInfoRequest) Unmarshal(dAtA []byte) error

func (*GetPeerInfoRequest) XXX_DiscardUnknown

func (m *GetPeerInfoRequest) XXX_DiscardUnknown()

func (*GetPeerInfoRequest) XXX_Marshal

func (m *GetPeerInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPeerInfoRequest) XXX_Merge

func (m *GetPeerInfoRequest) XXX_Merge(src proto.Message)

func (*GetPeerInfoRequest) XXX_Size

func (m *GetPeerInfoRequest) XXX_Size() int

func (*GetPeerInfoRequest) XXX_Unmarshal

func (m *GetPeerInfoRequest) XXX_Unmarshal(b []byte) error

type GetPeerInfoResponse

type GetPeerInfoResponse struct {
	Replica              *basepb.Replica `protobuf:"bytes,1,opt,name=replica,proto3" json:"replica,omitempty"`
	Index                uint64          `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Term                 uint64          `protobuf:"varint,3,opt,name=term,proto3" json:"term,omitempty"`
	Commit               uint64          `protobuf:"varint,4,opt,name=commit,proto3" json:"commit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetPeerInfoResponse) Descriptor

func (*GetPeerInfoResponse) Descriptor() ([]byte, []int)

func (*GetPeerInfoResponse) GetCommit

func (m *GetPeerInfoResponse) GetCommit() uint64

func (*GetPeerInfoResponse) GetIndex

func (m *GetPeerInfoResponse) GetIndex() uint64

func (*GetPeerInfoResponse) GetReplica

func (m *GetPeerInfoResponse) GetReplica() *basepb.Replica

func (*GetPeerInfoResponse) GetTerm

func (m *GetPeerInfoResponse) GetTerm() uint64

func (*GetPeerInfoResponse) Marshal

func (m *GetPeerInfoResponse) Marshal() (dAtA []byte, err error)

func (*GetPeerInfoResponse) MarshalTo

func (m *GetPeerInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetPeerInfoResponse) MarshalToSizedBuffer

func (m *GetPeerInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetPeerInfoResponse) ProtoMessage

func (*GetPeerInfoResponse) ProtoMessage()

func (*GetPeerInfoResponse) Reset

func (m *GetPeerInfoResponse) Reset()

func (*GetPeerInfoResponse) Size

func (m *GetPeerInfoResponse) Size() (n int)

func (*GetPeerInfoResponse) String

func (m *GetPeerInfoResponse) String() string

func (*GetPeerInfoResponse) Unmarshal

func (m *GetPeerInfoResponse) Unmarshal(dAtA []byte) error

func (*GetPeerInfoResponse) XXX_DiscardUnknown

func (m *GetPeerInfoResponse) XXX_DiscardUnknown()

func (*GetPeerInfoResponse) XXX_Marshal

func (m *GetPeerInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPeerInfoResponse) XXX_Merge

func (m *GetPeerInfoResponse) XXX_Merge(src proto.Message)

func (*GetPeerInfoResponse) XXX_Size

func (m *GetPeerInfoResponse) XXX_Size() int

func (*GetPeerInfoResponse) XXX_Unmarshal

func (m *GetPeerInfoResponse) XXX_Unmarshal(b []byte) error

type GetPendingsRequest

type GetPendingsRequest struct {
	Ptype                GetPendingsRequest_PendingType `protobuf:"varint,1,opt,name=ptype,proto3,enum=dspb.GetPendingsRequest_PendingType" json:"ptype,omitempty"`
	Count                uint64                         `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*GetPendingsRequest) Descriptor

func (*GetPendingsRequest) Descriptor() ([]byte, []int)

func (*GetPendingsRequest) GetCount

func (m *GetPendingsRequest) GetCount() uint64

func (*GetPendingsRequest) GetPtype

func (*GetPendingsRequest) Marshal

func (m *GetPendingsRequest) Marshal() (dAtA []byte, err error)

func (*GetPendingsRequest) MarshalTo

func (m *GetPendingsRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetPendingsRequest) MarshalToSizedBuffer

func (m *GetPendingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetPendingsRequest) ProtoMessage

func (*GetPendingsRequest) ProtoMessage()

func (*GetPendingsRequest) Reset

func (m *GetPendingsRequest) Reset()

func (*GetPendingsRequest) Size

func (m *GetPendingsRequest) Size() (n int)

func (*GetPendingsRequest) String

func (m *GetPendingsRequest) String() string

func (*GetPendingsRequest) Unmarshal

func (m *GetPendingsRequest) Unmarshal(dAtA []byte) error

func (*GetPendingsRequest) XXX_DiscardUnknown

func (m *GetPendingsRequest) XXX_DiscardUnknown()

func (*GetPendingsRequest) XXX_Marshal

func (m *GetPendingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPendingsRequest) XXX_Merge

func (m *GetPendingsRequest) XXX_Merge(src proto.Message)

func (*GetPendingsRequest) XXX_Size

func (m *GetPendingsRequest) XXX_Size() int

func (*GetPendingsRequest) XXX_Unmarshal

func (m *GetPendingsRequest) XXX_Unmarshal(b []byte) error

type GetPendingsRequest_PendingType

type GetPendingsRequest_PendingType int32
const (
	GetPendingsRequest_ALL          GetPendingsRequest_PendingType = 0
	GetPendingsRequest_INSERT       GetPendingsRequest_PendingType = 1
	GetPendingsRequest_SELECT       GetPendingsRequest_PendingType = 2
	GetPendingsRequest_PONIT_SELECT GetPendingsRequest_PendingType = 3
	GetPendingsRequest_RANGE_SELECT GetPendingsRequest_PendingType = 4
)

func (GetPendingsRequest_PendingType) EnumDescriptor

func (GetPendingsRequest_PendingType) EnumDescriptor() ([]byte, []int)

func (GetPendingsRequest_PendingType) String

type GetPendingsResponse

type GetPendingsResponse struct {
	Desc                 string   `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetPendingsResponse) Descriptor

func (*GetPendingsResponse) Descriptor() ([]byte, []int)

func (*GetPendingsResponse) GetDesc

func (m *GetPendingsResponse) GetDesc() string

func (*GetPendingsResponse) Marshal

func (m *GetPendingsResponse) Marshal() (dAtA []byte, err error)

func (*GetPendingsResponse) MarshalTo

func (m *GetPendingsResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetPendingsResponse) MarshalToSizedBuffer

func (m *GetPendingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetPendingsResponse) ProtoMessage

func (*GetPendingsResponse) ProtoMessage()

func (*GetPendingsResponse) Reset

func (m *GetPendingsResponse) Reset()

func (*GetPendingsResponse) Size

func (m *GetPendingsResponse) Size() (n int)

func (*GetPendingsResponse) String

func (m *GetPendingsResponse) String() string

func (*GetPendingsResponse) Unmarshal

func (m *GetPendingsResponse) Unmarshal(dAtA []byte) error

func (*GetPendingsResponse) XXX_DiscardUnknown

func (m *GetPendingsResponse) XXX_DiscardUnknown()

func (*GetPendingsResponse) XXX_Marshal

func (m *GetPendingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPendingsResponse) XXX_Merge

func (m *GetPendingsResponse) XXX_Merge(src proto.Message)

func (*GetPendingsResponse) XXX_Size

func (m *GetPendingsResponse) XXX_Size() int

func (*GetPendingsResponse) XXX_Unmarshal

func (m *GetPendingsResponse) XXX_Unmarshal(b []byte) error

type IndexRead

type IndexRead struct {
	Columns              []*ColumnInfo `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	Type                 KeyType       `protobuf:"varint,2,opt,name=type,proto3,enum=dspb.KeyType" json:"type,omitempty"`
	Range                *KeyRange     `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
	IndexKeys            [][]byte      `protobuf:"bytes,4,rep,name=index_keys,json=indexKeys,proto3" json:"index_keys,omitempty"`
	Desc                 bool          `protobuf:"varint,5,opt,name=desc,proto3" json:"desc,omitempty"`
	Unique               bool          `protobuf:"varint,6,opt,name=unique,proto3" json:"unique,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*IndexRead) Descriptor

func (*IndexRead) Descriptor() ([]byte, []int)

func (*IndexRead) GetColumns

func (m *IndexRead) GetColumns() []*ColumnInfo

func (*IndexRead) GetDesc

func (m *IndexRead) GetDesc() bool

func (*IndexRead) GetIndexKeys

func (m *IndexRead) GetIndexKeys() [][]byte

func (*IndexRead) GetRange

func (m *IndexRead) GetRange() *KeyRange

func (*IndexRead) GetType

func (m *IndexRead) GetType() KeyType

func (*IndexRead) GetUnique

func (m *IndexRead) GetUnique() bool

func (*IndexRead) Marshal

func (m *IndexRead) Marshal() (dAtA []byte, err error)

func (*IndexRead) MarshalTo

func (m *IndexRead) MarshalTo(dAtA []byte) (int, error)

func (*IndexRead) MarshalToSizedBuffer

func (m *IndexRead) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IndexRead) ProtoMessage

func (*IndexRead) ProtoMessage()

func (*IndexRead) Reset

func (m *IndexRead) Reset()

func (*IndexRead) Size

func (m *IndexRead) Size() (n int)

func (*IndexRead) String

func (m *IndexRead) String() string

func (*IndexRead) Unmarshal

func (m *IndexRead) Unmarshal(dAtA []byte) error

func (*IndexRead) XXX_DiscardUnknown

func (m *IndexRead) XXX_DiscardUnknown()

func (*IndexRead) XXX_Marshal

func (m *IndexRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexRead) XXX_Merge

func (m *IndexRead) XXX_Merge(src proto.Message)

func (*IndexRead) XXX_Size

func (m *IndexRead) XXX_Size() int

func (*IndexRead) XXX_Unmarshal

func (m *IndexRead) XXX_Unmarshal(b []byte) error

type IsAliveRequest

type IsAliveRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IsAlive

func (*IsAliveRequest) Descriptor

func (*IsAliveRequest) Descriptor() ([]byte, []int)

func (*IsAliveRequest) Marshal

func (m *IsAliveRequest) Marshal() (dAtA []byte, err error)

func (*IsAliveRequest) MarshalTo

func (m *IsAliveRequest) MarshalTo(dAtA []byte) (int, error)

func (*IsAliveRequest) MarshalToSizedBuffer

func (m *IsAliveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsAliveRequest) ProtoMessage

func (*IsAliveRequest) ProtoMessage()

func (*IsAliveRequest) Reset

func (m *IsAliveRequest) Reset()

func (*IsAliveRequest) Size

func (m *IsAliveRequest) Size() (n int)

func (*IsAliveRequest) String

func (m *IsAliveRequest) String() string

func (*IsAliveRequest) Unmarshal

func (m *IsAliveRequest) Unmarshal(dAtA []byte) error

func (*IsAliveRequest) XXX_DiscardUnknown

func (m *IsAliveRequest) XXX_DiscardUnknown()

func (*IsAliveRequest) XXX_Marshal

func (m *IsAliveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsAliveRequest) XXX_Merge

func (m *IsAliveRequest) XXX_Merge(src proto.Message)

func (*IsAliveRequest) XXX_Size

func (m *IsAliveRequest) XXX_Size() int

func (*IsAliveRequest) XXX_Unmarshal

func (m *IsAliveRequest) XXX_Unmarshal(b []byte) error

type IsAliveResponse

type IsAliveResponse struct {
	Alive                bool     `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IsAliveResponse) Descriptor

func (*IsAliveResponse) Descriptor() ([]byte, []int)

func (*IsAliveResponse) GetAlive

func (m *IsAliveResponse) GetAlive() bool

func (*IsAliveResponse) Marshal

func (m *IsAliveResponse) Marshal() (dAtA []byte, err error)

func (*IsAliveResponse) MarshalTo

func (m *IsAliveResponse) MarshalTo(dAtA []byte) (int, error)

func (*IsAliveResponse) MarshalToSizedBuffer

func (m *IsAliveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsAliveResponse) ProtoMessage

func (*IsAliveResponse) ProtoMessage()

func (*IsAliveResponse) Reset

func (m *IsAliveResponse) Reset()

func (*IsAliveResponse) Size

func (m *IsAliveResponse) Size() (n int)

func (*IsAliveResponse) String

func (m *IsAliveResponse) String() string

func (*IsAliveResponse) Unmarshal

func (m *IsAliveResponse) Unmarshal(dAtA []byte) error

func (*IsAliveResponse) XXX_DiscardUnknown

func (m *IsAliveResponse) XXX_DiscardUnknown()

func (*IsAliveResponse) XXX_Marshal

func (m *IsAliveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsAliveResponse) XXX_Merge

func (m *IsAliveResponse) XXX_Merge(src proto.Message)

func (*IsAliveResponse) XXX_Size

func (m *IsAliveResponse) XXX_Size() int

func (*IsAliveResponse) XXX_Unmarshal

func (m *IsAliveResponse) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*KeyRange) GetEndKey

func (m *KeyRange) GetEndKey() []byte

func (*KeyRange) GetStartKey

func (m *KeyRange) GetStartKey() []byte

func (*KeyRange) Marshal

func (m *KeyRange) Marshal() (dAtA []byte, err error)

func (*KeyRange) MarshalTo

func (m *KeyRange) MarshalTo(dAtA []byte) (int, error)

func (*KeyRange) MarshalToSizedBuffer

func (m *KeyRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyRange) ProtoMessage

func (*KeyRange) ProtoMessage()

func (*KeyRange) Reset

func (m *KeyRange) Reset()

func (*KeyRange) Size

func (m *KeyRange) Size() (n int)

func (*KeyRange) String

func (m *KeyRange) String() string

func (*KeyRange) Unmarshal

func (m *KeyRange) Unmarshal(dAtA []byte) error

func (*KeyRange) XXX_DiscardUnknown

func (m *KeyRange) XXX_DiscardUnknown()

func (*KeyRange) XXX_Marshal

func (m *KeyRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyRange) XXX_Merge

func (m *KeyRange) XXX_Merge(src proto.Message)

func (*KeyRange) XXX_Size

func (m *KeyRange) XXX_Size() int

func (*KeyRange) XXX_Unmarshal

func (m *KeyRange) XXX_Unmarshal(b []byte) error

type KeyType

type KeyType int32
const (
	KeyType_DEFAULT_RANGE_TYPE KeyType = 0
	KeyType_PRIMARY_KEY_TYPE   KeyType = 1
	KeyType_KEYS_RANGE_TYPE    KeyType = 2
)

func (KeyType) EnumDescriptor

func (KeyType) EnumDescriptor() ([]byte, []int)

func (KeyType) String

func (x KeyType) String() string

type KeyValue

type KeyValue struct {
	Key                  []byte       `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                []byte       `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Intent               *ValueIntent `protobuf:"bytes,10,opt,name=intent,proto3" json:"intent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*KeyValue) Descriptor

func (*KeyValue) Descriptor() ([]byte, []int)

func (*KeyValue) GetIntent

func (m *KeyValue) GetIntent() *ValueIntent

func (*KeyValue) GetKey

func (m *KeyValue) GetKey() []byte

func (*KeyValue) GetValue

func (m *KeyValue) GetValue() []byte

func (*KeyValue) Marshal

func (m *KeyValue) Marshal() (dAtA []byte, err error)

func (*KeyValue) MarshalTo

func (m *KeyValue) MarshalTo(dAtA []byte) (int, error)

func (*KeyValue) MarshalToSizedBuffer

func (m *KeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (m *KeyValue) Reset()

func (*KeyValue) Size

func (m *KeyValue) Size() (n int)

func (*KeyValue) String

func (m *KeyValue) String() string

func (*KeyValue) Unmarshal

func (m *KeyValue) Unmarshal(dAtA []byte) error

func (*KeyValue) XXX_DiscardUnknown

func (m *KeyValue) XXX_DiscardUnknown()

func (*KeyValue) XXX_Marshal

func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValue) XXX_Merge

func (m *KeyValue) XXX_Merge(src proto.Message)

func (*KeyValue) XXX_Size

func (m *KeyValue) XXX_Size() int

func (*KeyValue) XXX_Unmarshal

func (m *KeyValue) XXX_Unmarshal(b []byte) error

type KvDeleteRequest

type KvDeleteRequest 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:"-"`
}

KvDelete

func (*KvDeleteRequest) Descriptor

func (*KvDeleteRequest) Descriptor() ([]byte, []int)

func (*KvDeleteRequest) GetKey

func (m *KvDeleteRequest) GetKey() []byte

func (*KvDeleteRequest) Marshal

func (m *KvDeleteRequest) Marshal() (dAtA []byte, err error)

func (*KvDeleteRequest) MarshalTo

func (m *KvDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*KvDeleteRequest) MarshalToSizedBuffer

func (m *KvDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KvDeleteRequest) ProtoMessage

func (*KvDeleteRequest) ProtoMessage()

func (*KvDeleteRequest) Reset

func (m *KvDeleteRequest) Reset()

func (*KvDeleteRequest) Size

func (m *KvDeleteRequest) Size() (n int)

func (*KvDeleteRequest) String

func (m *KvDeleteRequest) String() string

func (*KvDeleteRequest) Unmarshal

func (m *KvDeleteRequest) Unmarshal(dAtA []byte) error

func (*KvDeleteRequest) XXX_DiscardUnknown

func (m *KvDeleteRequest) XXX_DiscardUnknown()

func (*KvDeleteRequest) XXX_Marshal

func (m *KvDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KvDeleteRequest) XXX_Merge

func (m *KvDeleteRequest) XXX_Merge(src proto.Message)

func (*KvDeleteRequest) XXX_Size

func (m *KvDeleteRequest) XXX_Size() int

func (*KvDeleteRequest) XXX_Unmarshal

func (m *KvDeleteRequest) XXX_Unmarshal(b []byte) error

type KvDeleteResponse

type KvDeleteResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KvDeleteResponse) Descriptor

func (*KvDeleteResponse) Descriptor() ([]byte, []int)

func (*KvDeleteResponse) GetCode

func (m *KvDeleteResponse) GetCode() int32

func (*KvDeleteResponse) Marshal

func (m *KvDeleteResponse) Marshal() (dAtA []byte, err error)

func (*KvDeleteResponse) MarshalTo

func (m *KvDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*KvDeleteResponse) MarshalToSizedBuffer

func (m *KvDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KvDeleteResponse) ProtoMessage

func (*KvDeleteResponse) ProtoMessage()

func (*KvDeleteResponse) Reset

func (m *KvDeleteResponse) Reset()

func (*KvDeleteResponse) Size

func (m *KvDeleteResponse) Size() (n int)

func (*KvDeleteResponse) String

func (m *KvDeleteResponse) String() string

func (*KvDeleteResponse) Unmarshal

func (m *KvDeleteResponse) Unmarshal(dAtA []byte) error

func (*KvDeleteResponse) XXX_DiscardUnknown

func (m *KvDeleteResponse) XXX_DiscardUnknown()

func (*KvDeleteResponse) XXX_Marshal

func (m *KvDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KvDeleteResponse) XXX_Merge

func (m *KvDeleteResponse) XXX_Merge(src proto.Message)

func (*KvDeleteResponse) XXX_Size

func (m *KvDeleteResponse) XXX_Size() int

func (*KvDeleteResponse) XXX_Unmarshal

func (m *KvDeleteResponse) XXX_Unmarshal(b []byte) error

type KvGetRequest

type KvGetRequest 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:"-"`
}

KvGet

func (*KvGetRequest) Descriptor

func (*KvGetRequest) Descriptor() ([]byte, []int)

func (*KvGetRequest) GetKey

func (m *KvGetRequest) GetKey() []byte

func (*KvGetRequest) Marshal

func (m *KvGetRequest) Marshal() (dAtA []byte, err error)

func (*KvGetRequest) MarshalTo

func (m *KvGetRequest) MarshalTo(dAtA []byte) (int, error)

func (*KvGetRequest) MarshalToSizedBuffer

func (m *KvGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KvGetRequest) ProtoMessage

func (*KvGetRequest) ProtoMessage()

func (*KvGetRequest) Reset

func (m *KvGetRequest) Reset()

func (*KvGetRequest) Size

func (m *KvGetRequest) Size() (n int)

func (*KvGetRequest) String

func (m *KvGetRequest) String() string

func (*KvGetRequest) Unmarshal

func (m *KvGetRequest) Unmarshal(dAtA []byte) error

func (*KvGetRequest) XXX_DiscardUnknown

func (m *KvGetRequest) XXX_DiscardUnknown()

func (*KvGetRequest) XXX_Marshal

func (m *KvGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KvGetRequest) XXX_Merge

func (m *KvGetRequest) XXX_Merge(src proto.Message)

func (*KvGetRequest) XXX_Size

func (m *KvGetRequest) XXX_Size() int

func (*KvGetRequest) XXX_Unmarshal

func (m *KvGetRequest) XXX_Unmarshal(b []byte) error

type KvGetResponse

type KvGetResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,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 (*KvGetResponse) Descriptor

func (*KvGetResponse) Descriptor() ([]byte, []int)

func (*KvGetResponse) GetCode

func (m *KvGetResponse) GetCode() int32

func (*KvGetResponse) GetValue

func (m *KvGetResponse) GetValue() []byte

func (*KvGetResponse) Marshal

func (m *KvGetResponse) Marshal() (dAtA []byte, err error)

func (*KvGetResponse) MarshalTo

func (m *KvGetResponse) MarshalTo(dAtA []byte) (int, error)

func (*KvGetResponse) MarshalToSizedBuffer

func (m *KvGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KvGetResponse) ProtoMessage

func (*KvGetResponse) ProtoMessage()

func (*KvGetResponse) Reset

func (m *KvGetResponse) Reset()

func (*KvGetResponse) Size

func (m *KvGetResponse) Size() (n int)

func (*KvGetResponse) String

func (m *KvGetResponse) String() string

func (*KvGetResponse) Unmarshal

func (m *KvGetResponse) Unmarshal(dAtA []byte) error

func (*KvGetResponse) XXX_DiscardUnknown

func (m *KvGetResponse) XXX_DiscardUnknown()

func (*KvGetResponse) XXX_Marshal

func (m *KvGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KvGetResponse) XXX_Merge

func (m *KvGetResponse) XXX_Merge(src proto.Message)

func (*KvGetResponse) XXX_Size

func (m *KvGetResponse) XXX_Size() int

func (*KvGetResponse) XXX_Unmarshal

func (m *KvGetResponse) XXX_Unmarshal(b []byte) error

type KvPutRequest

type KvPutRequest struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,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:"-"`
}

KvPut

func (*KvPutRequest) Descriptor

func (*KvPutRequest) Descriptor() ([]byte, []int)

func (*KvPutRequest) GetKey

func (m *KvPutRequest) GetKey() []byte

func (*KvPutRequest) GetValue

func (m *KvPutRequest) GetValue() []byte

func (*KvPutRequest) Marshal

func (m *KvPutRequest) Marshal() (dAtA []byte, err error)

func (*KvPutRequest) MarshalTo

func (m *KvPutRequest) MarshalTo(dAtA []byte) (int, error)

func (*KvPutRequest) MarshalToSizedBuffer

func (m *KvPutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KvPutRequest) ProtoMessage

func (*KvPutRequest) ProtoMessage()

func (*KvPutRequest) Reset

func (m *KvPutRequest) Reset()

func (*KvPutRequest) Size

func (m *KvPutRequest) Size() (n int)

func (*KvPutRequest) String

func (m *KvPutRequest) String() string

func (*KvPutRequest) Unmarshal

func (m *KvPutRequest) Unmarshal(dAtA []byte) error

func (*KvPutRequest) XXX_DiscardUnknown

func (m *KvPutRequest) XXX_DiscardUnknown()

func (*KvPutRequest) XXX_Marshal

func (m *KvPutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KvPutRequest) XXX_Merge

func (m *KvPutRequest) XXX_Merge(src proto.Message)

func (*KvPutRequest) XXX_Size

func (m *KvPutRequest) XXX_Size() int

func (*KvPutRequest) XXX_Unmarshal

func (m *KvPutRequest) XXX_Unmarshal(b []byte) error

type KvPutResponse

type KvPutResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KvPutResponse) Descriptor

func (*KvPutResponse) Descriptor() ([]byte, []int)

func (*KvPutResponse) GetCode

func (m *KvPutResponse) GetCode() int32

func (*KvPutResponse) Marshal

func (m *KvPutResponse) Marshal() (dAtA []byte, err error)

func (*KvPutResponse) MarshalTo

func (m *KvPutResponse) MarshalTo(dAtA []byte) (int, error)

func (*KvPutResponse) MarshalToSizedBuffer

func (m *KvPutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KvPutResponse) ProtoMessage

func (*KvPutResponse) ProtoMessage()

func (*KvPutResponse) Reset

func (m *KvPutResponse) Reset()

func (*KvPutResponse) Size

func (m *KvPutResponse) Size() (n int)

func (*KvPutResponse) String

func (m *KvPutResponse) String() string

func (*KvPutResponse) Unmarshal

func (m *KvPutResponse) Unmarshal(dAtA []byte) error

func (*KvPutResponse) XXX_DiscardUnknown

func (m *KvPutResponse) XXX_DiscardUnknown()

func (*KvPutResponse) XXX_Marshal

func (m *KvPutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KvPutResponse) XXX_Merge

func (m *KvPutResponse) XXX_Merge(src proto.Message)

func (*KvPutResponse) XXX_Size

func (m *KvPutResponse) XXX_Size() int

func (*KvPutResponse) XXX_Unmarshal

func (m *KvPutResponse) XXX_Unmarshal(b []byte) error

type Limit

type Limit struct {
	Offset               uint64   `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Count                uint64   `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Limit) Descriptor

func (*Limit) Descriptor() ([]byte, []int)

func (*Limit) GetCount

func (m *Limit) GetCount() uint64

func (*Limit) GetOffset

func (m *Limit) GetOffset() uint64

func (*Limit) Marshal

func (m *Limit) Marshal() (dAtA []byte, err error)

func (*Limit) MarshalTo

func (m *Limit) MarshalTo(dAtA []byte) (int, error)

func (*Limit) MarshalToSizedBuffer

func (m *Limit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Limit) ProtoMessage

func (*Limit) ProtoMessage()

func (*Limit) Reset

func (m *Limit) Reset()

func (*Limit) Size

func (m *Limit) Size() (n int)

func (*Limit) String

func (m *Limit) String() string

func (*Limit) Unmarshal

func (m *Limit) Unmarshal(dAtA []byte) error

func (*Limit) XXX_DiscardUnknown

func (m *Limit) XXX_DiscardUnknown()

func (*Limit) XXX_Marshal

func (m *Limit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Limit) XXX_Merge

func (m *Limit) XXX_Merge(src proto.Message)

func (*Limit) XXX_Size

func (m *Limit) XXX_Size() int

func (*Limit) XXX_Unmarshal

func (m *Limit) XXX_Unmarshal(b []byte) error

type LockError

type LockError struct {
	Key                  []byte    `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Info                 *LockInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*LockError) Descriptor

func (*LockError) Descriptor() ([]byte, []int)

func (*LockError) GetInfo

func (m *LockError) GetInfo() *LockInfo

func (*LockError) GetKey

func (m *LockError) GetKey() []byte

func (*LockError) Marshal

func (m *LockError) Marshal() (dAtA []byte, err error)

func (*LockError) MarshalTo

func (m *LockError) MarshalTo(dAtA []byte) (int, error)

func (*LockError) MarshalToSizedBuffer

func (m *LockError) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LockError) ProtoMessage

func (*LockError) ProtoMessage()

func (*LockError) Reset

func (m *LockError) Reset()

func (*LockError) Size

func (m *LockError) Size() (n int)

func (*LockError) String

func (m *LockError) String() string

func (*LockError) Unmarshal

func (m *LockError) Unmarshal(dAtA []byte) error

func (*LockError) XXX_DiscardUnknown

func (m *LockError) XXX_DiscardUnknown()

func (*LockError) XXX_Marshal

func (m *LockError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LockError) XXX_Merge

func (m *LockError) XXX_Merge(src proto.Message)

func (*LockError) XXX_Size

func (m *LockError) XXX_Size() int

func (*LockError) XXX_Unmarshal

func (m *LockError) XXX_Unmarshal(b []byte) error

type LockInfo

type LockInfo struct {
	TxnId   string `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"`
	Timeout bool   `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// 1) If the current key is primary, is_primary is true and returns status and secondary_keys
	// 2) If not, is_primary is false and returns the primary key
	IsPrimary            bool      `protobuf:"varint,10,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	PrimaryKey           []byte    `protobuf:"bytes,11,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
	Status               TxnStatus `protobuf:"varint,12,opt,name=status,proto3,enum=dspb.TxnStatus" json:"status,omitempty"`
	SecondaryKeys        [][]byte  `protobuf:"bytes,13,rep,name=secondary_keys,json=secondaryKeys,proto3" json:"secondary_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*LockInfo) Descriptor

func (*LockInfo) Descriptor() ([]byte, []int)

func (*LockInfo) GetIsPrimary

func (m *LockInfo) GetIsPrimary() bool

func (*LockInfo) GetPrimaryKey

func (m *LockInfo) GetPrimaryKey() []byte

func (*LockInfo) GetSecondaryKeys

func (m *LockInfo) GetSecondaryKeys() [][]byte

func (*LockInfo) GetStatus

func (m *LockInfo) GetStatus() TxnStatus

func (*LockInfo) GetTimeout

func (m *LockInfo) GetTimeout() bool

func (*LockInfo) GetTxnId

func (m *LockInfo) GetTxnId() string

func (*LockInfo) Marshal

func (m *LockInfo) Marshal() (dAtA []byte, err error)

func (*LockInfo) MarshalTo

func (m *LockInfo) MarshalTo(dAtA []byte) (int, error)

func (*LockInfo) MarshalToSizedBuffer

func (m *LockInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LockInfo) ProtoMessage

func (*LockInfo) ProtoMessage()

func (*LockInfo) Reset

func (m *LockInfo) Reset()

func (*LockInfo) Size

func (m *LockInfo) Size() (n int)

func (*LockInfo) String

func (m *LockInfo) String() string

func (*LockInfo) Unmarshal

func (m *LockInfo) Unmarshal(dAtA []byte) error

func (*LockInfo) XXX_DiscardUnknown

func (m *LockInfo) XXX_DiscardUnknown()

func (*LockInfo) XXX_Marshal

func (m *LockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LockInfo) XXX_Merge

func (m *LockInfo) XXX_Merge(src proto.Message)

func (*LockInfo) XXX_Size

func (m *LockInfo) XXX_Size() int

func (*LockInfo) XXX_Unmarshal

func (m *LockInfo) XXX_Unmarshal(b []byte) error

type NodeInfoRequest

type NodeInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

NodeInfo

func (*NodeInfoRequest) Descriptor

func (*NodeInfoRequest) Descriptor() ([]byte, []int)

func (*NodeInfoRequest) Marshal

func (m *NodeInfoRequest) Marshal() (dAtA []byte, err error)

func (*NodeInfoRequest) MarshalTo

func (m *NodeInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*NodeInfoRequest) MarshalToSizedBuffer

func (m *NodeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeInfoRequest) ProtoMessage

func (*NodeInfoRequest) ProtoMessage()

func (*NodeInfoRequest) Reset

func (m *NodeInfoRequest) Reset()

func (*NodeInfoRequest) Size

func (m *NodeInfoRequest) Size() (n int)

func (*NodeInfoRequest) String

func (m *NodeInfoRequest) String() string

func (*NodeInfoRequest) Unmarshal

func (m *NodeInfoRequest) Unmarshal(dAtA []byte) error

func (*NodeInfoRequest) XXX_DiscardUnknown

func (m *NodeInfoRequest) XXX_DiscardUnknown()

func (*NodeInfoRequest) XXX_Marshal

func (m *NodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeInfoRequest) XXX_Merge

func (m *NodeInfoRequest) XXX_Merge(src proto.Message)

func (*NodeInfoRequest) XXX_Size

func (m *NodeInfoRequest) XXX_Size() int

func (*NodeInfoRequest) XXX_Unmarshal

func (m *NodeInfoRequest) XXX_Unmarshal(b []byte) error

type NodeInfoResponse

type NodeInfoResponse struct {
	//node info
	NodeId uint64     `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Stats  *NodeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
	// Isolated replica list, not received leader heartbeat for more than an hour
	IsolatedReplicas []uint64 `protobuf:"varint,3,rep,packed,name=isolated_replicas,json=isolatedReplicas,proto3" json:"isolated_replicas,omitempty"`
	//range info
	RangeInfos           []*RangeInfo `protobuf:"bytes,4,rep,name=range_infos,json=rangeInfos,proto3" json:"range_infos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*NodeInfoResponse) Descriptor

func (*NodeInfoResponse) Descriptor() ([]byte, []int)

func (*NodeInfoResponse) GetIsolatedReplicas

func (m *NodeInfoResponse) GetIsolatedReplicas() []uint64

func (*NodeInfoResponse) GetNodeId

func (m *NodeInfoResponse) GetNodeId() uint64

func (*NodeInfoResponse) GetRangeInfos

func (m *NodeInfoResponse) GetRangeInfos() []*RangeInfo

func (*NodeInfoResponse) GetStats

func (m *NodeInfoResponse) GetStats() *NodeStats

func (*NodeInfoResponse) Marshal

func (m *NodeInfoResponse) Marshal() (dAtA []byte, err error)

func (*NodeInfoResponse) MarshalTo

func (m *NodeInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*NodeInfoResponse) MarshalToSizedBuffer

func (m *NodeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeInfoResponse) ProtoMessage

func (*NodeInfoResponse) ProtoMessage()

func (*NodeInfoResponse) Reset

func (m *NodeInfoResponse) Reset()

func (*NodeInfoResponse) Size

func (m *NodeInfoResponse) Size() (n int)

func (*NodeInfoResponse) String

func (m *NodeInfoResponse) String() string

func (*NodeInfoResponse) Unmarshal

func (m *NodeInfoResponse) Unmarshal(dAtA []byte) error

func (*NodeInfoResponse) XXX_DiscardUnknown

func (m *NodeInfoResponse) XXX_DiscardUnknown()

func (*NodeInfoResponse) XXX_Marshal

func (m *NodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeInfoResponse) XXX_Merge

func (m *NodeInfoResponse) XXX_Merge(src proto.Message)

func (*NodeInfoResponse) XXX_Size

func (m *NodeInfoResponse) XXX_Size() int

func (*NodeInfoResponse) XXX_Unmarshal

func (m *NodeInfoResponse) XXX_Unmarshal(b []byte) error

type NodeStats

type NodeStats struct {
	RangeCount           uint32   `protobuf:"varint,1,opt,name=range_count,json=rangeCount,proto3" json:"range_count,omitempty"`
	RangeSplitCount      uint32   `protobuf:"varint,2,opt,name=range_split_count,json=rangeSplitCount,proto3" json:"range_split_count,omitempty"`
	SnapSendingCount     uint32   `protobuf:"varint,3,opt,name=snap_sending_count,json=snapSendingCount,proto3" json:"snap_sending_count,omitempty"`
	SnapApplyingCount    uint32   `protobuf:"varint,4,opt,name=snap_applying_count,json=snapApplyingCount,proto3" json:"snap_applying_count,omitempty"`
	RangeLeaderCount     uint32   `protobuf:"varint,6,opt,name=range_leader_count,json=rangeLeaderCount,proto3" json:"range_leader_count,omitempty"`
	Capacity             uint64   `protobuf:"varint,7,opt,name=capacity,proto3" json:"capacity,omitempty"`
	UsedSize             uint64   `protobuf:"varint,8,opt,name=used_size,json=usedSize,proto3" json:"used_size,omitempty"`
	WriteBytesPerSec     uint64   `protobuf:"varint,10,opt,name=write_bytes_per_sec,json=writeBytesPerSec,proto3" json:"write_bytes_per_sec,omitempty"`
	WriteKeysPerSec      uint64   `protobuf:"varint,11,opt,name=write_keys_per_sec,json=writeKeysPerSec,proto3" json:"write_keys_per_sec,omitempty"`
	ReadBytessPerSec     uint64   `protobuf:"varint,12,opt,name=read_bytess_per_sec,json=readBytessPerSec,proto3" json:"read_bytess_per_sec,omitempty"`
	ReadKeysPerSec       uint64   `protobuf:"varint,13,opt,name=read_keys_per_sec,json=readKeysPerSec,proto3" json:"read_keys_per_sec,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeStats) Descriptor

func (*NodeStats) Descriptor() ([]byte, []int)

func (*NodeStats) GetCapacity

func (m *NodeStats) GetCapacity() uint64

func (*NodeStats) GetRangeCount

func (m *NodeStats) GetRangeCount() uint32

func (*NodeStats) GetRangeLeaderCount

func (m *NodeStats) GetRangeLeaderCount() uint32

func (*NodeStats) GetRangeSplitCount

func (m *NodeStats) GetRangeSplitCount() uint32

func (*NodeStats) GetReadBytessPerSec

func (m *NodeStats) GetReadBytessPerSec() uint64

func (*NodeStats) GetReadKeysPerSec

func (m *NodeStats) GetReadKeysPerSec() uint64

func (*NodeStats) GetSnapApplyingCount

func (m *NodeStats) GetSnapApplyingCount() uint32

func (*NodeStats) GetSnapSendingCount

func (m *NodeStats) GetSnapSendingCount() uint32

func (*NodeStats) GetUsedSize

func (m *NodeStats) GetUsedSize() uint64

func (*NodeStats) GetWriteBytesPerSec

func (m *NodeStats) GetWriteBytesPerSec() uint64

func (*NodeStats) GetWriteKeysPerSec

func (m *NodeStats) GetWriteKeysPerSec() uint64

func (*NodeStats) Marshal

func (m *NodeStats) Marshal() (dAtA []byte, err error)

func (*NodeStats) MarshalTo

func (m *NodeStats) MarshalTo(dAtA []byte) (int, error)

func (*NodeStats) MarshalToSizedBuffer

func (m *NodeStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeStats) ProtoMessage

func (*NodeStats) ProtoMessage()

func (*NodeStats) Reset

func (m *NodeStats) Reset()

func (*NodeStats) Size

func (m *NodeStats) Size() (n int)

func (*NodeStats) String

func (m *NodeStats) String() string

func (*NodeStats) Unmarshal

func (m *NodeStats) Unmarshal(dAtA []byte) error

func (*NodeStats) XXX_DiscardUnknown

func (m *NodeStats) XXX_DiscardUnknown()

func (*NodeStats) XXX_Marshal

func (m *NodeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeStats) XXX_Merge

func (m *NodeStats) XXX_Merge(src proto.Message)

func (*NodeStats) XXX_Size

func (m *NodeStats) XXX_Size() int

func (*NodeStats) XXX_Unmarshal

func (m *NodeStats) XXX_Unmarshal(b []byte) error

type NotFound

type NotFound 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 (*NotFound) Descriptor

func (*NotFound) Descriptor() ([]byte, []int)

func (*NotFound) GetKey

func (m *NotFound) GetKey() []byte

func (*NotFound) Marshal

func (m *NotFound) Marshal() (dAtA []byte, err error)

func (*NotFound) MarshalTo

func (m *NotFound) MarshalTo(dAtA []byte) (int, error)

func (*NotFound) MarshalToSizedBuffer

func (m *NotFound) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotFound) ProtoMessage

func (*NotFound) ProtoMessage()

func (*NotFound) Reset

func (m *NotFound) Reset()

func (*NotFound) Size

func (m *NotFound) Size() (n int)

func (*NotFound) String

func (m *NotFound) String() string

func (*NotFound) Unmarshal

func (m *NotFound) Unmarshal(dAtA []byte) error

func (*NotFound) XXX_DiscardUnknown

func (m *NotFound) XXX_DiscardUnknown()

func (*NotFound) XXX_Marshal

func (m *NotFound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotFound) XXX_Merge

func (m *NotFound) XXX_Merge(src proto.Message)

func (*NotFound) XXX_Size

func (m *NotFound) XXX_Size() int

func (*NotFound) XXX_Unmarshal

func (m *NotFound) XXX_Unmarshal(b []byte) error

type NotUnique

type NotUnique 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:"-"`
}

Such as Insert when the row already exists or when the unique index already exists

func (*NotUnique) Descriptor

func (*NotUnique) Descriptor() ([]byte, []int)

func (*NotUnique) GetKey

func (m *NotUnique) GetKey() []byte

func (*NotUnique) Marshal

func (m *NotUnique) Marshal() (dAtA []byte, err error)

func (*NotUnique) MarshalTo

func (m *NotUnique) MarshalTo(dAtA []byte) (int, error)

func (*NotUnique) MarshalToSizedBuffer

func (m *NotUnique) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotUnique) ProtoMessage

func (*NotUnique) ProtoMessage()

func (*NotUnique) Reset

func (m *NotUnique) Reset()

func (*NotUnique) Size

func (m *NotUnique) Size() (n int)

func (*NotUnique) String

func (m *NotUnique) String() string

func (*NotUnique) Unmarshal

func (m *NotUnique) Unmarshal(dAtA []byte) error

func (*NotUnique) XXX_DiscardUnknown

func (m *NotUnique) XXX_DiscardUnknown()

func (*NotUnique) XXX_Marshal

func (m *NotUnique) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotUnique) XXX_Merge

func (m *NotUnique) XXX_Merge(src proto.Message)

func (*NotUnique) XXX_Size

func (m *NotUnique) XXX_Size() int

func (*NotUnique) XXX_Unmarshal

func (m *NotUnique) XXX_Unmarshal(b []byte) error

type OpType

type OpType int32
const (
	OpType_INSERT OpType = 0
	OpType_DELETE OpType = 1
)

func (OpType) EnumDescriptor

func (OpType) EnumDescriptor() ([]byte, []int)

func (OpType) String

func (x OpType) String() string

type OrderByColumn

type OrderByColumn struct {
	Expr                 *Expr    `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
	Asc                  bool     `protobuf:"varint,2,opt,name=asc,proto3" json:"asc,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OrderByColumn) Descriptor

func (*OrderByColumn) Descriptor() ([]byte, []int)

func (*OrderByColumn) GetAsc

func (m *OrderByColumn) GetAsc() bool

func (*OrderByColumn) GetExpr

func (m *OrderByColumn) GetExpr() *Expr

func (*OrderByColumn) Marshal

func (m *OrderByColumn) Marshal() (dAtA []byte, err error)

func (*OrderByColumn) MarshalTo

func (m *OrderByColumn) MarshalTo(dAtA []byte) (int, error)

func (*OrderByColumn) MarshalToSizedBuffer

func (m *OrderByColumn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrderByColumn) ProtoMessage

func (*OrderByColumn) ProtoMessage()

func (*OrderByColumn) Reset

func (m *OrderByColumn) Reset()

func (*OrderByColumn) Size

func (m *OrderByColumn) Size() (n int)

func (*OrderByColumn) String

func (m *OrderByColumn) String() string

func (*OrderByColumn) Unmarshal

func (m *OrderByColumn) Unmarshal(dAtA []byte) error

func (*OrderByColumn) XXX_DiscardUnknown

func (m *OrderByColumn) XXX_DiscardUnknown()

func (*OrderByColumn) XXX_Marshal

func (m *OrderByColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrderByColumn) XXX_Merge

func (m *OrderByColumn) XXX_Merge(src proto.Message)

func (*OrderByColumn) XXX_Size

func (m *OrderByColumn) XXX_Size() int

func (*OrderByColumn) XXX_Unmarshal

func (m *OrderByColumn) XXX_Unmarshal(b []byte) error

type Ordering

type Ordering struct {
	Columns              []*OrderByColumn `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	Count                uint64           `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Ordering) Descriptor

func (*Ordering) Descriptor() ([]byte, []int)

func (*Ordering) GetColumns

func (m *Ordering) GetColumns() []*OrderByColumn

func (*Ordering) GetCount

func (m *Ordering) GetCount() uint64

func (*Ordering) Marshal

func (m *Ordering) Marshal() (dAtA []byte, err error)

func (*Ordering) MarshalTo

func (m *Ordering) MarshalTo(dAtA []byte) (int, error)

func (*Ordering) MarshalToSizedBuffer

func (m *Ordering) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ordering) ProtoMessage

func (*Ordering) ProtoMessage()

func (*Ordering) Reset

func (m *Ordering) Reset()

func (*Ordering) Size

func (m *Ordering) Size() (n int)

func (*Ordering) String

func (m *Ordering) String() string

func (*Ordering) Unmarshal

func (m *Ordering) Unmarshal(dAtA []byte) error

func (*Ordering) XXX_DiscardUnknown

func (m *Ordering) XXX_DiscardUnknown()

func (*Ordering) XXX_Marshal

func (m *Ordering) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ordering) XXX_Merge

func (m *Ordering) XXX_Merge(src proto.Message)

func (*Ordering) XXX_Size

func (m *Ordering) XXX_Size() int

func (*Ordering) XXX_Unmarshal

func (m *Ordering) XXX_Unmarshal(b []byte) error

type PeerTask

type PeerTask struct {
	VerifyEpoch          *basepb.RangeEpoch `protobuf:"bytes,1,opt,name=verify_epoch,json=verifyEpoch,proto3" json:"verify_epoch,omitempty"`
	Peer                 *basepb.Peer       `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*PeerTask) Descriptor

func (*PeerTask) Descriptor() ([]byte, []int)

func (*PeerTask) GetPeer

func (m *PeerTask) GetPeer() *basepb.Peer

func (*PeerTask) GetVerifyEpoch

func (m *PeerTask) GetVerifyEpoch() *basepb.RangeEpoch

func (*PeerTask) Marshal

func (m *PeerTask) Marshal() (dAtA []byte, err error)

func (*PeerTask) MarshalTo

func (m *PeerTask) MarshalTo(dAtA []byte) (int, error)

func (*PeerTask) MarshalToSizedBuffer

func (m *PeerTask) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PeerTask) ProtoMessage

func (*PeerTask) ProtoMessage()

func (*PeerTask) Reset

func (m *PeerTask) Reset()

func (*PeerTask) Size

func (m *PeerTask) Size() (n int)

func (*PeerTask) String

func (m *PeerTask) String() string

func (*PeerTask) Unmarshal

func (m *PeerTask) Unmarshal(dAtA []byte) error

func (*PeerTask) XXX_DiscardUnknown

func (m *PeerTask) XXX_DiscardUnknown()

func (*PeerTask) XXX_Marshal

func (m *PeerTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeerTask) XXX_Merge

func (m *PeerTask) XXX_Merge(src proto.Message)

func (*PeerTask) XXX_Size

func (m *PeerTask) XXX_Size() int

func (*PeerTask) XXX_Unmarshal

func (m *PeerTask) XXX_Unmarshal(b []byte) error

type PrepareRequest

type PrepareRequest struct {
	TxnId                string       `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"`
	Local                bool         `protobuf:"varint,2,opt,name=local,proto3" json:"local,omitempty"`
	Intents              []*TxnIntent `protobuf:"bytes,3,rep,name=intents,proto3" json:"intents,omitempty"`
	PrimaryKey           []byte       `protobuf:"bytes,4,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
	LockTtl              uint64       `protobuf:"varint,5,opt,name=lock_ttl,json=lockTtl,proto3" json:"lock_ttl,omitempty"`
	SecondaryKeys        [][]byte     `protobuf:"bytes,6,rep,name=secondary_keys,json=secondaryKeys,proto3" json:"secondary_keys,omitempty"`
	StrictCheck          bool         `protobuf:"varint,16,opt,name=strict_check,json=strictCheck,proto3" json:"strict_check,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Prepare

func (*PrepareRequest) Descriptor

func (*PrepareRequest) Descriptor() ([]byte, []int)

func (*PrepareRequest) GetIntents

func (m *PrepareRequest) GetIntents() []*TxnIntent

func (*PrepareRequest) GetLocal

func (m *PrepareRequest) GetLocal() bool

func (*PrepareRequest) GetLockTtl

func (m *PrepareRequest) GetLockTtl() uint64

func (*PrepareRequest) GetPrimaryKey

func (m *PrepareRequest) GetPrimaryKey() []byte

func (*PrepareRequest) GetSecondaryKeys

func (m *PrepareRequest) GetSecondaryKeys() [][]byte

func (*PrepareRequest) GetStrictCheck

func (m *PrepareRequest) GetStrictCheck() bool

func (*PrepareRequest) GetTxnId

func (m *PrepareRequest) GetTxnId() string

func (*PrepareRequest) Marshal

func (m *PrepareRequest) Marshal() (dAtA []byte, err error)

func (*PrepareRequest) MarshalTo

func (m *PrepareRequest) MarshalTo(dAtA []byte) (int, error)

func (*PrepareRequest) MarshalToSizedBuffer

func (m *PrepareRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrepareRequest) ProtoMessage

func (*PrepareRequest) ProtoMessage()

func (*PrepareRequest) Reset

func (m *PrepareRequest) Reset()

func (*PrepareRequest) Size

func (m *PrepareRequest) Size() (n int)

func (*PrepareRequest) String

func (m *PrepareRequest) String() string

func (*PrepareRequest) Unmarshal

func (m *PrepareRequest) Unmarshal(dAtA []byte) error

func (*PrepareRequest) XXX_DiscardUnknown

func (m *PrepareRequest) XXX_DiscardUnknown()

func (*PrepareRequest) XXX_Marshal

func (m *PrepareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrepareRequest) XXX_Merge

func (m *PrepareRequest) XXX_Merge(src proto.Message)

func (*PrepareRequest) XXX_Size

func (m *PrepareRequest) XXX_Size() int

func (*PrepareRequest) XXX_Unmarshal

func (m *PrepareRequest) XXX_Unmarshal(b []byte) error

type PrepareResponse

type PrepareResponse struct {
	Errors               []*TxnError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*PrepareResponse) Descriptor

func (*PrepareResponse) Descriptor() ([]byte, []int)

func (*PrepareResponse) GetErrors

func (m *PrepareResponse) GetErrors() []*TxnError

func (*PrepareResponse) Marshal

func (m *PrepareResponse) Marshal() (dAtA []byte, err error)

func (*PrepareResponse) MarshalTo

func (m *PrepareResponse) MarshalTo(dAtA []byte) (int, error)

func (*PrepareResponse) MarshalToSizedBuffer

func (m *PrepareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrepareResponse) ProtoMessage

func (*PrepareResponse) ProtoMessage()

func (*PrepareResponse) Reset

func (m *PrepareResponse) Reset()

func (*PrepareResponse) Size

func (m *PrepareResponse) Size() (n int)

func (*PrepareResponse) String

func (m *PrepareResponse) String() string

func (*PrepareResponse) Unmarshal

func (m *PrepareResponse) Unmarshal(dAtA []byte) error

func (*PrepareResponse) XXX_DiscardUnknown

func (m *PrepareResponse) XXX_DiscardUnknown()

func (*PrepareResponse) XXX_Marshal

func (m *PrepareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrepareResponse) XXX_Merge

func (m *PrepareResponse) XXX_Merge(src proto.Message)

func (*PrepareResponse) XXX_Size

func (m *PrepareResponse) XXX_Size() int

func (*PrepareResponse) XXX_Unmarshal

func (m *PrepareResponse) XXX_Unmarshal(b []byte) error

type Processor

type Processor struct {
	Type                 ProcessorType `protobuf:"varint,1,opt,name=type,proto3,enum=dspb.ProcessorType" json:"type,omitempty"`
	TableRead            *TableRead    `protobuf:"bytes,2,opt,name=table_read,json=tableRead,proto3" json:"table_read,omitempty"`
	IndexRead            *IndexRead    `protobuf:"bytes,3,opt,name=index_read,json=indexRead,proto3" json:"index_read,omitempty"`
	Selection            *Selection    `protobuf:"bytes,4,opt,name=selection,proto3" json:"selection,omitempty"`
	Projection           *Projection   `protobuf:"bytes,5,opt,name=projection,proto3" json:"projection,omitempty"`
	Aggregation          *Aggregation  `protobuf:"bytes,6,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
	StreamAggregation    *Aggregation  `protobuf:"bytes,7,opt,name=stream_aggregation,json=streamAggregation,proto3" json:"stream_aggregation,omitempty"`
	Ordering             *Ordering     `protobuf:"bytes,8,opt,name=ordering,proto3" json:"ordering,omitempty"`
	Limit                *Limit        `protobuf:"bytes,9,opt,name=limit,proto3" json:"limit,omitempty"`
	DataSample           *DataSample   `protobuf:"bytes,10,opt,name=data_sample,json=dataSample,proto3" json:"data_sample,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Processor) Descriptor

func (*Processor) Descriptor() ([]byte, []int)

func (*Processor) GetAggregation

func (m *Processor) GetAggregation() *Aggregation

func (*Processor) GetDataSample

func (m *Processor) GetDataSample() *DataSample

func (*Processor) GetIndexRead

func (m *Processor) GetIndexRead() *IndexRead

func (*Processor) GetLimit

func (m *Processor) GetLimit() *Limit

func (*Processor) GetOrdering

func (m *Processor) GetOrdering() *Ordering

func (*Processor) GetProjection

func (m *Processor) GetProjection() *Projection

func (*Processor) GetSelection

func (m *Processor) GetSelection() *Selection

func (*Processor) GetStreamAggregation

func (m *Processor) GetStreamAggregation() *Aggregation

func (*Processor) GetTableRead

func (m *Processor) GetTableRead() *TableRead

func (*Processor) GetType

func (m *Processor) GetType() ProcessorType

func (*Processor) Marshal

func (m *Processor) Marshal() (dAtA []byte, err error)

func (*Processor) MarshalTo

func (m *Processor) MarshalTo(dAtA []byte) (int, error)

func (*Processor) MarshalToSizedBuffer

func (m *Processor) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Processor) ProtoMessage

func (*Processor) ProtoMessage()

func (*Processor) Reset

func (m *Processor) Reset()

func (*Processor) Size

func (m *Processor) Size() (n int)

func (*Processor) String

func (m *Processor) String() string

func (*Processor) Unmarshal

func (m *Processor) Unmarshal(dAtA []byte) error

func (*Processor) XXX_DiscardUnknown

func (m *Processor) XXX_DiscardUnknown()

func (*Processor) XXX_Marshal

func (m *Processor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Processor) XXX_Merge

func (m *Processor) XXX_Merge(src proto.Message)

func (*Processor) XXX_Size

func (m *Processor) XXX_Size() int

func (*Processor) XXX_Unmarshal

func (m *Processor) XXX_Unmarshal(b []byte) error

type ProcessorTrace

type ProcessorTrace struct {
	ProcessedRows uint64 `protobuf:"varint,1,opt,name=processed_rows,json=processedRows,proto3" json:"processed_rows,omitempty"`
	// nanosecond
	ElapseTime           uint64   `protobuf:"varint,2,opt,name=elapse_time,json=elapseTime,proto3" json:"elapse_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProcessorTrace) Descriptor

func (*ProcessorTrace) Descriptor() ([]byte, []int)

func (*ProcessorTrace) GetElapseTime

func (m *ProcessorTrace) GetElapseTime() uint64

func (*ProcessorTrace) GetProcessedRows

func (m *ProcessorTrace) GetProcessedRows() uint64

func (*ProcessorTrace) Marshal

func (m *ProcessorTrace) Marshal() (dAtA []byte, err error)

func (*ProcessorTrace) MarshalTo

func (m *ProcessorTrace) MarshalTo(dAtA []byte) (int, error)

func (*ProcessorTrace) MarshalToSizedBuffer

func (m *ProcessorTrace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProcessorTrace) ProtoMessage

func (*ProcessorTrace) ProtoMessage()

func (*ProcessorTrace) Reset

func (m *ProcessorTrace) Reset()

func (*ProcessorTrace) Size

func (m *ProcessorTrace) Size() (n int)

func (*ProcessorTrace) String

func (m *ProcessorTrace) String() string

func (*ProcessorTrace) Unmarshal

func (m *ProcessorTrace) Unmarshal(dAtA []byte) error

func (*ProcessorTrace) XXX_DiscardUnknown

func (m *ProcessorTrace) XXX_DiscardUnknown()

func (*ProcessorTrace) XXX_Marshal

func (m *ProcessorTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProcessorTrace) XXX_Merge

func (m *ProcessorTrace) XXX_Merge(src proto.Message)

func (*ProcessorTrace) XXX_Size

func (m *ProcessorTrace) XXX_Size() int

func (*ProcessorTrace) XXX_Unmarshal

func (m *ProcessorTrace) XXX_Unmarshal(b []byte) error

type ProcessorType

type ProcessorType int32
const (
	ProcessorType_TABLE_READ_TYPE         ProcessorType = 0
	ProcessorType_INDEX_READ_TYPE         ProcessorType = 1
	ProcessorType_SELECTION_TYPE          ProcessorType = 2
	ProcessorType_PROJECTION_TYPE         ProcessorType = 3
	ProcessorType_AGGREGATION_TYPE        ProcessorType = 4
	ProcessorType_STREAM_AGGREGATION_TYPE ProcessorType = 5
	ProcessorType_ORDER_BY_TYPE           ProcessorType = 6
	ProcessorType_LIMIT_TYPE              ProcessorType = 7
	ProcessorType_DATA_SAMPLE_TYPE        ProcessorType = 8
)

func (ProcessorType) EnumDescriptor

func (ProcessorType) EnumDescriptor() ([]byte, []int)

func (ProcessorType) String

func (x ProcessorType) String() string

type ProfileRequest

type ProfileRequest struct {
	Ptype                ProfileRequest_ProfileType `protobuf:"varint,1,opt,name=ptype,proto3,enum=dspb.ProfileRequest_ProfileType" json:"ptype,omitempty"`
	OutputPath           string                     `protobuf:"bytes,2,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
	Op                   ProfileRequest_ProfileOp   `protobuf:"varint,3,opt,name=op,proto3,enum=dspb.ProfileRequest_ProfileOp" json:"op,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*ProfileRequest) Descriptor

func (*ProfileRequest) Descriptor() ([]byte, []int)

func (*ProfileRequest) GetOp

func (*ProfileRequest) GetOutputPath

func (m *ProfileRequest) GetOutputPath() string

func (*ProfileRequest) GetPtype

func (*ProfileRequest) Marshal

func (m *ProfileRequest) Marshal() (dAtA []byte, err error)

func (*ProfileRequest) MarshalTo

func (m *ProfileRequest) MarshalTo(dAtA []byte) (int, error)

func (*ProfileRequest) MarshalToSizedBuffer

func (m *ProfileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProfileRequest) ProtoMessage

func (*ProfileRequest) ProtoMessage()

func (*ProfileRequest) Reset

func (m *ProfileRequest) Reset()

func (*ProfileRequest) Size

func (m *ProfileRequest) Size() (n int)

func (*ProfileRequest) String

func (m *ProfileRequest) String() string

func (*ProfileRequest) Unmarshal

func (m *ProfileRequest) Unmarshal(dAtA []byte) error

func (*ProfileRequest) XXX_DiscardUnknown

func (m *ProfileRequest) XXX_DiscardUnknown()

func (*ProfileRequest) XXX_Marshal

func (m *ProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfileRequest) XXX_Merge

func (m *ProfileRequest) XXX_Merge(src proto.Message)

func (*ProfileRequest) XXX_Size

func (m *ProfileRequest) XXX_Size() int

func (*ProfileRequest) XXX_Unmarshal

func (m *ProfileRequest) XXX_Unmarshal(b []byte) error

type ProfileRequest_ProfileOp

type ProfileRequest_ProfileOp int32
const (
	ProfileRequest_PROFILE_START ProfileRequest_ProfileOp = 0
	ProfileRequest_PROFILE_STOP  ProfileRequest_ProfileOp = 1
)

func (ProfileRequest_ProfileOp) EnumDescriptor

func (ProfileRequest_ProfileOp) EnumDescriptor() ([]byte, []int)

func (ProfileRequest_ProfileOp) String

func (x ProfileRequest_ProfileOp) String() string

type ProfileRequest_ProfileType

type ProfileRequest_ProfileType int32
const (
	ProfileRequest_CPU     ProfileRequest_ProfileType = 0
	ProfileRequest_HEAP    ProfileRequest_ProfileType = 1
	ProfileRequest_ROCKSDB ProfileRequest_ProfileType = 2
)

func (ProfileRequest_ProfileType) EnumDescriptor

func (ProfileRequest_ProfileType) EnumDescriptor() ([]byte, []int)

func (ProfileRequest_ProfileType) String

type ProfileResponse

type ProfileResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProfileResponse) Descriptor

func (*ProfileResponse) Descriptor() ([]byte, []int)

func (*ProfileResponse) Marshal

func (m *ProfileResponse) Marshal() (dAtA []byte, err error)

func (*ProfileResponse) MarshalTo

func (m *ProfileResponse) MarshalTo(dAtA []byte) (int, error)

func (*ProfileResponse) MarshalToSizedBuffer

func (m *ProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProfileResponse) ProtoMessage

func (*ProfileResponse) ProtoMessage()

func (*ProfileResponse) Reset

func (m *ProfileResponse) Reset()

func (*ProfileResponse) Size

func (m *ProfileResponse) Size() (n int)

func (*ProfileResponse) String

func (m *ProfileResponse) String() string

func (*ProfileResponse) Unmarshal

func (m *ProfileResponse) Unmarshal(dAtA []byte) error

func (*ProfileResponse) XXX_DiscardUnknown

func (m *ProfileResponse) XXX_DiscardUnknown()

func (*ProfileResponse) XXX_Marshal

func (m *ProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfileResponse) XXX_Merge

func (m *ProfileResponse) XXX_Merge(src proto.Message)

func (*ProfileResponse) XXX_Size

func (m *ProfileResponse) XXX_Size() int

func (*ProfileResponse) XXX_Unmarshal

func (m *ProfileResponse) XXX_Unmarshal(b []byte) error

type Projection

type Projection struct {
	Columns              []*Expr  `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Projection) Descriptor

func (*Projection) Descriptor() ([]byte, []int)

func (*Projection) GetColumns

func (m *Projection) GetColumns() []*Expr

func (*Projection) Marshal

func (m *Projection) Marshal() (dAtA []byte, err error)

func (*Projection) MarshalTo

func (m *Projection) MarshalTo(dAtA []byte) (int, error)

func (*Projection) MarshalToSizedBuffer

func (m *Projection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Projection) ProtoMessage

func (*Projection) ProtoMessage()

func (*Projection) Reset

func (m *Projection) Reset()

func (*Projection) Size

func (m *Projection) Size() (n int)

func (*Projection) String

func (m *Projection) String() string

func (*Projection) Unmarshal

func (m *Projection) Unmarshal(dAtA []byte) error

func (*Projection) XXX_DiscardUnknown

func (m *Projection) XXX_DiscardUnknown()

func (*Projection) XXX_Marshal

func (m *Projection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Projection) XXX_Merge

func (m *Projection) XXX_Merge(src proto.Message)

func (*Projection) XXX_Size

func (m *Projection) XXX_Size() int

func (*Projection) XXX_Unmarshal

func (m *Projection) XXX_Unmarshal(b []byte) error

type RangeInfo

type RangeInfo struct {
	Range *basepb.Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"`
	// range metric stats
	Stats *RangeStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
	// leader term
	Term uint64 `protobuf:"varint,3,opt,name=term,proto3" json:"term,omitempty"`
	// replica status
	PeersStatus          []*basepb.PeerStatus `protobuf:"bytes,4,rep,name=peers_status,json=peersStatus,proto3" json:"peers_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*RangeInfo) Descriptor

func (*RangeInfo) Descriptor() ([]byte, []int)

func (*RangeInfo) GetPeersStatus

func (m *RangeInfo) GetPeersStatus() []*basepb.PeerStatus

func (*RangeInfo) GetRange

func (m *RangeInfo) GetRange() *basepb.Range

func (*RangeInfo) GetStats

func (m *RangeInfo) GetStats() *RangeStats

func (*RangeInfo) GetTerm

func (m *RangeInfo) GetTerm() uint64

func (*RangeInfo) Marshal

func (m *RangeInfo) Marshal() (dAtA []byte, err error)

func (*RangeInfo) MarshalTo

func (m *RangeInfo) MarshalTo(dAtA []byte) (int, error)

func (*RangeInfo) MarshalToSizedBuffer

func (m *RangeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeInfo) ProtoMessage

func (*RangeInfo) ProtoMessage()

func (*RangeInfo) Reset

func (m *RangeInfo) Reset()

func (*RangeInfo) Size

func (m *RangeInfo) Size() (n int)

func (*RangeInfo) String

func (m *RangeInfo) String() string

func (*RangeInfo) Unmarshal

func (m *RangeInfo) Unmarshal(dAtA []byte) error

func (*RangeInfo) XXX_DiscardUnknown

func (m *RangeInfo) XXX_DiscardUnknown()

func (*RangeInfo) XXX_Marshal

func (m *RangeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeInfo) XXX_Merge

func (m *RangeInfo) XXX_Merge(src proto.Message)

func (*RangeInfo) XXX_Size

func (m *RangeInfo) XXX_Size() int

func (*RangeInfo) XXX_Unmarshal

func (m *RangeInfo) XXX_Unmarshal(b []byte) error

type RangeRequest

type RangeRequest struct {
	Header *RangeRequest_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Types that are valid to be assigned to Req:
	//	*RangeRequest_Prepare
	//	*RangeRequest_Decide
	//	*RangeRequest_ClearUp
	//	*RangeRequest_GetLockInfo
	//	*RangeRequest_Select
	//	*RangeRequest_Scan
	//	*RangeRequest_SelectFlow
	//	*RangeRequest_KvGet
	//	*RangeRequest_KvPut
	//	*RangeRequest_KvDelete
	Req                  isRangeRequest_Req `protobuf_oneof:"req"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

RangeRequest data request to a range

func (*RangeRequest) Descriptor

func (*RangeRequest) Descriptor() ([]byte, []int)

func (*RangeRequest) GetClearUp

func (m *RangeRequest) GetClearUp() *ClearupRequest

func (*RangeRequest) GetDecide

func (m *RangeRequest) GetDecide() *DecideRequest

func (*RangeRequest) GetGetLockInfo

func (m *RangeRequest) GetGetLockInfo() *GetLockInfoRequest

func (*RangeRequest) GetHeader

func (m *RangeRequest) GetHeader() *RangeRequest_Header

func (*RangeRequest) GetKvDelete

func (m *RangeRequest) GetKvDelete() *KvDeleteRequest

func (*RangeRequest) GetKvGet

func (m *RangeRequest) GetKvGet() *KvGetRequest

func (*RangeRequest) GetKvPut

func (m *RangeRequest) GetKvPut() *KvPutRequest

func (*RangeRequest) GetPrepare

func (m *RangeRequest) GetPrepare() *PrepareRequest

func (*RangeRequest) GetReq

func (m *RangeRequest) GetReq() isRangeRequest_Req

func (*RangeRequest) GetScan

func (m *RangeRequest) GetScan() *ScanRequest

func (*RangeRequest) GetSelect

func (m *RangeRequest) GetSelect() *SelectRequest

func (*RangeRequest) GetSelectFlow

func (m *RangeRequest) GetSelectFlow() *SelectFlowRequest

func (*RangeRequest) Marshal

func (m *RangeRequest) Marshal() (dAtA []byte, err error)

func (*RangeRequest) MarshalTo

func (m *RangeRequest) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest) MarshalToSizedBuffer

func (m *RangeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest) ProtoMessage

func (*RangeRequest) ProtoMessage()

func (*RangeRequest) Reset

func (m *RangeRequest) Reset()

func (*RangeRequest) Size

func (m *RangeRequest) Size() (n int)

func (*RangeRequest) String

func (m *RangeRequest) String() string

func (*RangeRequest) Unmarshal

func (m *RangeRequest) Unmarshal(dAtA []byte) error

func (*RangeRequest) XXX_DiscardUnknown

func (m *RangeRequest) XXX_DiscardUnknown()

func (*RangeRequest) XXX_Marshal

func (m *RangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeRequest) XXX_Merge

func (m *RangeRequest) XXX_Merge(src proto.Message)

func (*RangeRequest) XXX_OneofWrappers

func (*RangeRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RangeRequest) XXX_Size

func (m *RangeRequest) XXX_Size() int

func (*RangeRequest) XXX_Unmarshal

func (m *RangeRequest) XXX_Unmarshal(b []byte) error

type RangeRequest_ClearUp

type RangeRequest_ClearUp struct {
	ClearUp *ClearupRequest `protobuf:"bytes,4,opt,name=clear_up,json=clearUp,proto3,oneof" json:"clear_up,omitempty"`
}

func (*RangeRequest_ClearUp) MarshalTo

func (m *RangeRequest_ClearUp) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_ClearUp) MarshalToSizedBuffer

func (m *RangeRequest_ClearUp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_ClearUp) Size

func (m *RangeRequest_ClearUp) Size() (n int)

type RangeRequest_Decide

type RangeRequest_Decide struct {
	Decide *DecideRequest `protobuf:"bytes,3,opt,name=decide,proto3,oneof" json:"decide,omitempty"`
}

func (*RangeRequest_Decide) MarshalTo

func (m *RangeRequest_Decide) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_Decide) MarshalToSizedBuffer

func (m *RangeRequest_Decide) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_Decide) Size

func (m *RangeRequest_Decide) Size() (n int)

type RangeRequest_GetLockInfo

type RangeRequest_GetLockInfo struct {
	GetLockInfo *GetLockInfoRequest `protobuf:"bytes,5,opt,name=get_lock_info,json=getLockInfo,proto3,oneof" json:"get_lock_info,omitempty"`
}

func (*RangeRequest_GetLockInfo) MarshalTo

func (m *RangeRequest_GetLockInfo) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_GetLockInfo) MarshalToSizedBuffer

func (m *RangeRequest_GetLockInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_GetLockInfo) Size

func (m *RangeRequest_GetLockInfo) Size() (n int)

type RangeRequest_Header

type RangeRequest_Header struct {
	ClusterId            uint64             `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	TraceId              uint64             `protobuf:"varint,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	RangeId              uint64             `protobuf:"varint,3,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	RangeEpoch           *basepb.RangeEpoch `protobuf:"bytes,4,opt,name=range_epoch,json=rangeEpoch,proto3" json:"range_epoch,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*RangeRequest_Header) Descriptor

func (*RangeRequest_Header) Descriptor() ([]byte, []int)

func (*RangeRequest_Header) GetClusterId

func (m *RangeRequest_Header) GetClusterId() uint64

func (*RangeRequest_Header) GetRangeEpoch

func (m *RangeRequest_Header) GetRangeEpoch() *basepb.RangeEpoch

func (*RangeRequest_Header) GetRangeId

func (m *RangeRequest_Header) GetRangeId() uint64

func (*RangeRequest_Header) GetTraceId

func (m *RangeRequest_Header) GetTraceId() uint64

func (*RangeRequest_Header) Marshal

func (m *RangeRequest_Header) Marshal() (dAtA []byte, err error)

func (*RangeRequest_Header) MarshalTo

func (m *RangeRequest_Header) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_Header) MarshalToSizedBuffer

func (m *RangeRequest_Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_Header) ProtoMessage

func (*RangeRequest_Header) ProtoMessage()

func (*RangeRequest_Header) Reset

func (m *RangeRequest_Header) Reset()

func (*RangeRequest_Header) Size

func (m *RangeRequest_Header) Size() (n int)

func (*RangeRequest_Header) String

func (m *RangeRequest_Header) String() string

func (*RangeRequest_Header) Unmarshal

func (m *RangeRequest_Header) Unmarshal(dAtA []byte) error

func (*RangeRequest_Header) XXX_DiscardUnknown

func (m *RangeRequest_Header) XXX_DiscardUnknown()

func (*RangeRequest_Header) XXX_Marshal

func (m *RangeRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeRequest_Header) XXX_Merge

func (m *RangeRequest_Header) XXX_Merge(src proto.Message)

func (*RangeRequest_Header) XXX_Size

func (m *RangeRequest_Header) XXX_Size() int

func (*RangeRequest_Header) XXX_Unmarshal

func (m *RangeRequest_Header) XXX_Unmarshal(b []byte) error

type RangeRequest_KvDelete

type RangeRequest_KvDelete struct {
	KvDelete *KvDeleteRequest `protobuf:"bytes,22,opt,name=kv_delete,json=kvDelete,proto3,oneof" json:"kv_delete,omitempty"`
}

func (*RangeRequest_KvDelete) MarshalTo

func (m *RangeRequest_KvDelete) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_KvDelete) MarshalToSizedBuffer

func (m *RangeRequest_KvDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_KvDelete) Size

func (m *RangeRequest_KvDelete) Size() (n int)

type RangeRequest_KvGet

type RangeRequest_KvGet struct {
	KvGet *KvGetRequest `protobuf:"bytes,20,opt,name=kv_get,json=kvGet,proto3,oneof" json:"kv_get,omitempty"`
}

func (*RangeRequest_KvGet) MarshalTo

func (m *RangeRequest_KvGet) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_KvGet) MarshalToSizedBuffer

func (m *RangeRequest_KvGet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_KvGet) Size

func (m *RangeRequest_KvGet) Size() (n int)

type RangeRequest_KvPut

type RangeRequest_KvPut struct {
	KvPut *KvPutRequest `protobuf:"bytes,21,opt,name=kv_put,json=kvPut,proto3,oneof" json:"kv_put,omitempty"`
}

func (*RangeRequest_KvPut) MarshalTo

func (m *RangeRequest_KvPut) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_KvPut) MarshalToSizedBuffer

func (m *RangeRequest_KvPut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_KvPut) Size

func (m *RangeRequest_KvPut) Size() (n int)

type RangeRequest_Prepare

type RangeRequest_Prepare struct {
	Prepare *PrepareRequest `protobuf:"bytes,2,opt,name=prepare,proto3,oneof" json:"prepare,omitempty"`
}

func (*RangeRequest_Prepare) MarshalTo

func (m *RangeRequest_Prepare) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_Prepare) MarshalToSizedBuffer

func (m *RangeRequest_Prepare) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_Prepare) Size

func (m *RangeRequest_Prepare) Size() (n int)

type RangeRequest_Scan

type RangeRequest_Scan struct {
	Scan *ScanRequest `protobuf:"bytes,7,opt,name=scan,proto3,oneof" json:"scan,omitempty"`
}

func (*RangeRequest_Scan) MarshalTo

func (m *RangeRequest_Scan) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_Scan) MarshalToSizedBuffer

func (m *RangeRequest_Scan) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_Scan) Size

func (m *RangeRequest_Scan) Size() (n int)

type RangeRequest_Select

type RangeRequest_Select struct {
	Select *SelectRequest `protobuf:"bytes,6,opt,name=select,proto3,oneof" json:"select,omitempty"`
}

func (*RangeRequest_Select) MarshalTo

func (m *RangeRequest_Select) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_Select) MarshalToSizedBuffer

func (m *RangeRequest_Select) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_Select) Size

func (m *RangeRequest_Select) Size() (n int)

type RangeRequest_SelectFlow

type RangeRequest_SelectFlow struct {
	SelectFlow *SelectFlowRequest `protobuf:"bytes,8,opt,name=select_flow,json=selectFlow,proto3,oneof" json:"select_flow,omitempty"`
}

func (*RangeRequest_SelectFlow) MarshalTo

func (m *RangeRequest_SelectFlow) MarshalTo(dAtA []byte) (int, error)

func (*RangeRequest_SelectFlow) MarshalToSizedBuffer

func (m *RangeRequest_SelectFlow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeRequest_SelectFlow) Size

func (m *RangeRequest_SelectFlow) Size() (n int)

type RangeResponse

type RangeResponse struct {
	Header *RangeResponse_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Types that are valid to be assigned to Resp:
	//	*RangeResponse_Prepare
	//	*RangeResponse_Decide
	//	*RangeResponse_ClearUp
	//	*RangeResponse_GetLockInfo
	//	*RangeResponse_Select
	//	*RangeResponse_Scan
	//	*RangeResponse_SelectFlow
	//	*RangeResponse_KvGet
	//	*RangeResponse_KvPut
	//	*RangeResponse_KvDelete
	Resp                 isRangeResponse_Resp `protobuf_oneof:"resp"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*RangeResponse) Descriptor

func (*RangeResponse) Descriptor() ([]byte, []int)

func (*RangeResponse) GetClearUp

func (m *RangeResponse) GetClearUp() *ClearupResponse

func (*RangeResponse) GetDecide

func (m *RangeResponse) GetDecide() *DecideResponse

func (*RangeResponse) GetGetLockInfo

func (m *RangeResponse) GetGetLockInfo() *GetLockInfoResponse

func (*RangeResponse) GetHeader

func (m *RangeResponse) GetHeader() *RangeResponse_Header

func (*RangeResponse) GetKvDelete

func (m *RangeResponse) GetKvDelete() *KvDeleteResponse

func (*RangeResponse) GetKvGet

func (m *RangeResponse) GetKvGet() *KvGetResponse

func (*RangeResponse) GetKvPut

func (m *RangeResponse) GetKvPut() *KvPutResponse

func (*RangeResponse) GetPrepare

func (m *RangeResponse) GetPrepare() *PrepareResponse

func (*RangeResponse) GetResp

func (m *RangeResponse) GetResp() isRangeResponse_Resp

func (*RangeResponse) GetScan

func (m *RangeResponse) GetScan() *ScanResponse

func (*RangeResponse) GetSelect

func (m *RangeResponse) GetSelect() *SelectResponse

func (*RangeResponse) GetSelectFlow

func (m *RangeResponse) GetSelectFlow() *SelectFlowResponse

func (*RangeResponse) Marshal

func (m *RangeResponse) Marshal() (dAtA []byte, err error)

func (*RangeResponse) MarshalTo

func (m *RangeResponse) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse) MarshalToSizedBuffer

func (m *RangeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse) ProtoMessage

func (*RangeResponse) ProtoMessage()

func (*RangeResponse) Reset

func (m *RangeResponse) Reset()

func (*RangeResponse) Size

func (m *RangeResponse) Size() (n int)

func (*RangeResponse) String

func (m *RangeResponse) String() string

func (*RangeResponse) Unmarshal

func (m *RangeResponse) Unmarshal(dAtA []byte) error

func (*RangeResponse) XXX_DiscardUnknown

func (m *RangeResponse) XXX_DiscardUnknown()

func (*RangeResponse) XXX_Marshal

func (m *RangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeResponse) XXX_Merge

func (m *RangeResponse) XXX_Merge(src proto.Message)

func (*RangeResponse) XXX_OneofWrappers

func (*RangeResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RangeResponse) XXX_Size

func (m *RangeResponse) XXX_Size() int

func (*RangeResponse) XXX_Unmarshal

func (m *RangeResponse) XXX_Unmarshal(b []byte) error

type RangeResponse_ClearUp

type RangeResponse_ClearUp struct {
	ClearUp *ClearupResponse `protobuf:"bytes,4,opt,name=clear_up,json=clearUp,proto3,oneof" json:"clear_up,omitempty"`
}

func (*RangeResponse_ClearUp) MarshalTo

func (m *RangeResponse_ClearUp) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_ClearUp) MarshalToSizedBuffer

func (m *RangeResponse_ClearUp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_ClearUp) Size

func (m *RangeResponse_ClearUp) Size() (n int)

type RangeResponse_Decide

type RangeResponse_Decide struct {
	Decide *DecideResponse `protobuf:"bytes,3,opt,name=decide,proto3,oneof" json:"decide,omitempty"`
}

func (*RangeResponse_Decide) MarshalTo

func (m *RangeResponse_Decide) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_Decide) MarshalToSizedBuffer

func (m *RangeResponse_Decide) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_Decide) Size

func (m *RangeResponse_Decide) Size() (n int)

type RangeResponse_GetLockInfo

type RangeResponse_GetLockInfo struct {
	GetLockInfo *GetLockInfoResponse `protobuf:"bytes,5,opt,name=get_lock_info,json=getLockInfo,proto3,oneof" json:"get_lock_info,omitempty"`
}

func (*RangeResponse_GetLockInfo) MarshalTo

func (m *RangeResponse_GetLockInfo) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_GetLockInfo) MarshalToSizedBuffer

func (m *RangeResponse_GetLockInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_GetLockInfo) Size

func (m *RangeResponse_GetLockInfo) Size() (n int)

type RangeResponse_Header

type RangeResponse_Header struct {
	ClusterId            uint64   `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	TraceId              uint64   `protobuf:"varint,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	Error                *Error   `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RangeResponse_Header) Descriptor

func (*RangeResponse_Header) Descriptor() ([]byte, []int)

func (*RangeResponse_Header) GetClusterId

func (m *RangeResponse_Header) GetClusterId() uint64

func (*RangeResponse_Header) GetError

func (m *RangeResponse_Header) GetError() *Error

func (*RangeResponse_Header) GetTraceId

func (m *RangeResponse_Header) GetTraceId() uint64

func (*RangeResponse_Header) Marshal

func (m *RangeResponse_Header) Marshal() (dAtA []byte, err error)

func (*RangeResponse_Header) MarshalTo

func (m *RangeResponse_Header) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_Header) MarshalToSizedBuffer

func (m *RangeResponse_Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_Header) ProtoMessage

func (*RangeResponse_Header) ProtoMessage()

func (*RangeResponse_Header) Reset

func (m *RangeResponse_Header) Reset()

func (*RangeResponse_Header) Size

func (m *RangeResponse_Header) Size() (n int)

func (*RangeResponse_Header) String

func (m *RangeResponse_Header) String() string

func (*RangeResponse_Header) Unmarshal

func (m *RangeResponse_Header) Unmarshal(dAtA []byte) error

func (*RangeResponse_Header) XXX_DiscardUnknown

func (m *RangeResponse_Header) XXX_DiscardUnknown()

func (*RangeResponse_Header) XXX_Marshal

func (m *RangeResponse_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeResponse_Header) XXX_Merge

func (m *RangeResponse_Header) XXX_Merge(src proto.Message)

func (*RangeResponse_Header) XXX_Size

func (m *RangeResponse_Header) XXX_Size() int

func (*RangeResponse_Header) XXX_Unmarshal

func (m *RangeResponse_Header) XXX_Unmarshal(b []byte) error

type RangeResponse_KvDelete

type RangeResponse_KvDelete struct {
	KvDelete *KvDeleteResponse `protobuf:"bytes,22,opt,name=kv_delete,json=kvDelete,proto3,oneof" json:"kv_delete,omitempty"`
}

func (*RangeResponse_KvDelete) MarshalTo

func (m *RangeResponse_KvDelete) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_KvDelete) MarshalToSizedBuffer

func (m *RangeResponse_KvDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_KvDelete) Size

func (m *RangeResponse_KvDelete) Size() (n int)

type RangeResponse_KvGet

type RangeResponse_KvGet struct {
	KvGet *KvGetResponse `protobuf:"bytes,20,opt,name=kv_get,json=kvGet,proto3,oneof" json:"kv_get,omitempty"`
}

func (*RangeResponse_KvGet) MarshalTo

func (m *RangeResponse_KvGet) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_KvGet) MarshalToSizedBuffer

func (m *RangeResponse_KvGet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_KvGet) Size

func (m *RangeResponse_KvGet) Size() (n int)

type RangeResponse_KvPut

type RangeResponse_KvPut struct {
	KvPut *KvPutResponse `protobuf:"bytes,21,opt,name=kv_put,json=kvPut,proto3,oneof" json:"kv_put,omitempty"`
}

func (*RangeResponse_KvPut) MarshalTo

func (m *RangeResponse_KvPut) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_KvPut) MarshalToSizedBuffer

func (m *RangeResponse_KvPut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_KvPut) Size

func (m *RangeResponse_KvPut) Size() (n int)

type RangeResponse_Prepare

type RangeResponse_Prepare struct {
	Prepare *PrepareResponse `protobuf:"bytes,2,opt,name=prepare,proto3,oneof" json:"prepare,omitempty"`
}

func (*RangeResponse_Prepare) MarshalTo

func (m *RangeResponse_Prepare) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_Prepare) MarshalToSizedBuffer

func (m *RangeResponse_Prepare) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_Prepare) Size

func (m *RangeResponse_Prepare) Size() (n int)

type RangeResponse_Scan

type RangeResponse_Scan struct {
	Scan *ScanResponse `protobuf:"bytes,7,opt,name=scan,proto3,oneof" json:"scan,omitempty"`
}

func (*RangeResponse_Scan) MarshalTo

func (m *RangeResponse_Scan) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_Scan) MarshalToSizedBuffer

func (m *RangeResponse_Scan) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_Scan) Size

func (m *RangeResponse_Scan) Size() (n int)

type RangeResponse_Select

type RangeResponse_Select struct {
	Select *SelectResponse `protobuf:"bytes,6,opt,name=select,proto3,oneof" json:"select,omitempty"`
}

func (*RangeResponse_Select) MarshalTo

func (m *RangeResponse_Select) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_Select) MarshalToSizedBuffer

func (m *RangeResponse_Select) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_Select) Size

func (m *RangeResponse_Select) Size() (n int)

type RangeResponse_SelectFlow

type RangeResponse_SelectFlow struct {
	SelectFlow *SelectFlowResponse `protobuf:"bytes,8,opt,name=select_flow,json=selectFlow,proto3,oneof" json:"select_flow,omitempty"`
}

func (*RangeResponse_SelectFlow) MarshalTo

func (m *RangeResponse_SelectFlow) MarshalTo(dAtA []byte) (int, error)

func (*RangeResponse_SelectFlow) MarshalToSizedBuffer

func (m *RangeResponse_SelectFlow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeResponse_SelectFlow) Size

func (m *RangeResponse_SelectFlow) Size() (n int)

type RangeStats

type RangeStats struct {
	WriteBytesPerSec     uint64   `protobuf:"varint,1,opt,name=write_bytes_per_sec,json=writeBytesPerSec,proto3" json:"write_bytes_per_sec,omitempty"`
	WriteKeysPerSec      uint64   `protobuf:"varint,2,opt,name=write_keys_per_sec,json=writeKeysPerSec,proto3" json:"write_keys_per_sec,omitempty"`
	ReadBytessPerSec     uint64   `protobuf:"varint,3,opt,name=read_bytess_per_sec,json=readBytessPerSec,proto3" json:"read_bytess_per_sec,omitempty"`
	ReadKeysPerSec       uint64   `protobuf:"varint,4,opt,name=read_keys_per_sec,json=readKeysPerSec,proto3" json:"read_keys_per_sec,omitempty"`
	ApproximateSize      uint64   `protobuf:"varint,5,opt,name=approximate_size,json=approximateSize,proto3" json:"approximate_size,omitempty"`
	KvCount              uint64   `protobuf:"varint,6,opt,name=kv_count,json=kvCount,proto3" json:"kv_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RangeStats) Descriptor

func (*RangeStats) Descriptor() ([]byte, []int)

func (*RangeStats) GetApproximateSize

func (m *RangeStats) GetApproximateSize() uint64

func (*RangeStats) GetKvCount

func (m *RangeStats) GetKvCount() uint64

func (*RangeStats) GetReadBytessPerSec

func (m *RangeStats) GetReadBytessPerSec() uint64

func (*RangeStats) GetReadKeysPerSec

func (m *RangeStats) GetReadKeysPerSec() uint64

func (*RangeStats) GetWriteBytesPerSec

func (m *RangeStats) GetWriteBytesPerSec() uint64

func (*RangeStats) GetWriteKeysPerSec

func (m *RangeStats) GetWriteKeysPerSec() uint64

func (*RangeStats) Marshal

func (m *RangeStats) Marshal() (dAtA []byte, err error)

func (*RangeStats) MarshalTo

func (m *RangeStats) MarshalTo(dAtA []byte) (int, error)

func (*RangeStats) MarshalToSizedBuffer

func (m *RangeStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeStats) ProtoMessage

func (*RangeStats) ProtoMessage()

func (*RangeStats) Reset

func (m *RangeStats) Reset()

func (*RangeStats) Size

func (m *RangeStats) Size() (n int)

func (*RangeStats) String

func (m *RangeStats) String() string

func (*RangeStats) Unmarshal

func (m *RangeStats) Unmarshal(dAtA []byte) error

func (*RangeStats) XXX_DiscardUnknown

func (m *RangeStats) XXX_DiscardUnknown()

func (*RangeStats) XXX_Marshal

func (m *RangeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeStats) XXX_Merge

func (m *RangeStats) XXX_Merge(src proto.Message)

func (*RangeStats) XXX_Size

func (m *RangeStats) XXX_Size() int

func (*RangeStats) XXX_Unmarshal

func (m *RangeStats) XXX_Unmarshal(b []byte) error

type Row

type Row struct {
	Key                  []byte     `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                *RowValue  `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Intent               *RowIntent `protobuf:"bytes,3,opt,name=intent,proto3" json:"intent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Row) Descriptor

func (*Row) Descriptor() ([]byte, []int)

func (*Row) GetIntent

func (m *Row) GetIntent() *RowIntent

func (*Row) GetKey

func (m *Row) GetKey() []byte

func (*Row) GetValue

func (m *Row) GetValue() *RowValue

func (*Row) Marshal

func (m *Row) Marshal() (dAtA []byte, err error)

func (*Row) MarshalTo

func (m *Row) MarshalTo(dAtA []byte) (int, error)

func (*Row) MarshalToSizedBuffer

func (m *Row) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) Reset

func (m *Row) Reset()

func (*Row) Size

func (m *Row) Size() (n int)

func (*Row) String

func (m *Row) String() string

func (*Row) Unmarshal

func (m *Row) Unmarshal(dAtA []byte) error

func (*Row) XXX_DiscardUnknown

func (m *Row) XXX_DiscardUnknown()

func (*Row) XXX_Marshal

func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Row) XXX_Merge

func (m *Row) XXX_Merge(src proto.Message)

func (*Row) XXX_Size

func (m *Row) XXX_Size() int

func (*Row) XXX_Unmarshal

func (m *Row) XXX_Unmarshal(b []byte) error

type RowIntent

type RowIntent struct {
	OpType               OpType    `protobuf:"varint,1,opt,name=op_type,json=opType,proto3,enum=dspb.OpType" json:"op_type,omitempty"`
	TxnId                string    `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"`
	PrimaryKey           []byte    `protobuf:"bytes,3,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
	Timeout              bool      `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Value                *RowValue `protobuf:"bytes,10,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*RowIntent) Descriptor

func (*RowIntent) Descriptor() ([]byte, []int)

func (*RowIntent) GetOpType

func (m *RowIntent) GetOpType() OpType

func (*RowIntent) GetPrimaryKey

func (m *RowIntent) GetPrimaryKey() []byte

func (*RowIntent) GetTimeout

func (m *RowIntent) GetTimeout() bool

func (*RowIntent) GetTxnId

func (m *RowIntent) GetTxnId() string

func (*RowIntent) GetValue

func (m *RowIntent) GetValue() *RowValue

func (*RowIntent) Marshal

func (m *RowIntent) Marshal() (dAtA []byte, err error)

func (*RowIntent) MarshalTo

func (m *RowIntent) MarshalTo(dAtA []byte) (int, error)

func (*RowIntent) MarshalToSizedBuffer

func (m *RowIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RowIntent) ProtoMessage

func (*RowIntent) ProtoMessage()

func (*RowIntent) Reset

func (m *RowIntent) Reset()

func (*RowIntent) Size

func (m *RowIntent) Size() (n int)

func (*RowIntent) String

func (m *RowIntent) String() string

func (*RowIntent) Unmarshal

func (m *RowIntent) Unmarshal(dAtA []byte) error

func (*RowIntent) XXX_DiscardUnknown

func (m *RowIntent) XXX_DiscardUnknown()

func (*RowIntent) XXX_Marshal

func (m *RowIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RowIntent) XXX_Merge

func (m *RowIntent) XXX_Merge(src proto.Message)

func (*RowIntent) XXX_Size

func (m *RowIntent) XXX_Size() int

func (*RowIntent) XXX_Unmarshal

func (m *RowIntent) XXX_Unmarshal(b []byte) error

type RowValue

type RowValue struct {
	Fields               []byte   `protobuf:"bytes,1,opt,name=fields,proto3" json:"fields,omitempty"`
	Version              uint64   `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RowValue) Descriptor

func (*RowValue) Descriptor() ([]byte, []int)

func (*RowValue) GetFields

func (m *RowValue) GetFields() []byte

func (*RowValue) GetVersion

func (m *RowValue) GetVersion() uint64

func (*RowValue) Marshal

func (m *RowValue) Marshal() (dAtA []byte, err error)

func (*RowValue) MarshalTo

func (m *RowValue) MarshalTo(dAtA []byte) (int, error)

func (*RowValue) MarshalToSizedBuffer

func (m *RowValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RowValue) ProtoMessage

func (*RowValue) ProtoMessage()

func (*RowValue) Reset

func (m *RowValue) Reset()

func (*RowValue) Size

func (m *RowValue) Size() (n int)

func (*RowValue) String

func (m *RowValue) String() string

func (*RowValue) Unmarshal

func (m *RowValue) Unmarshal(dAtA []byte) error

func (*RowValue) XXX_DiscardUnknown

func (m *RowValue) XXX_DiscardUnknown()

func (*RowValue) XXX_Marshal

func (m *RowValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RowValue) XXX_Merge

func (m *RowValue) XXX_Merge(src proto.Message)

func (*RowValue) XXX_Size

func (m *RowValue) XXX_Size() int

func (*RowValue) XXX_Unmarshal

func (m *RowValue) XXX_Unmarshal(b []byte) error

type ScanRequest

type ScanRequest 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"`
	MaxCount             int64    `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
	OnlyOne              bool     `protobuf:"varint,4,opt,name=only_one,json=onlyOne,proto3" json:"only_one,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ScanRequest) Descriptor

func (*ScanRequest) Descriptor() ([]byte, []int)

func (*ScanRequest) GetEndKey

func (m *ScanRequest) GetEndKey() []byte

func (*ScanRequest) GetMaxCount

func (m *ScanRequest) GetMaxCount() int64

func (*ScanRequest) GetOnlyOne

func (m *ScanRequest) GetOnlyOne() bool

func (*ScanRequest) GetStartKey

func (m *ScanRequest) GetStartKey() []byte

func (*ScanRequest) Marshal

func (m *ScanRequest) Marshal() (dAtA []byte, err error)

func (*ScanRequest) MarshalTo

func (m *ScanRequest) MarshalTo(dAtA []byte) (int, 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 {
	Code                 int32       `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Kvs                  []*KeyValue `protobuf:"bytes,2,rep,name=kvs,proto3" json:"kvs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ScanResponse) Descriptor

func (*ScanResponse) Descriptor() ([]byte, []int)

func (*ScanResponse) GetCode

func (m *ScanResponse) GetCode() int32

func (*ScanResponse) GetKvs

func (m *ScanResponse) GetKvs() []*KeyValue

func (*ScanResponse) Marshal

func (m *ScanResponse) Marshal() (dAtA []byte, err error)

func (*ScanResponse) MarshalTo

func (m *ScanResponse) MarshalTo(dAtA []byte) (int, 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 SchRequest

type SchRequest struct {
	Header *SchRequest_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Types that are valid to be assigned to Req:
	//	*SchRequest_CreateRange
	//	*SchRequest_DeleteRange
	//	*SchRequest_TransferRangeLeader
	//	*SchRequest_GetPeerInfo
	//	*SchRequest_IsAlive
	//	*SchRequest_NodeInfo
	//	*SchRequest_ChangeRaftMember
	Req                  isSchRequest_Req `protobuf_oneof:"req"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SchRequest) Descriptor

func (*SchRequest) Descriptor() ([]byte, []int)

func (*SchRequest) GetChangeRaftMember

func (m *SchRequest) GetChangeRaftMember() *ChangeRaftMemberRequest

func (*SchRequest) GetCreateRange

func (m *SchRequest) GetCreateRange() *CreateRangeRequest

func (*SchRequest) GetDeleteRange

func (m *SchRequest) GetDeleteRange() *DeleteRangeRequest

func (*SchRequest) GetGetPeerInfo

func (m *SchRequest) GetGetPeerInfo() *GetPeerInfoRequest

func (*SchRequest) GetHeader

func (m *SchRequest) GetHeader() *SchRequest_Header

func (*SchRequest) GetIsAlive

func (m *SchRequest) GetIsAlive() *IsAliveRequest

func (*SchRequest) GetNodeInfo

func (m *SchRequest) GetNodeInfo() *NodeInfoRequest

func (*SchRequest) GetReq

func (m *SchRequest) GetReq() isSchRequest_Req

func (*SchRequest) GetTransferRangeLeader

func (m *SchRequest) GetTransferRangeLeader() *TransferRangeLeaderRequest

func (*SchRequest) Marshal

func (m *SchRequest) Marshal() (dAtA []byte, err error)

func (*SchRequest) MarshalTo

func (m *SchRequest) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest) MarshalToSizedBuffer

func (m *SchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest) ProtoMessage

func (*SchRequest) ProtoMessage()

func (*SchRequest) Reset

func (m *SchRequest) Reset()

func (*SchRequest) Size

func (m *SchRequest) Size() (n int)

func (*SchRequest) String

func (m *SchRequest) String() string

func (*SchRequest) Unmarshal

func (m *SchRequest) Unmarshal(dAtA []byte) error

func (*SchRequest) XXX_DiscardUnknown

func (m *SchRequest) XXX_DiscardUnknown()

func (*SchRequest) XXX_Marshal

func (m *SchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchRequest) XXX_Merge

func (m *SchRequest) XXX_Merge(src proto.Message)

func (*SchRequest) XXX_OneofWrappers

func (*SchRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SchRequest) XXX_Size

func (m *SchRequest) XXX_Size() int

func (*SchRequest) XXX_Unmarshal

func (m *SchRequest) XXX_Unmarshal(b []byte) error

type SchRequest_ChangeRaftMember

type SchRequest_ChangeRaftMember struct {
	ChangeRaftMember *ChangeRaftMemberRequest `protobuf:"bytes,8,opt,name=change_raft_member,json=changeRaftMember,proto3,oneof" json:"change_raft_member,omitempty"`
}

func (*SchRequest_ChangeRaftMember) MarshalTo

func (m *SchRequest_ChangeRaftMember) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest_ChangeRaftMember) MarshalToSizedBuffer

func (m *SchRequest_ChangeRaftMember) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest_ChangeRaftMember) Size

func (m *SchRequest_ChangeRaftMember) Size() (n int)

type SchRequest_CreateRange

type SchRequest_CreateRange struct {
	CreateRange *CreateRangeRequest `protobuf:"bytes,2,opt,name=create_range,json=createRange,proto3,oneof" json:"create_range,omitempty"`
}

func (*SchRequest_CreateRange) MarshalTo

func (m *SchRequest_CreateRange) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest_CreateRange) MarshalToSizedBuffer

func (m *SchRequest_CreateRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest_CreateRange) Size

func (m *SchRequest_CreateRange) Size() (n int)

type SchRequest_DeleteRange

type SchRequest_DeleteRange struct {
	DeleteRange *DeleteRangeRequest `protobuf:"bytes,3,opt,name=delete_range,json=deleteRange,proto3,oneof" json:"delete_range,omitempty"`
}

func (*SchRequest_DeleteRange) MarshalTo

func (m *SchRequest_DeleteRange) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest_DeleteRange) MarshalToSizedBuffer

func (m *SchRequest_DeleteRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest_DeleteRange) Size

func (m *SchRequest_DeleteRange) Size() (n int)

type SchRequest_GetPeerInfo

type SchRequest_GetPeerInfo struct {
	GetPeerInfo *GetPeerInfoRequest `protobuf:"bytes,5,opt,name=get_peer_info,json=getPeerInfo,proto3,oneof" json:"get_peer_info,omitempty"`
}

func (*SchRequest_GetPeerInfo) MarshalTo

func (m *SchRequest_GetPeerInfo) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest_GetPeerInfo) MarshalToSizedBuffer

func (m *SchRequest_GetPeerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest_GetPeerInfo) Size

func (m *SchRequest_GetPeerInfo) Size() (n int)

type SchRequest_Header

type SchRequest_Header struct {
	ClusterId            uint64   `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SchRequest_Header) Descriptor

func (*SchRequest_Header) Descriptor() ([]byte, []int)

func (*SchRequest_Header) GetClusterId

func (m *SchRequest_Header) GetClusterId() uint64

func (*SchRequest_Header) Marshal

func (m *SchRequest_Header) Marshal() (dAtA []byte, err error)

func (*SchRequest_Header) MarshalTo

func (m *SchRequest_Header) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest_Header) MarshalToSizedBuffer

func (m *SchRequest_Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest_Header) ProtoMessage

func (*SchRequest_Header) ProtoMessage()

func (*SchRequest_Header) Reset

func (m *SchRequest_Header) Reset()

func (*SchRequest_Header) Size

func (m *SchRequest_Header) Size() (n int)

func (*SchRequest_Header) String

func (m *SchRequest_Header) String() string

func (*SchRequest_Header) Unmarshal

func (m *SchRequest_Header) Unmarshal(dAtA []byte) error

func (*SchRequest_Header) XXX_DiscardUnknown

func (m *SchRequest_Header) XXX_DiscardUnknown()

func (*SchRequest_Header) XXX_Marshal

func (m *SchRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchRequest_Header) XXX_Merge

func (m *SchRequest_Header) XXX_Merge(src proto.Message)

func (*SchRequest_Header) XXX_Size

func (m *SchRequest_Header) XXX_Size() int

func (*SchRequest_Header) XXX_Unmarshal

func (m *SchRequest_Header) XXX_Unmarshal(b []byte) error

type SchRequest_IsAlive

type SchRequest_IsAlive struct {
	IsAlive *IsAliveRequest `protobuf:"bytes,6,opt,name=is_alive,json=isAlive,proto3,oneof" json:"is_alive,omitempty"`
}

func (*SchRequest_IsAlive) MarshalTo

func (m *SchRequest_IsAlive) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest_IsAlive) MarshalToSizedBuffer

func (m *SchRequest_IsAlive) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest_IsAlive) Size

func (m *SchRequest_IsAlive) Size() (n int)

type SchRequest_NodeInfo

type SchRequest_NodeInfo struct {
	NodeInfo *NodeInfoRequest `protobuf:"bytes,7,opt,name=node_info,json=nodeInfo,proto3,oneof" json:"node_info,omitempty"`
}

func (*SchRequest_NodeInfo) MarshalTo

func (m *SchRequest_NodeInfo) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest_NodeInfo) MarshalToSizedBuffer

func (m *SchRequest_NodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest_NodeInfo) Size

func (m *SchRequest_NodeInfo) Size() (n int)

type SchRequest_TransferRangeLeader

type SchRequest_TransferRangeLeader struct {
	TransferRangeLeader *TransferRangeLeaderRequest `` /* 126-byte string literal not displayed */
}

func (*SchRequest_TransferRangeLeader) MarshalTo

func (m *SchRequest_TransferRangeLeader) MarshalTo(dAtA []byte) (int, error)

func (*SchRequest_TransferRangeLeader) MarshalToSizedBuffer

func (m *SchRequest_TransferRangeLeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchRequest_TransferRangeLeader) Size

func (m *SchRequest_TransferRangeLeader) Size() (n int)

type SchResponse

type SchResponse struct {
	Header *SchResponse_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Types that are valid to be assigned to Resp:
	//	*SchResponse_CreateRange
	//	*SchResponse_DeleteRange
	//	*SchResponse_TransferRangeLeader
	//	*SchResponse_GetPeerInfo
	//	*SchResponse_IsAlive
	//	*SchResponse_NodeInfo
	//	*SchResponse_ChangeRaftMember
	Resp                 isSchResponse_Resp `protobuf_oneof:"resp"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*SchResponse) Descriptor

func (*SchResponse) Descriptor() ([]byte, []int)

func (*SchResponse) GetChangeRaftMember

func (m *SchResponse) GetChangeRaftMember() *ChangeRaftMemberResponse

func (*SchResponse) GetCreateRange

func (m *SchResponse) GetCreateRange() *CreateRangeResponse

func (*SchResponse) GetDeleteRange

func (m *SchResponse) GetDeleteRange() *DeleteRangeResponse

func (*SchResponse) GetGetPeerInfo

func (m *SchResponse) GetGetPeerInfo() *GetPeerInfoResponse

func (*SchResponse) GetHeader

func (m *SchResponse) GetHeader() *SchResponse_Header

func (*SchResponse) GetIsAlive

func (m *SchResponse) GetIsAlive() *IsAliveResponse

func (*SchResponse) GetNodeInfo

func (m *SchResponse) GetNodeInfo() *NodeInfoResponse

func (*SchResponse) GetResp

func (m *SchResponse) GetResp() isSchResponse_Resp

func (*SchResponse) GetTransferRangeLeader

func (m *SchResponse) GetTransferRangeLeader() *TransferRangeLeaderResponse

func (*SchResponse) Marshal

func (m *SchResponse) Marshal() (dAtA []byte, err error)

func (*SchResponse) MarshalTo

func (m *SchResponse) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse) MarshalToSizedBuffer

func (m *SchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse) ProtoMessage

func (*SchResponse) ProtoMessage()

func (*SchResponse) Reset

func (m *SchResponse) Reset()

func (*SchResponse) Size

func (m *SchResponse) Size() (n int)

func (*SchResponse) String

func (m *SchResponse) String() string

func (*SchResponse) Unmarshal

func (m *SchResponse) Unmarshal(dAtA []byte) error

func (*SchResponse) XXX_DiscardUnknown

func (m *SchResponse) XXX_DiscardUnknown()

func (*SchResponse) XXX_Marshal

func (m *SchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchResponse) XXX_Merge

func (m *SchResponse) XXX_Merge(src proto.Message)

func (*SchResponse) XXX_OneofWrappers

func (*SchResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SchResponse) XXX_Size

func (m *SchResponse) XXX_Size() int

func (*SchResponse) XXX_Unmarshal

func (m *SchResponse) XXX_Unmarshal(b []byte) error

type SchResponse_ChangeRaftMember

type SchResponse_ChangeRaftMember struct {
	ChangeRaftMember *ChangeRaftMemberResponse `protobuf:"bytes,8,opt,name=change_raft_member,json=changeRaftMember,proto3,oneof" json:"change_raft_member,omitempty"`
}

func (*SchResponse_ChangeRaftMember) MarshalTo

func (m *SchResponse_ChangeRaftMember) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse_ChangeRaftMember) MarshalToSizedBuffer

func (m *SchResponse_ChangeRaftMember) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse_ChangeRaftMember) Size

func (m *SchResponse_ChangeRaftMember) Size() (n int)

type SchResponse_CreateRange

type SchResponse_CreateRange struct {
	CreateRange *CreateRangeResponse `protobuf:"bytes,2,opt,name=create_range,json=createRange,proto3,oneof" json:"create_range,omitempty"`
}

func (*SchResponse_CreateRange) MarshalTo

func (m *SchResponse_CreateRange) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse_CreateRange) MarshalToSizedBuffer

func (m *SchResponse_CreateRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse_CreateRange) Size

func (m *SchResponse_CreateRange) Size() (n int)

type SchResponse_DeleteRange

type SchResponse_DeleteRange struct {
	DeleteRange *DeleteRangeResponse `protobuf:"bytes,3,opt,name=delete_range,json=deleteRange,proto3,oneof" json:"delete_range,omitempty"`
}

func (*SchResponse_DeleteRange) MarshalTo

func (m *SchResponse_DeleteRange) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse_DeleteRange) MarshalToSizedBuffer

func (m *SchResponse_DeleteRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse_DeleteRange) Size

func (m *SchResponse_DeleteRange) Size() (n int)

type SchResponse_GetPeerInfo

type SchResponse_GetPeerInfo struct {
	GetPeerInfo *GetPeerInfoResponse `protobuf:"bytes,5,opt,name=get_peer_info,json=getPeerInfo,proto3,oneof" json:"get_peer_info,omitempty"`
}

func (*SchResponse_GetPeerInfo) MarshalTo

func (m *SchResponse_GetPeerInfo) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse_GetPeerInfo) MarshalToSizedBuffer

func (m *SchResponse_GetPeerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse_GetPeerInfo) Size

func (m *SchResponse_GetPeerInfo) Size() (n int)

type SchResponse_Header

type SchResponse_Header struct {
	ClusterId            uint64   `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	Error                *Error   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SchResponse_Header) Descriptor

func (*SchResponse_Header) Descriptor() ([]byte, []int)

func (*SchResponse_Header) GetClusterId

func (m *SchResponse_Header) GetClusterId() uint64

func (*SchResponse_Header) GetError

func (m *SchResponse_Header) GetError() *Error

func (*SchResponse_Header) Marshal

func (m *SchResponse_Header) Marshal() (dAtA []byte, err error)

func (*SchResponse_Header) MarshalTo

func (m *SchResponse_Header) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse_Header) MarshalToSizedBuffer

func (m *SchResponse_Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse_Header) ProtoMessage

func (*SchResponse_Header) ProtoMessage()

func (*SchResponse_Header) Reset

func (m *SchResponse_Header) Reset()

func (*SchResponse_Header) Size

func (m *SchResponse_Header) Size() (n int)

func (*SchResponse_Header) String

func (m *SchResponse_Header) String() string

func (*SchResponse_Header) Unmarshal

func (m *SchResponse_Header) Unmarshal(dAtA []byte) error

func (*SchResponse_Header) XXX_DiscardUnknown

func (m *SchResponse_Header) XXX_DiscardUnknown()

func (*SchResponse_Header) XXX_Marshal

func (m *SchResponse_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchResponse_Header) XXX_Merge

func (m *SchResponse_Header) XXX_Merge(src proto.Message)

func (*SchResponse_Header) XXX_Size

func (m *SchResponse_Header) XXX_Size() int

func (*SchResponse_Header) XXX_Unmarshal

func (m *SchResponse_Header) XXX_Unmarshal(b []byte) error

type SchResponse_IsAlive

type SchResponse_IsAlive struct {
	IsAlive *IsAliveResponse `protobuf:"bytes,6,opt,name=is_alive,json=isAlive,proto3,oneof" json:"is_alive,omitempty"`
}

func (*SchResponse_IsAlive) MarshalTo

func (m *SchResponse_IsAlive) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse_IsAlive) MarshalToSizedBuffer

func (m *SchResponse_IsAlive) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse_IsAlive) Size

func (m *SchResponse_IsAlive) Size() (n int)

type SchResponse_NodeInfo

type SchResponse_NodeInfo struct {
	NodeInfo *NodeInfoResponse `protobuf:"bytes,7,opt,name=node_info,json=nodeInfo,proto3,oneof" json:"node_info,omitempty"`
}

func (*SchResponse_NodeInfo) MarshalTo

func (m *SchResponse_NodeInfo) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse_NodeInfo) MarshalToSizedBuffer

func (m *SchResponse_NodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse_NodeInfo) Size

func (m *SchResponse_NodeInfo) Size() (n int)

type SchResponse_TransferRangeLeader

type SchResponse_TransferRangeLeader struct {
	TransferRangeLeader *TransferRangeLeaderResponse `` /* 126-byte string literal not displayed */
}

func (*SchResponse_TransferRangeLeader) MarshalTo

func (m *SchResponse_TransferRangeLeader) MarshalTo(dAtA []byte) (int, error)

func (*SchResponse_TransferRangeLeader) MarshalToSizedBuffer

func (m *SchResponse_TransferRangeLeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchResponse_TransferRangeLeader) Size

func (m *SchResponse_TransferRangeLeader) Size() (n int)

type Scope

type Scope struct {
	Start                []byte   `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	Limit                []byte   `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Scope) Descriptor

func (*Scope) Descriptor() ([]byte, []int)

func (*Scope) GetLimit

func (m *Scope) GetLimit() []byte

func (*Scope) GetStart

func (m *Scope) GetStart() []byte

func (*Scope) Marshal

func (m *Scope) Marshal() (dAtA []byte, err error)

func (*Scope) MarshalTo

func (m *Scope) MarshalTo(dAtA []byte) (int, error)

func (*Scope) MarshalToSizedBuffer

func (m *Scope) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) Reset

func (m *Scope) Reset()

func (*Scope) Size

func (m *Scope) Size() (n int)

func (*Scope) String

func (m *Scope) String() string

func (*Scope) Unmarshal

func (m *Scope) Unmarshal(dAtA []byte) error

func (*Scope) XXX_DiscardUnknown

func (m *Scope) XXX_DiscardUnknown()

func (*Scope) XXX_Marshal

func (m *Scope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scope) XXX_Merge

func (m *Scope) XXX_Merge(src proto.Message)

func (*Scope) XXX_Size

func (m *Scope) XXX_Size() int

func (*Scope) XXX_Unmarshal

func (m *Scope) XXX_Unmarshal(b []byte) error

type SelectField

type SelectField struct {
	Typ                  SelectField_Type `protobuf:"varint,1,opt,name=typ,proto3,enum=dspb.SelectField_Type" json:"typ,omitempty"`
	AggreFunc            string           `protobuf:"bytes,2,opt,name=aggre_func,json=aggreFunc,proto3" json:"aggre_func,omitempty"`
	Column               *ColumnInfo      `protobuf:"bytes,3,opt,name=column,proto3" json:"column,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SelectField) Descriptor

func (*SelectField) Descriptor() ([]byte, []int)

func (*SelectField) GetAggreFunc

func (m *SelectField) GetAggreFunc() string

func (*SelectField) GetColumn

func (m *SelectField) GetColumn() *ColumnInfo

func (*SelectField) GetTyp

func (m *SelectField) GetTyp() SelectField_Type

func (*SelectField) Marshal

func (m *SelectField) Marshal() (dAtA []byte, err error)

func (*SelectField) MarshalTo

func (m *SelectField) MarshalTo(dAtA []byte) (int, error)

func (*SelectField) MarshalToSizedBuffer

func (m *SelectField) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SelectField) ProtoMessage

func (*SelectField) ProtoMessage()

func (*SelectField) Reset

func (m *SelectField) Reset()

func (*SelectField) Size

func (m *SelectField) Size() (n int)

func (*SelectField) String

func (m *SelectField) String() string

func (*SelectField) Unmarshal

func (m *SelectField) Unmarshal(dAtA []byte) error

func (*SelectField) XXX_DiscardUnknown

func (m *SelectField) XXX_DiscardUnknown()

func (*SelectField) XXX_Marshal

func (m *SelectField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelectField) XXX_Merge

func (m *SelectField) XXX_Merge(src proto.Message)

func (*SelectField) XXX_Size

func (m *SelectField) XXX_Size() int

func (*SelectField) XXX_Unmarshal

func (m *SelectField) XXX_Unmarshal(b []byte) error

type SelectField_Type

type SelectField_Type int32
const (
	SelectField_Column        SelectField_Type = 0
	SelectField_AggreFunction SelectField_Type = 1
)

func (SelectField_Type) EnumDescriptor

func (SelectField_Type) EnumDescriptor() ([]byte, []int)

func (SelectField_Type) String

func (x SelectField_Type) String() string

type SelectFlowRequest

type SelectFlowRequest struct {
	Processors           []*Processor `protobuf:"bytes,1,rep,name=processors,proto3" json:"processors,omitempty"`
	OutputOffsets        []uint32     `protobuf:"varint,2,rep,packed,name=output_offsets,json=outputOffsets,proto3" json:"output_offsets,omitempty"`
	GatherTrace          bool         `protobuf:"varint,3,opt,name=gather_trace,json=gatherTrace,proto3" json:"gather_trace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

select flow

func (*SelectFlowRequest) Descriptor

func (*SelectFlowRequest) Descriptor() ([]byte, []int)

func (*SelectFlowRequest) GetGatherTrace

func (m *SelectFlowRequest) GetGatherTrace() bool

func (*SelectFlowRequest) GetOutputOffsets

func (m *SelectFlowRequest) GetOutputOffsets() []uint32

func (*SelectFlowRequest) GetProcessors

func (m *SelectFlowRequest) GetProcessors() []*Processor

func (*SelectFlowRequest) Marshal

func (m *SelectFlowRequest) Marshal() (dAtA []byte, err error)

func (*SelectFlowRequest) MarshalTo

func (m *SelectFlowRequest) MarshalTo(dAtA []byte) (int, error)

func (*SelectFlowRequest) MarshalToSizedBuffer

func (m *SelectFlowRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SelectFlowRequest) ProtoMessage

func (*SelectFlowRequest) ProtoMessage()

func (*SelectFlowRequest) Reset

func (m *SelectFlowRequest) Reset()

func (*SelectFlowRequest) Size

func (m *SelectFlowRequest) Size() (n int)

func (*SelectFlowRequest) String

func (m *SelectFlowRequest) String() string

func (*SelectFlowRequest) Unmarshal

func (m *SelectFlowRequest) Unmarshal(dAtA []byte) error

func (*SelectFlowRequest) XXX_DiscardUnknown

func (m *SelectFlowRequest) XXX_DiscardUnknown()

func (*SelectFlowRequest) XXX_Marshal

func (m *SelectFlowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelectFlowRequest) XXX_Merge

func (m *SelectFlowRequest) XXX_Merge(src proto.Message)

func (*SelectFlowRequest) XXX_Size

func (m *SelectFlowRequest) XXX_Size() int

func (*SelectFlowRequest) XXX_Unmarshal

func (m *SelectFlowRequest) XXX_Unmarshal(b []byte) error

type SelectFlowResponse

type SelectFlowResponse struct {
	// 0: success 1: not leader 2: raft busy 3: raft stop 4: read only 5: other error
	// >= 1000 SQL server error code
	// >= 2000 SQL client error code
	Code int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	// for limit, offset in the range
	LastKey              []byte            `protobuf:"bytes,3,opt,name=last_key,json=lastKey,proto3" json:"last_key,omitempty"`
	Traces               []*ProcessorTrace `protobuf:"bytes,4,rep,name=traces,proto3" json:"traces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*SelectFlowResponse) Descriptor

func (*SelectFlowResponse) Descriptor() ([]byte, []int)

func (*SelectFlowResponse) GetCode

func (m *SelectFlowResponse) GetCode() int32

func (*SelectFlowResponse) GetLastKey

func (m *SelectFlowResponse) GetLastKey() []byte

func (*SelectFlowResponse) GetRows

func (m *SelectFlowResponse) GetRows() []*Row

func (*SelectFlowResponse) GetTraces

func (m *SelectFlowResponse) GetTraces() []*ProcessorTrace

func (*SelectFlowResponse) Marshal

func (m *SelectFlowResponse) Marshal() (dAtA []byte, err error)

func (*SelectFlowResponse) MarshalTo

func (m *SelectFlowResponse) MarshalTo(dAtA []byte) (int, error)

func (*SelectFlowResponse) MarshalToSizedBuffer

func (m *SelectFlowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SelectFlowResponse) ProtoMessage

func (*SelectFlowResponse) ProtoMessage()

func (*SelectFlowResponse) Reset

func (m *SelectFlowResponse) Reset()

func (*SelectFlowResponse) Size

func (m *SelectFlowResponse) Size() (n int)

func (*SelectFlowResponse) String

func (m *SelectFlowResponse) String() string

func (*SelectFlowResponse) Unmarshal

func (m *SelectFlowResponse) Unmarshal(dAtA []byte) error

func (*SelectFlowResponse) XXX_DiscardUnknown

func (m *SelectFlowResponse) XXX_DiscardUnknown()

func (*SelectFlowResponse) XXX_Marshal

func (m *SelectFlowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelectFlowResponse) XXX_Merge

func (m *SelectFlowResponse) XXX_Merge(src proto.Message)

func (*SelectFlowResponse) XXX_Size

func (m *SelectFlowResponse) XXX_Size() int

func (*SelectFlowResponse) XXX_Unmarshal

func (m *SelectFlowResponse) XXX_Unmarshal(b []byte) error

type SelectRequest

type SelectRequest struct {
	Key                  []byte         `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Scope                *Scope         `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	FieldList            []*SelectField `protobuf:"bytes,3,rep,name=field_list,json=fieldList,proto3" json:"field_list,omitempty"`
	WhereExpr            *Expr          `protobuf:"bytes,4,opt,name=where_expr,json=whereExpr,proto3" json:"where_expr,omitempty"`
	Limit                *Limit         `protobuf:"bytes,5,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Select

func (*SelectRequest) Descriptor

func (*SelectRequest) Descriptor() ([]byte, []int)

func (*SelectRequest) GetFieldList

func (m *SelectRequest) GetFieldList() []*SelectField

func (*SelectRequest) GetKey

func (m *SelectRequest) GetKey() []byte

func (*SelectRequest) GetLimit

func (m *SelectRequest) GetLimit() *Limit

func (*SelectRequest) GetScope

func (m *SelectRequest) GetScope() *Scope

func (*SelectRequest) GetWhereExpr

func (m *SelectRequest) GetWhereExpr() *Expr

func (*SelectRequest) Marshal

func (m *SelectRequest) Marshal() (dAtA []byte, err error)

func (*SelectRequest) MarshalTo

func (m *SelectRequest) MarshalTo(dAtA []byte) (int, error)

func (*SelectRequest) MarshalToSizedBuffer

func (m *SelectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SelectRequest) ProtoMessage

func (*SelectRequest) ProtoMessage()

func (*SelectRequest) Reset

func (m *SelectRequest) Reset()

func (*SelectRequest) Size

func (m *SelectRequest) Size() (n int)

func (*SelectRequest) String

func (m *SelectRequest) String() string

func (*SelectRequest) Unmarshal

func (m *SelectRequest) Unmarshal(dAtA []byte) error

func (*SelectRequest) XXX_DiscardUnknown

func (m *SelectRequest) XXX_DiscardUnknown()

func (*SelectRequest) XXX_Marshal

func (m *SelectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelectRequest) XXX_Merge

func (m *SelectRequest) XXX_Merge(src proto.Message)

func (*SelectRequest) XXX_Size

func (m *SelectRequest) XXX_Size() int

func (*SelectRequest) XXX_Unmarshal

func (m *SelectRequest) XXX_Unmarshal(b []byte) error

type SelectResponse

type SelectResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Rows                 []*Row   `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	Offset               uint64   `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SelectResponse) Descriptor

func (*SelectResponse) Descriptor() ([]byte, []int)

func (*SelectResponse) GetCode

func (m *SelectResponse) GetCode() int32

func (*SelectResponse) GetOffset

func (m *SelectResponse) GetOffset() uint64

func (*SelectResponse) GetRows

func (m *SelectResponse) GetRows() []*Row

func (*SelectResponse) Marshal

func (m *SelectResponse) Marshal() (dAtA []byte, err error)

func (*SelectResponse) MarshalTo

func (m *SelectResponse) MarshalTo(dAtA []byte) (int, error)

func (*SelectResponse) MarshalToSizedBuffer

func (m *SelectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SelectResponse) ProtoMessage

func (*SelectResponse) ProtoMessage()

func (*SelectResponse) Reset

func (m *SelectResponse) Reset()

func (*SelectResponse) Size

func (m *SelectResponse) Size() (n int)

func (*SelectResponse) String

func (m *SelectResponse) String() string

func (*SelectResponse) Unmarshal

func (m *SelectResponse) Unmarshal(dAtA []byte) error

func (*SelectResponse) XXX_DiscardUnknown

func (m *SelectResponse) XXX_DiscardUnknown()

func (*SelectResponse) XXX_Marshal

func (m *SelectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelectResponse) XXX_Merge

func (m *SelectResponse) XXX_Merge(src proto.Message)

func (*SelectResponse) XXX_Size

func (m *SelectResponse) XXX_Size() int

func (*SelectResponse) XXX_Unmarshal

func (m *SelectResponse) XXX_Unmarshal(b []byte) error

type Selection

type Selection struct {
	Filter               []*Expr  `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Selection) Descriptor

func (*Selection) Descriptor() ([]byte, []int)

func (*Selection) GetFilter

func (m *Selection) GetFilter() []*Expr

func (*Selection) Marshal

func (m *Selection) Marshal() (dAtA []byte, err error)

func (*Selection) MarshalTo

func (m *Selection) MarshalTo(dAtA []byte) (int, error)

func (*Selection) MarshalToSizedBuffer

func (m *Selection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Selection) ProtoMessage

func (*Selection) ProtoMessage()

func (*Selection) Reset

func (m *Selection) Reset()

func (*Selection) Size

func (m *Selection) Size() (n int)

func (*Selection) String

func (m *Selection) String() string

func (*Selection) Unmarshal

func (m *Selection) Unmarshal(dAtA []byte) error

func (*Selection) XXX_DiscardUnknown

func (m *Selection) XXX_DiscardUnknown()

func (*Selection) XXX_Marshal

func (m *Selection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Selection) XXX_Merge

func (m *Selection) XXX_Merge(src proto.Message)

func (*Selection) XXX_Size

func (m *Selection) XXX_Size() int

func (*Selection) XXX_Unmarshal

func (m *Selection) XXX_Unmarshal(b []byte) error

type ServerError

type ServerError struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServerError) Descriptor

func (*ServerError) Descriptor() ([]byte, []int)

func (*ServerError) GetCode

func (m *ServerError) GetCode() int32

func (*ServerError) GetMsg

func (m *ServerError) GetMsg() string

func (*ServerError) Marshal

func (m *ServerError) Marshal() (dAtA []byte, err error)

func (*ServerError) MarshalTo

func (m *ServerError) MarshalTo(dAtA []byte) (int, error)

func (*ServerError) MarshalToSizedBuffer

func (m *ServerError) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServerError) ProtoMessage

func (*ServerError) ProtoMessage()

func (*ServerError) Reset

func (m *ServerError) Reset()

func (*ServerError) Size

func (m *ServerError) Size() (n int)

func (*ServerError) String

func (m *ServerError) String() string

func (*ServerError) Unmarshal

func (m *ServerError) Unmarshal(dAtA []byte) error

func (*ServerError) XXX_DiscardUnknown

func (m *ServerError) XXX_DiscardUnknown()

func (*ServerError) XXX_Marshal

func (m *ServerError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServerError) XXX_Merge

func (m *ServerError) XXX_Merge(src proto.Message)

func (*ServerError) XXX_Size

func (m *ServerError) XXX_Size() int

func (*ServerError) XXX_Unmarshal

func (m *ServerError) XXX_Unmarshal(b []byte) error

type SetConfigRequest

type SetConfigRequest struct {
	Configs              []*ConfigItem `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SetConfigRequest) Descriptor

func (*SetConfigRequest) Descriptor() ([]byte, []int)

func (*SetConfigRequest) GetConfigs

func (m *SetConfigRequest) GetConfigs() []*ConfigItem

func (*SetConfigRequest) Marshal

func (m *SetConfigRequest) Marshal() (dAtA []byte, err error)

func (*SetConfigRequest) MarshalTo

func (m *SetConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetConfigRequest) MarshalToSizedBuffer

func (m *SetConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetConfigRequest) ProtoMessage

func (*SetConfigRequest) ProtoMessage()

func (*SetConfigRequest) Reset

func (m *SetConfigRequest) Reset()

func (*SetConfigRequest) Size

func (m *SetConfigRequest) Size() (n int)

func (*SetConfigRequest) String

func (m *SetConfigRequest) String() string

func (*SetConfigRequest) Unmarshal

func (m *SetConfigRequest) Unmarshal(dAtA []byte) error

func (*SetConfigRequest) XXX_DiscardUnknown

func (m *SetConfigRequest) XXX_DiscardUnknown()

func (*SetConfigRequest) XXX_Marshal

func (m *SetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetConfigRequest) XXX_Merge

func (m *SetConfigRequest) XXX_Merge(src proto.Message)

func (*SetConfigRequest) XXX_Size

func (m *SetConfigRequest) XXX_Size() int

func (*SetConfigRequest) XXX_Unmarshal

func (m *SetConfigRequest) XXX_Unmarshal(b []byte) error

type SetConfigResponse

type SetConfigResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetConfigResponse) Descriptor

func (*SetConfigResponse) Descriptor() ([]byte, []int)

func (*SetConfigResponse) Marshal

func (m *SetConfigResponse) Marshal() (dAtA []byte, err error)

func (*SetConfigResponse) MarshalTo

func (m *SetConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetConfigResponse) MarshalToSizedBuffer

func (m *SetConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetConfigResponse) ProtoMessage

func (*SetConfigResponse) ProtoMessage()

func (*SetConfigResponse) Reset

func (m *SetConfigResponse) Reset()

func (*SetConfigResponse) Size

func (m *SetConfigResponse) Size() (n int)

func (*SetConfigResponse) String

func (m *SetConfigResponse) String() string

func (*SetConfigResponse) Unmarshal

func (m *SetConfigResponse) Unmarshal(dAtA []byte) error

func (*SetConfigResponse) XXX_DiscardUnknown

func (m *SetConfigResponse) XXX_DiscardUnknown()

func (*SetConfigResponse) XXX_Marshal

func (m *SetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetConfigResponse) XXX_Merge

func (m *SetConfigResponse) XXX_Merge(src proto.Message)

func (*SetConfigResponse) XXX_Size

func (m *SetConfigResponse) XXX_Size() int

func (*SetConfigResponse) XXX_Unmarshal

func (m *SetConfigResponse) XXX_Unmarshal(b []byte) error

type SnapshotContext

type SnapshotContext struct {
	Meta                 *basepb.Range `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SnapshotContext) Descriptor

func (*SnapshotContext) Descriptor() ([]byte, []int)

func (*SnapshotContext) GetMeta

func (m *SnapshotContext) GetMeta() *basepb.Range

func (*SnapshotContext) Marshal

func (m *SnapshotContext) Marshal() (dAtA []byte, err error)

func (*SnapshotContext) MarshalTo

func (m *SnapshotContext) MarshalTo(dAtA []byte) (int, error)

func (*SnapshotContext) MarshalToSizedBuffer

func (m *SnapshotContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SnapshotContext) ProtoMessage

func (*SnapshotContext) ProtoMessage()

func (*SnapshotContext) Reset

func (m *SnapshotContext) Reset()

func (*SnapshotContext) Size

func (m *SnapshotContext) Size() (n int)

func (*SnapshotContext) String

func (m *SnapshotContext) String() string

func (*SnapshotContext) Unmarshal

func (m *SnapshotContext) Unmarshal(dAtA []byte) error

func (*SnapshotContext) XXX_DiscardUnknown

func (m *SnapshotContext) XXX_DiscardUnknown()

func (*SnapshotContext) XXX_Marshal

func (m *SnapshotContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnapshotContext) XXX_Merge

func (m *SnapshotContext) XXX_Merge(src proto.Message)

func (*SnapshotContext) XXX_Size

func (m *SnapshotContext) XXX_Size() int

func (*SnapshotContext) XXX_Unmarshal

func (m *SnapshotContext) XXX_Unmarshal(b []byte) error

type SnapshotKVPair

type SnapshotKVPair struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	CfType               CFType   `protobuf:"varint,3,opt,name=cf_type,json=cfType,proto3,enum=dspb.CFType" json:"cf_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SnapshotKVPair) Descriptor

func (*SnapshotKVPair) Descriptor() ([]byte, []int)

func (*SnapshotKVPair) GetCfType

func (m *SnapshotKVPair) GetCfType() CFType

func (*SnapshotKVPair) GetKey

func (m *SnapshotKVPair) GetKey() []byte

func (*SnapshotKVPair) GetValue

func (m *SnapshotKVPair) GetValue() []byte

func (*SnapshotKVPair) Marshal

func (m *SnapshotKVPair) Marshal() (dAtA []byte, err error)

func (*SnapshotKVPair) MarshalTo

func (m *SnapshotKVPair) MarshalTo(dAtA []byte) (int, error)

func (*SnapshotKVPair) MarshalToSizedBuffer

func (m *SnapshotKVPair) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SnapshotKVPair) ProtoMessage

func (*SnapshotKVPair) ProtoMessage()

func (*SnapshotKVPair) Reset

func (m *SnapshotKVPair) Reset()

func (*SnapshotKVPair) Size

func (m *SnapshotKVPair) Size() (n int)

func (*SnapshotKVPair) String

func (m *SnapshotKVPair) String() string

func (*SnapshotKVPair) Unmarshal

func (m *SnapshotKVPair) Unmarshal(dAtA []byte) error

func (*SnapshotKVPair) XXX_DiscardUnknown

func (m *SnapshotKVPair) XXX_DiscardUnknown()

func (*SnapshotKVPair) XXX_Marshal

func (m *SnapshotKVPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnapshotKVPair) XXX_Merge

func (m *SnapshotKVPair) XXX_Merge(src proto.Message)

func (*SnapshotKVPair) XXX_Size

func (m *SnapshotKVPair) XXX_Size() int

func (*SnapshotKVPair) XXX_Unmarshal

func (m *SnapshotKVPair) XXX_Unmarshal(b []byte) error

type SplitCommand

type SplitCommand struct {
	Leader               uint64             `protobuf:"varint,1,opt,name=leader,proto3" json:"leader,omitempty"`
	SplitKey             []byte             `protobuf:"bytes,2,opt,name=split_key,json=splitKey,proto3" json:"split_key,omitempty"`
	Epoch                *basepb.RangeEpoch `protobuf:"bytes,3,opt,name=epoch,proto3" json:"epoch,omitempty"`
	NewRange             *basepb.Range      `protobuf:"bytes,4,opt,name=new_range,json=newRange,proto3" json:"new_range,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*SplitCommand) Descriptor

func (*SplitCommand) Descriptor() ([]byte, []int)

func (*SplitCommand) GetEpoch

func (m *SplitCommand) GetEpoch() *basepb.RangeEpoch

func (*SplitCommand) GetLeader

func (m *SplitCommand) GetLeader() uint64

func (*SplitCommand) GetNewRange

func (m *SplitCommand) GetNewRange() *basepb.Range

func (*SplitCommand) GetSplitKey

func (m *SplitCommand) GetSplitKey() []byte

func (*SplitCommand) Marshal

func (m *SplitCommand) Marshal() (dAtA []byte, err error)

func (*SplitCommand) MarshalTo

func (m *SplitCommand) MarshalTo(dAtA []byte) (int, error)

func (*SplitCommand) MarshalToSizedBuffer

func (m *SplitCommand) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SplitCommand) ProtoMessage

func (*SplitCommand) ProtoMessage()

func (*SplitCommand) Reset

func (m *SplitCommand) Reset()

func (*SplitCommand) Size

func (m *SplitCommand) Size() (n int)

func (*SplitCommand) String

func (m *SplitCommand) String() string

func (*SplitCommand) Unmarshal

func (m *SplitCommand) Unmarshal(dAtA []byte) error

func (*SplitCommand) XXX_DiscardUnknown

func (m *SplitCommand) XXX_DiscardUnknown()

func (*SplitCommand) XXX_Marshal

func (m *SplitCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SplitCommand) XXX_Merge

func (m *SplitCommand) XXX_Merge(src proto.Message)

func (*SplitCommand) XXX_Size

func (m *SplitCommand) XXX_Size() int

func (*SplitCommand) XXX_Unmarshal

func (m *SplitCommand) XXX_Unmarshal(b []byte) error

type StatusConflict

type StatusConflict struct {
	Status               TxnStatus `protobuf:"varint,1,opt,name=status,proto3,enum=dspb.TxnStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

when the transaction state is not INIT, the update fails and returns the current state For example, the ABORTED status cannot be updated to COMMITTED

func (*StatusConflict) Descriptor

func (*StatusConflict) Descriptor() ([]byte, []int)

func (*StatusConflict) GetStatus

func (m *StatusConflict) GetStatus() TxnStatus

func (*StatusConflict) Marshal

func (m *StatusConflict) Marshal() (dAtA []byte, err error)

func (*StatusConflict) MarshalTo

func (m *StatusConflict) MarshalTo(dAtA []byte) (int, error)

func (*StatusConflict) MarshalToSizedBuffer

func (m *StatusConflict) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatusConflict) ProtoMessage

func (*StatusConflict) ProtoMessage()

func (*StatusConflict) Reset

func (m *StatusConflict) Reset()

func (*StatusConflict) Size

func (m *StatusConflict) Size() (n int)

func (*StatusConflict) String

func (m *StatusConflict) String() string

func (*StatusConflict) Unmarshal

func (m *StatusConflict) Unmarshal(dAtA []byte) error

func (*StatusConflict) XXX_DiscardUnknown

func (m *StatusConflict) XXX_DiscardUnknown()

func (*StatusConflict) XXX_Marshal

func (m *StatusConflict) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusConflict) XXX_Merge

func (m *StatusConflict) XXX_Merge(src proto.Message)

func (*StatusConflict) XXX_Size

func (m *StatusConflict) XXX_Size() int

func (*StatusConflict) XXX_Unmarshal

func (m *StatusConflict) XXX_Unmarshal(b []byte) error

type TableRead

type TableRead struct {
	Columns              []*ColumnInfo `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	Type                 KeyType       `protobuf:"varint,2,opt,name=type,proto3,enum=dspb.KeyType" json:"type,omitempty"`
	Range                *KeyRange     `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
	PkKeys               [][]byte      `protobuf:"bytes,4,rep,name=pk_keys,json=pkKeys,proto3" json:"pk_keys,omitempty"`
	Desc                 bool          `protobuf:"varint,5,opt,name=desc,proto3" json:"desc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*TableRead) Descriptor

func (*TableRead) Descriptor() ([]byte, []int)

func (*TableRead) GetColumns

func (m *TableRead) GetColumns() []*ColumnInfo

func (*TableRead) GetDesc

func (m *TableRead) GetDesc() bool

func (*TableRead) GetPkKeys

func (m *TableRead) GetPkKeys() [][]byte

func (*TableRead) GetRange

func (m *TableRead) GetRange() *KeyRange

func (*TableRead) GetType

func (m *TableRead) GetType() KeyType

func (*TableRead) Marshal

func (m *TableRead) Marshal() (dAtA []byte, err error)

func (*TableRead) MarshalTo

func (m *TableRead) MarshalTo(dAtA []byte) (int, error)

func (*TableRead) MarshalToSizedBuffer

func (m *TableRead) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TableRead) ProtoMessage

func (*TableRead) ProtoMessage()

func (*TableRead) Reset

func (m *TableRead) Reset()

func (*TableRead) Size

func (m *TableRead) Size() (n int)

func (*TableRead) String

func (m *TableRead) String() string

func (*TableRead) Unmarshal

func (m *TableRead) Unmarshal(dAtA []byte) error

func (*TableRead) XXX_DiscardUnknown

func (m *TableRead) XXX_DiscardUnknown()

func (*TableRead) XXX_Marshal

func (m *TableRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableRead) XXX_Merge

func (m *TableRead) XXX_Merge(src proto.Message)

func (*TableRead) XXX_Size

func (m *TableRead) XXX_Size() int

func (*TableRead) XXX_Unmarshal

func (m *TableRead) XXX_Unmarshal(b []byte) error

type TransferRangeLeaderRequest

type TransferRangeLeaderRequest struct {
	RangeId              uint64   `protobuf:"varint,1,opt,name=range_id,json=rangeId,proto3" json:"range_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TransferRangeLeader

func (*TransferRangeLeaderRequest) Descriptor

func (*TransferRangeLeaderRequest) Descriptor() ([]byte, []int)

func (*TransferRangeLeaderRequest) GetRangeId

func (m *TransferRangeLeaderRequest) GetRangeId() uint64

func (*TransferRangeLeaderRequest) Marshal

func (m *TransferRangeLeaderRequest) Marshal() (dAtA []byte, err error)

func (*TransferRangeLeaderRequest) MarshalTo

func (m *TransferRangeLeaderRequest) MarshalTo(dAtA []byte) (int, error)

func (*TransferRangeLeaderRequest) MarshalToSizedBuffer

func (m *TransferRangeLeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransferRangeLeaderRequest) ProtoMessage

func (*TransferRangeLeaderRequest) ProtoMessage()

func (*TransferRangeLeaderRequest) Reset

func (m *TransferRangeLeaderRequest) Reset()

func (*TransferRangeLeaderRequest) Size

func (m *TransferRangeLeaderRequest) Size() (n int)

func (*TransferRangeLeaderRequest) String

func (m *TransferRangeLeaderRequest) String() string

func (*TransferRangeLeaderRequest) Unmarshal

func (m *TransferRangeLeaderRequest) Unmarshal(dAtA []byte) error

func (*TransferRangeLeaderRequest) XXX_DiscardUnknown

func (m *TransferRangeLeaderRequest) XXX_DiscardUnknown()

func (*TransferRangeLeaderRequest) XXX_Marshal

func (m *TransferRangeLeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferRangeLeaderRequest) XXX_Merge

func (m *TransferRangeLeaderRequest) XXX_Merge(src proto.Message)

func (*TransferRangeLeaderRequest) XXX_Size

func (m *TransferRangeLeaderRequest) XXX_Size() int

func (*TransferRangeLeaderRequest) XXX_Unmarshal

func (m *TransferRangeLeaderRequest) XXX_Unmarshal(b []byte) error

type TransferRangeLeaderResponse

type TransferRangeLeaderResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TransferRangeLeaderResponse) Descriptor

func (*TransferRangeLeaderResponse) Descriptor() ([]byte, []int)

func (*TransferRangeLeaderResponse) Marshal

func (m *TransferRangeLeaderResponse) Marshal() (dAtA []byte, err error)

func (*TransferRangeLeaderResponse) MarshalTo

func (m *TransferRangeLeaderResponse) MarshalTo(dAtA []byte) (int, error)

func (*TransferRangeLeaderResponse) MarshalToSizedBuffer

func (m *TransferRangeLeaderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransferRangeLeaderResponse) ProtoMessage

func (*TransferRangeLeaderResponse) ProtoMessage()

func (*TransferRangeLeaderResponse) Reset

func (m *TransferRangeLeaderResponse) Reset()

func (*TransferRangeLeaderResponse) Size

func (m *TransferRangeLeaderResponse) Size() (n int)

func (*TransferRangeLeaderResponse) String

func (m *TransferRangeLeaderResponse) String() string

func (*TransferRangeLeaderResponse) Unmarshal

func (m *TransferRangeLeaderResponse) Unmarshal(dAtA []byte) error

func (*TransferRangeLeaderResponse) XXX_DiscardUnknown

func (m *TransferRangeLeaderResponse) XXX_DiscardUnknown()

func (*TransferRangeLeaderResponse) XXX_Marshal

func (m *TransferRangeLeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferRangeLeaderResponse) XXX_Merge

func (m *TransferRangeLeaderResponse) XXX_Merge(src proto.Message)

func (*TransferRangeLeaderResponse) XXX_Size

func (m *TransferRangeLeaderResponse) XXX_Size() int

func (*TransferRangeLeaderResponse) XXX_Unmarshal

func (m *TransferRangeLeaderResponse) XXX_Unmarshal(b []byte) error

type TxnConflict

type TxnConflict struct {
	ExpectedTxnId        string   `protobuf:"bytes,1,opt,name=expected_txn_id,json=expectedTxnId,proto3" json:"expected_txn_id,omitempty"`
	ActualTxnId          string   `protobuf:"bytes,2,opt,name=actual_txn_id,json=actualTxnId,proto3" json:"actual_txn_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxnConflict) Descriptor

func (*TxnConflict) Descriptor() ([]byte, []int)

func (*TxnConflict) GetActualTxnId

func (m *TxnConflict) GetActualTxnId() string

func (*TxnConflict) GetExpectedTxnId

func (m *TxnConflict) GetExpectedTxnId() string

func (*TxnConflict) Marshal

func (m *TxnConflict) Marshal() (dAtA []byte, err error)

func (*TxnConflict) MarshalTo

func (m *TxnConflict) MarshalTo(dAtA []byte) (int, error)

func (*TxnConflict) MarshalToSizedBuffer

func (m *TxnConflict) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxnConflict) ProtoMessage

func (*TxnConflict) ProtoMessage()

func (*TxnConflict) Reset

func (m *TxnConflict) Reset()

func (*TxnConflict) Size

func (m *TxnConflict) Size() (n int)

func (*TxnConflict) String

func (m *TxnConflict) String() string

func (*TxnConflict) Unmarshal

func (m *TxnConflict) Unmarshal(dAtA []byte) error

func (*TxnConflict) XXX_DiscardUnknown

func (m *TxnConflict) XXX_DiscardUnknown()

func (*TxnConflict) XXX_Marshal

func (m *TxnConflict) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxnConflict) XXX_Merge

func (m *TxnConflict) XXX_Merge(src proto.Message)

func (*TxnConflict) XXX_Size

func (m *TxnConflict) XXX_Size() int

func (*TxnConflict) XXX_Unmarshal

func (m *TxnConflict) XXX_Unmarshal(b []byte) error

type TxnError

type TxnError struct {
	ErrType              TxnError_ErrType `protobuf:"varint,1,opt,name=err_type,json=errType,proto3,enum=dspb.TxnError_ErrType" json:"err_type,omitempty"`
	ServerErr            *ServerError     `protobuf:"bytes,2,opt,name=server_err,json=serverErr,proto3" json:"server_err,omitempty"`
	LockErr              *LockError       `protobuf:"bytes,3,opt,name=lock_err,json=lockErr,proto3" json:"lock_err,omitempty"`
	UnexpectedVer        *UnexpectedVer   `protobuf:"bytes,4,opt,name=unexpected_ver,json=unexpectedVer,proto3" json:"unexpected_ver,omitempty"`
	StatusConflict       *StatusConflict  `protobuf:"bytes,5,opt,name=status_conflict,json=statusConflict,proto3" json:"status_conflict,omitempty"`
	NotFound             *NotFound        `protobuf:"bytes,6,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
	NotUnique            *NotUnique       `protobuf:"bytes,7,opt,name=not_unique,json=notUnique,proto3" json:"not_unique,omitempty"`
	TxnConflict          *TxnConflict     `protobuf:"bytes,8,opt,name=txn_conflict,json=txnConflict,proto3" json:"txn_conflict,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*TxnError) Descriptor

func (*TxnError) Descriptor() ([]byte, []int)

func (*TxnError) GetErrType

func (m *TxnError) GetErrType() TxnError_ErrType

func (*TxnError) GetLockErr

func (m *TxnError) GetLockErr() *LockError

func (*TxnError) GetNotFound

func (m *TxnError) GetNotFound() *NotFound

func (*TxnError) GetNotUnique

func (m *TxnError) GetNotUnique() *NotUnique

func (*TxnError) GetServerErr

func (m *TxnError) GetServerErr() *ServerError

func (*TxnError) GetStatusConflict

func (m *TxnError) GetStatusConflict() *StatusConflict

func (*TxnError) GetTxnConflict

func (m *TxnError) GetTxnConflict() *TxnConflict

func (*TxnError) GetUnexpectedVer

func (m *TxnError) GetUnexpectedVer() *UnexpectedVer

func (*TxnError) Marshal

func (m *TxnError) Marshal() (dAtA []byte, err error)

func (*TxnError) MarshalTo

func (m *TxnError) MarshalTo(dAtA []byte) (int, error)

func (*TxnError) MarshalToSizedBuffer

func (m *TxnError) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxnError) ProtoMessage

func (*TxnError) ProtoMessage()

func (*TxnError) Reset

func (m *TxnError) Reset()

func (*TxnError) Size

func (m *TxnError) Size() (n int)

func (*TxnError) String

func (m *TxnError) String() string

func (*TxnError) Unmarshal

func (m *TxnError) Unmarshal(dAtA []byte) error

func (*TxnError) XXX_DiscardUnknown

func (m *TxnError) XXX_DiscardUnknown()

func (*TxnError) XXX_Marshal

func (m *TxnError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxnError) XXX_Merge

func (m *TxnError) XXX_Merge(src proto.Message)

func (*TxnError) XXX_Size

func (m *TxnError) XXX_Size() int

func (*TxnError) XXX_Unmarshal

func (m *TxnError) XXX_Unmarshal(b []byte) error

type TxnError_ErrType

type TxnError_ErrType int32
const (
	TxnError_UNKNOWN         TxnError_ErrType = 0
	TxnError_SERVER_ERROR    TxnError_ErrType = 1
	TxnError_LOCKED          TxnError_ErrType = 2
	TxnError_UNEXPECTED_VER  TxnError_ErrType = 3
	TxnError_STATUS_CONFLICT TxnError_ErrType = 4
	TxnError_NOT_FOUND       TxnError_ErrType = 5
	TxnError_NOT_UNIQUE      TxnError_ErrType = 6
	TxnError_TXN_CONFLICT    TxnError_ErrType = 7
)

func (TxnError_ErrType) EnumDescriptor

func (TxnError_ErrType) EnumDescriptor() ([]byte, []int)

func (TxnError_ErrType) String

func (x TxnError_ErrType) String() string

type TxnIntent

type TxnIntent struct {
	Typ                  OpType   `protobuf:"varint,1,opt,name=typ,proto3,enum=dspb.OpType" json:"typ,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"`
	CheckUnique          bool     `protobuf:"varint,4,opt,name=check_unique,json=checkUnique,proto3" json:"check_unique,omitempty"`
	ExpectedVer          uint64   `protobuf:"varint,5,opt,name=expected_ver,json=expectedVer,proto3" json:"expected_ver,omitempty"`
	IsPrimary            bool     `protobuf:"varint,6,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxnIntent) Descriptor

func (*TxnIntent) Descriptor() ([]byte, []int)

func (*TxnIntent) GetCheckUnique

func (m *TxnIntent) GetCheckUnique() bool

func (*TxnIntent) GetExpectedVer

func (m *TxnIntent) GetExpectedVer() uint64

func (*TxnIntent) GetIsPrimary

func (m *TxnIntent) GetIsPrimary() bool

func (*TxnIntent) GetKey

func (m *TxnIntent) GetKey() []byte

func (*TxnIntent) GetTyp

func (m *TxnIntent) GetTyp() OpType

func (*TxnIntent) GetValue

func (m *TxnIntent) GetValue() []byte

func (*TxnIntent) Marshal

func (m *TxnIntent) Marshal() (dAtA []byte, err error)

func (*TxnIntent) MarshalTo

func (m *TxnIntent) MarshalTo(dAtA []byte) (int, error)

func (*TxnIntent) MarshalToSizedBuffer

func (m *TxnIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxnIntent) ProtoMessage

func (*TxnIntent) ProtoMessage()

func (*TxnIntent) Reset

func (m *TxnIntent) Reset()

func (*TxnIntent) Size

func (m *TxnIntent) Size() (n int)

func (*TxnIntent) String

func (m *TxnIntent) String() string

func (*TxnIntent) Unmarshal

func (m *TxnIntent) Unmarshal(dAtA []byte) error

func (*TxnIntent) XXX_DiscardUnknown

func (m *TxnIntent) XXX_DiscardUnknown()

func (*TxnIntent) XXX_Marshal

func (m *TxnIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxnIntent) XXX_Merge

func (m *TxnIntent) XXX_Merge(src proto.Message)

func (*TxnIntent) XXX_Size

func (m *TxnIntent) XXX_Size() int

func (*TxnIntent) XXX_Unmarshal

func (m *TxnIntent) XXX_Unmarshal(b []byte) error

type TxnStatus

type TxnStatus int32
const (
	TxnStatus_TXN_INIT  TxnStatus = 0
	TxnStatus_COMMITTED TxnStatus = 1
	TxnStatus_ABORTED   TxnStatus = 2
)

func (TxnStatus) EnumDescriptor

func (TxnStatus) EnumDescriptor() ([]byte, []int)

func (TxnStatus) String

func (x TxnStatus) String() string

type TxnValue

type TxnValue struct {
	TxnId      string     `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"`
	Intent     *TxnIntent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
	PrimaryKey []byte     `protobuf:"bytes,3,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
	ExpiredAt  uint64     `protobuf:"varint,4,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
	Version    uint64     `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	// only exists in primary row, used as txn record
	TxnStatus            TxnStatus `protobuf:"varint,10,opt,name=txn_status,json=txnStatus,proto3,enum=dspb.TxnStatus" json:"txn_status,omitempty"`
	SecondaryKeys        [][]byte  `protobuf:"bytes,11,rep,name=secondary_keys,json=secondaryKeys,proto3" json:"secondary_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*TxnValue) Descriptor

func (*TxnValue) Descriptor() ([]byte, []int)

func (*TxnValue) GetExpiredAt

func (m *TxnValue) GetExpiredAt() uint64

func (*TxnValue) GetIntent

func (m *TxnValue) GetIntent() *TxnIntent

func (*TxnValue) GetPrimaryKey

func (m *TxnValue) GetPrimaryKey() []byte

func (*TxnValue) GetSecondaryKeys

func (m *TxnValue) GetSecondaryKeys() [][]byte

func (*TxnValue) GetTxnId

func (m *TxnValue) GetTxnId() string

func (*TxnValue) GetTxnStatus

func (m *TxnValue) GetTxnStatus() TxnStatus

func (*TxnValue) GetVersion

func (m *TxnValue) GetVersion() uint64

func (*TxnValue) Marshal

func (m *TxnValue) Marshal() (dAtA []byte, err error)

func (*TxnValue) MarshalTo

func (m *TxnValue) MarshalTo(dAtA []byte) (int, error)

func (*TxnValue) MarshalToSizedBuffer

func (m *TxnValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxnValue) ProtoMessage

func (*TxnValue) ProtoMessage()

func (*TxnValue) Reset

func (m *TxnValue) Reset()

func (*TxnValue) Size

func (m *TxnValue) Size() (n int)

func (*TxnValue) String

func (m *TxnValue) String() string

func (*TxnValue) Unmarshal

func (m *TxnValue) Unmarshal(dAtA []byte) error

func (*TxnValue) XXX_DiscardUnknown

func (m *TxnValue) XXX_DiscardUnknown()

func (*TxnValue) XXX_Marshal

func (m *TxnValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxnValue) XXX_Merge

func (m *TxnValue) XXX_Merge(src proto.Message)

func (*TxnValue) XXX_Size

func (m *TxnValue) XXX_Size() int

func (*TxnValue) XXX_Unmarshal

func (m *TxnValue) XXX_Unmarshal(b []byte) error

type UnexpectedVer

type UnexpectedVer struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	ExpectedVer          uint64   `protobuf:"varint,2,opt,name=expected_ver,json=expectedVer,proto3" json:"expected_ver,omitempty"`
	ActualVer            uint64   `protobuf:"varint,3,opt,name=actual_ver,json=actualVer,proto3" json:"actual_ver,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

When expected_ver is set to the Intent, the version check is not passed, usually due to write conflicts

func (*UnexpectedVer) Descriptor

func (*UnexpectedVer) Descriptor() ([]byte, []int)

func (*UnexpectedVer) GetActualVer

func (m *UnexpectedVer) GetActualVer() uint64

func (*UnexpectedVer) GetExpectedVer

func (m *UnexpectedVer) GetExpectedVer() uint64

func (*UnexpectedVer) GetKey

func (m *UnexpectedVer) GetKey() []byte

func (*UnexpectedVer) Marshal

func (m *UnexpectedVer) Marshal() (dAtA []byte, err error)

func (*UnexpectedVer) MarshalTo

func (m *UnexpectedVer) MarshalTo(dAtA []byte) (int, error)

func (*UnexpectedVer) MarshalToSizedBuffer

func (m *UnexpectedVer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnexpectedVer) ProtoMessage

func (*UnexpectedVer) ProtoMessage()

func (*UnexpectedVer) Reset

func (m *UnexpectedVer) Reset()

func (*UnexpectedVer) Size

func (m *UnexpectedVer) Size() (n int)

func (*UnexpectedVer) String

func (m *UnexpectedVer) String() string

func (*UnexpectedVer) Unmarshal

func (m *UnexpectedVer) Unmarshal(dAtA []byte) error

func (*UnexpectedVer) XXX_DiscardUnknown

func (m *UnexpectedVer) XXX_DiscardUnknown()

func (*UnexpectedVer) XXX_Marshal

func (m *UnexpectedVer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnexpectedVer) XXX_Merge

func (m *UnexpectedVer) XXX_Merge(src proto.Message)

func (*UnexpectedVer) XXX_Size

func (m *UnexpectedVer) XXX_Size() int

func (*UnexpectedVer) XXX_Unmarshal

func (m *UnexpectedVer) XXX_Unmarshal(b []byte) error

type ValueIntent

type ValueIntent struct {
	OpType               OpType   `protobuf:"varint,1,opt,name=op_type,json=opType,proto3,enum=dspb.OpType" json:"op_type,omitempty"`
	TxnId                string   `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"`
	PrimaryKey           []byte   `protobuf:"bytes,3,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
	Timeout              bool     `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Value                []byte   `protobuf:"bytes,10,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Scan API

func (*ValueIntent) Descriptor

func (*ValueIntent) Descriptor() ([]byte, []int)

func (*ValueIntent) GetOpType

func (m *ValueIntent) GetOpType() OpType

func (*ValueIntent) GetPrimaryKey

func (m *ValueIntent) GetPrimaryKey() []byte

func (*ValueIntent) GetTimeout

func (m *ValueIntent) GetTimeout() bool

func (*ValueIntent) GetTxnId

func (m *ValueIntent) GetTxnId() string

func (*ValueIntent) GetValue

func (m *ValueIntent) GetValue() []byte

func (*ValueIntent) Marshal

func (m *ValueIntent) Marshal() (dAtA []byte, err error)

func (*ValueIntent) MarshalTo

func (m *ValueIntent) MarshalTo(dAtA []byte) (int, error)

func (*ValueIntent) MarshalToSizedBuffer

func (m *ValueIntent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValueIntent) ProtoMessage

func (*ValueIntent) ProtoMessage()

func (*ValueIntent) Reset

func (m *ValueIntent) Reset()

func (*ValueIntent) Size

func (m *ValueIntent) Size() (n int)

func (*ValueIntent) String

func (m *ValueIntent) String() string

func (*ValueIntent) Unmarshal

func (m *ValueIntent) Unmarshal(dAtA []byte) error

func (*ValueIntent) XXX_DiscardUnknown

func (m *ValueIntent) XXX_DiscardUnknown()

func (*ValueIntent) XXX_Marshal

func (m *ValueIntent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueIntent) XXX_Merge

func (m *ValueIntent) XXX_Merge(src proto.Message)

func (*ValueIntent) XXX_Size

func (m *ValueIntent) XXX_Size() int

func (*ValueIntent) XXX_Unmarshal

func (m *ValueIntent) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL