Documentation ¶
Index ¶
- type KV
- func (*KV) Descriptor() ([]byte, []int)
- func (m *KV) GetKey() string
- func (m *KV) GetNamespace() string
- func (m *KV) GetValue() []byte
- func (*KV) ProtoMessage()
- func (m *KV) Reset()
- func (m *KV) String() string
- func (m *KV) XXX_DiscardUnknown()
- func (m *KV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KV) XXX_Merge(src proto.Message)
- func (m *KV) XXX_Size() int
- func (m *KV) XXX_Unmarshal(b []byte) error
- type KeyModification
- func (*KeyModification) Descriptor() ([]byte, []int)
- func (m *KeyModification) GetIsDelete() bool
- func (m *KeyModification) GetTimestamp() *timestamp.Timestamp
- func (m *KeyModification) GetTxId() string
- func (m *KeyModification) GetValue() []byte
- func (*KeyModification) ProtoMessage()
- func (m *KeyModification) Reset()
- func (m *KeyModification) String() string
- func (m *KeyModification) XXX_DiscardUnknown()
- func (m *KeyModification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KeyModification) XXX_Merge(src proto.Message)
- func (m *KeyModification) XXX_Size() int
- func (m *KeyModification) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KV ¶
type KV struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
KV -- QueryResult for range/execute query. Holds a key and corresponding value.
func (*KV) Descriptor ¶
func (*KV) GetNamespace ¶
func (*KV) ProtoMessage ¶
func (*KV) ProtoMessage()
func (*KV) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *KV) XXX_DiscardUnknown()
func (*KV) XXX_Marshal ¶ added in v1.3.0
func (*KV) XXX_Unmarshal ¶ added in v1.3.0
type KeyModification ¶
type KeyModification struct { TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` IsDelete bool `protobuf:"varint,4,opt,name=is_delete,json=isDelete,proto3" json:"is_delete,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
KeyModification -- QueryResult for history query. Holds a transaction ID, value, timestamp, and delete marker which resulted from a history query.
func (*KeyModification) Descriptor ¶
func (*KeyModification) Descriptor() ([]byte, []int)
func (*KeyModification) GetIsDelete ¶
func (m *KeyModification) GetIsDelete() bool
func (*KeyModification) GetTimestamp ¶
func (m *KeyModification) GetTimestamp() *timestamp.Timestamp
func (*KeyModification) GetTxId ¶
func (m *KeyModification) GetTxId() string
func (*KeyModification) GetValue ¶
func (m *KeyModification) GetValue() []byte
func (*KeyModification) ProtoMessage ¶
func (*KeyModification) ProtoMessage()
func (*KeyModification) Reset ¶
func (m *KeyModification) Reset()
func (*KeyModification) String ¶
func (m *KeyModification) String() string
func (*KeyModification) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *KeyModification) XXX_DiscardUnknown()
func (*KeyModification) XXX_Marshal ¶ added in v1.3.0
func (m *KeyModification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyModification) XXX_Merge ¶ added in v1.3.0
func (dst *KeyModification) XXX_Merge(src proto.Message)
func (*KeyModification) XXX_Size ¶ added in v1.3.0
func (m *KeyModification) XXX_Size() int
func (*KeyModification) XXX_Unmarshal ¶ added in v1.3.0
func (m *KeyModification) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.