Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message CUSTOMER

tpc-c.proto:33

1. Primary Key: (C_W_ID, C_D_ID, C_ID) 2. (C_W_ID, C_D_ID) Foreign Key, references (D_W_ID, D_ID)

message DB_TEST_WAREHOUSE

db_test_chaincode.proto:4

message DISTRICT

tpc-c.proto:17

message HISTORY

tpc-c.proto:63

Primary Key: none (H_C_W_ID, H_C_D_ID, H _C_ID) Foreign Key, references (C_W_ID, C_D_ID, C_ID) (H_W_ID, H _D_ID) Foreign Key, references (D_W_ID, D_ID) Comment: Rows in the History table do not have a primary key as, with in the context of the benchmark, there is no need to uniquely identify a row within this table. Note: The TPC-C application does not have to be capable of utilizing the in creased range of C_ID values beyond 6,000.

message HashedRWSet

kv_rwset.proto:20

HashedRWSet encapsulates hashed representation of a private read-write set for KV or Document data model

message ITEM

tpc-c.proto:112

Primary Key: I_ID

message KVMetadataEntry

kv_rwset.proto:70

KVMetadataEntry captures a 'name'ed entry in the metadata of a key/key-hash.

Used in: KVMetadataWrite, KVMetadataWriteHash

message KVMetadataWrite

kv_rwset.proto:43

KVMetadataWrite captures all the entries in the metadata associated with a key

Used in: KVRWSet

message KVMetadataWriteHash

kv_rwset.proto:64

KVMetadataWriteHash captures all the upserts to the metadata associated with a key hash

Used in: HashedRWSet

message KVRWSet

kv_rwset.proto:12

KVRWSet encapsulates the read-write set for a chaincode that operates upon a KV or Document data model This structure is used for both the public data and the private data

message KVRead

kv_rwset.proto:28

KVRead captures a read operation performed during transaction simulation A 'nil' version indicates a non-existing key read by the transaction

Used in: KVRWSet, QueryReads, comm.QueryResult

message KVReadHash

kv_rwset.proto:51

KVReadHash is similar to the KVRead in spirit. However, it captures the hash of the key instead of the key itself version is kept as is for now. However, if the version also needs to be privacy-protected, it would need to be the hash of the version and hence of 'bytes' type

Used in: HashedRWSet

message KVWrite

kv_rwset.proto:35

KVWrite captures a write (update/delete) operation performed during transaction simulation

Used in: KVRWSet

message KVWriteHash

kv_rwset.proto:57

KVWriteHash is similar to the KVWrite. It captures a write (update/delete) operation performed during transaction simulation

Used in: HashedRWSet

message NEW_ORDER

tpc-c.proto:76

Primary Key: (NO_W_ID, NO_D_ID, NO_O_ID) (NO_W_ID, NO_D_ID, NO_O_ID) Foreign Key, references (O_W_ID, O_D_ID, O_ID)

message ORDER

tpc-c.proto:84

Primary Key: (O_W_ID, O_D_ID, O_ID) (O_W_ID, O_D_ID, O_C_ID) Foreign Key, references (C_W_ID, C_D_ID, C_ID)

message ORDER_LINE

tpc-c.proto:98

Primary Key: (OL_W_ID, OL_D_ID, OL_O_ID, OL_NUMBER) (OL_W_ID, OL_D_ID, OL_O_ID) Foreign Key, references (O_W_ID, O_D_ID, O_ID) (OL_SUPPLY_W_ID, OL_I_ID) Foreign Key, references (S_W_ID, S_I_ID)

message QueryReads

kv_rwset.proto:101

QueryReads encapsulates the KVReads for the items read by a transaction as a result of a query execution

Used in: RangeQueryInfo

message QueryReadsMerkleSummary

kv_rwset.proto:110

QueryReadsMerkleSummary encapsulates the Merkle-tree hashes for the QueryReads This allows to reduce the size of RWSet in the presence of query results by storing certain hashes instead of actual results. maxDegree field refers to the maximum number of children in the tree at any level maxLevel field contains the lowest level which has lesser nodes than maxDegree (starting from leaf level)

Used in: RangeQueryInfo

message RangeQueryInfo

kv_rwset.proto:90

RangeQueryInfo encapsulates the details of a range query performed by a transaction during simulation. This helps protect transactions from phantom reads by varifying during validation whether any new items got committed within the given range between transaction simuation and validation (in addition to regular checks for updates/deletes of the existing items). readInfo field contains either the KVReads (for the items read by the range query) or a merkle-tree hash if the KVReads exceeds a pre-configured numbers

Used in: KVRWSet

message STOCK

tpc-c.proto:123

Primary Key: (S_W_ID, S_I_ID) S_W_ID Foreign Key, references W_ID S_I_ID Foreign Key, references I_ID

message TransactionPayload

transaction.proto:5

TransactionPayload binds a proposal to its action. The type field in the header dictates the type of action to be applied to the ledger.

enum TxValidationCode

transaction.proto:21

message Version

kv_rwset.proto:79

Version encapsulates the version of a Key A version of a committed key is maintained as the height of the transaction that committed the key. The height is represenetd as a tuple <blockNum, txNum> where the txNum is the position of the transaction (starting with 0) within block

Used in: KVReadHash

message WAREHOUSE

tpc-c.proto:5

message YCSB_FOR_BLOCK_BENCH

tpc-c.proto:140

message YCSB_FOR_BLOCK_BENCH.YCSB_FOR_BLOCK_BENCH_PAIR

tpc-c.proto:141

Used in: YCSB_FOR_BLOCK_BENCH

message YCSB_PAYLOAD

tpc-c.proto:134