Documentation
¶
Index ¶
- Variables
- type KV
- type KeyModification
- func (*KeyModification) Descriptor() ([]byte, []int)deprecated
- func (x *KeyModification) GetIsDelete() bool
- func (x *KeyModification) GetTimestamp() *timestamppb.Timestamp
- func (x *KeyModification) GetTxId() string
- func (x *KeyModification) GetValue() []byte
- func (*KeyModification) ProtoMessage()
- func (x *KeyModification) ProtoReflect() protoreflect.Message
- func (x *KeyModification) Reset()
- func (x *KeyModification) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ledger_queryresult_kv_query_result_proto protoreflect.FileDescriptor
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"` // contains filtered or unexported fields }
KV -- QueryResult for range/execute query. Holds a key and corresponding value.
func (*KV) Descriptor
deprecated
func (*KV) GetNamespace ¶
func (*KV) ProtoMessage ¶
func (*KV) ProtoMessage()
func (*KV) ProtoReflect ¶
func (x *KV) ProtoReflect() protoreflect.Message
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 *timestamppb.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"` // contains filtered or unexported fields }
KeyModification -- QueryResult for history query. Holds a transaction ID, value, timestamp, and delete marker which resulted from a history query.
func (*KeyModification) Descriptor
deprecated
func (*KeyModification) Descriptor() ([]byte, []int)
Deprecated: Use KeyModification.ProtoReflect.Descriptor instead.
func (*KeyModification) GetIsDelete ¶
func (x *KeyModification) GetIsDelete() bool
func (*KeyModification) GetTimestamp ¶
func (x *KeyModification) GetTimestamp() *timestamppb.Timestamp
func (*KeyModification) GetTxId ¶
func (x *KeyModification) GetTxId() string
func (*KeyModification) GetValue ¶
func (x *KeyModification) GetValue() []byte
func (*KeyModification) ProtoMessage ¶
func (*KeyModification) ProtoMessage()
func (*KeyModification) ProtoReflect ¶
func (x *KeyModification) ProtoReflect() protoreflect.Message
func (*KeyModification) Reset ¶
func (x *KeyModification) Reset()
func (*KeyModification) String ¶
func (x *KeyModification) String() string
Click to show internal directories.
Click to hide internal directories.