fabric: github.com/hyperledger/fabric/protos/ledger/queryresult Index | Files

package queryresult

import "github.com/hyperledger/fabric/protos/ledger/queryresult"

Index

Package Files

kv_query_result.pb.go

type KV Uses

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 Uses

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

func (*KV) GetKey Uses

func (m *KV) GetKey() string

func (*KV) GetNamespace Uses

func (m *KV) GetNamespace() string

func (*KV) GetValue Uses

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

func (*KV) ProtoMessage Uses

func (*KV) ProtoMessage()

func (*KV) Reset Uses

func (m *KV) Reset()

func (*KV) String Uses

func (m *KV) String() string

func (*KV) XXX_DiscardUnknown Uses

func (m *KV) XXX_DiscardUnknown()

func (*KV) XXX_Marshal Uses

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

func (*KV) XXX_Merge Uses

func (dst *KV) XXX_Merge(src proto.Message)

func (*KV) XXX_Size Uses

func (m *KV) XXX_Size() int

func (*KV) XXX_Unmarshal Uses

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

type KeyModification Uses

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 Uses

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

func (*KeyModification) GetIsDelete Uses

func (m *KeyModification) GetIsDelete() bool

func (*KeyModification) GetTimestamp Uses

func (m *KeyModification) GetTimestamp() *timestamp.Timestamp

func (*KeyModification) GetTxId Uses

func (m *KeyModification) GetTxId() string

func (*KeyModification) GetValue Uses

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

func (*KeyModification) ProtoMessage Uses

func (*KeyModification) ProtoMessage()

func (*KeyModification) Reset Uses

func (m *KeyModification) Reset()

func (*KeyModification) String Uses

func (m *KeyModification) String() string

func (*KeyModification) XXX_DiscardUnknown Uses

func (m *KeyModification) XXX_DiscardUnknown()

func (*KeyModification) XXX_Marshal Uses

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

func (*KeyModification) XXX_Merge Uses

func (dst *KeyModification) XXX_Merge(src proto.Message)

func (*KeyModification) XXX_Size Uses

func (m *KeyModification) XXX_Size() int

func (*KeyModification) XXX_Unmarshal Uses

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

Package queryresult imports 4 packages (graph) and is imported by 14 packages. Updated 2018-12-11. Refresh now. Tools for package owners.