MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / Posting

Struct Posting

bitmap/pb.pb.go:2595–2607  ·  view source on GitHub ↗

Posting messages.

Source from the content-addressed store, hash-verified

2593
2594// Posting messages.
2595type Posting struct {
2596 Uid uint64 `protobuf:"fixed64,1,opt,name=uid,proto3" json:"uid,omitempty"`
2597 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
2598 ValType Posting_ValType `protobuf:"varint,3,opt,name=val_type,json=valType,proto3,enum=pb.Posting_ValType" json:"val_type,omitempty"`
2599 PostingType Posting_PostingType `protobuf:"varint,4,opt,name=posting_type,json=postingType,proto3,enum=pb.Posting_PostingType" json:"posting_type,omitempty"`
2600 LangTag []byte `protobuf:"bytes,5,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
2601 Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
2602 Facets []*api.Facet `protobuf:"bytes,9,rep,name=facets,proto3" json:"facets,omitempty"`
2603 // TODO: op is only used temporarily. See if we can remove it from here.
2604 Op uint32 `protobuf:"varint,12,opt,name=op,proto3" json:"op,omitempty"`
2605 StartTs uint64 `protobuf:"varint,13,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
2606 CommitTs uint64 `protobuf:"varint,14,opt,name=commit_ts,json=commitTs,proto3" json:"commit_ts,omitempty"`
2607}
2608
2609func (m *Posting) Reset() { *m = Posting{} }
2610func (m *Posting) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected