queryresult

package
v1.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package queryresult is a generated protocol buffer package.

It is generated from these files:

ledger/queryresult/kv_query_result.proto

It has these top-level messages:

KV
KeyModification

Index

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" json:"namespace,omitempty"`
	Key       string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	Value     []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}

KV -- QueryResult for range/execute query. Holds a key and corresponding value.

func (*KV) Descriptor

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

func (*KV) GetKey

func (m *KV) GetKey() string

func (*KV) GetNamespace

func (m *KV) GetNamespace() string

func (*KV) GetValue

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

func (*KV) ProtoMessage

func (*KV) ProtoMessage()

func (*KV) Reset

func (m *KV) Reset()

func (*KV) String

func (m *KV) String() string

type KeyModification

type KeyModification struct {
	TxId      string                     `protobuf:"bytes,1,opt,name=tx_id,json=txId" json:"tx_id,omitempty"`
	Value     []byte                     `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Timestamp *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
	IsDelete  bool                       `protobuf:"varint,4,opt,name=is_delete,json=isDelete" json:"is_delete,omitempty"`
}

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() *google_protobuf.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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL