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

Struct Query

bitmap/pb.pb.go:489–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489type Query struct {
490 Attr string `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"`
491 Langs []string `protobuf:"bytes,2,rep,name=langs,proto3" json:"langs,omitempty"`
492 AfterUid uint64 `protobuf:"fixed64,3,opt,name=after_uid,json=afterUid,proto3" json:"after_uid,omitempty"`
493 DoCount bool `protobuf:"varint,4,opt,name=do_count,json=doCount,proto3" json:"do_count,omitempty"`
494 // Exactly one of uids and terms is populated.
495 UidList *List `protobuf:"bytes,5,opt,name=uid_list,json=uidList,proto3" json:"uid_list,omitempty"`
496 // Function to generate or filter UIDs.
497 SrcFunc *SrcFunction `protobuf:"bytes,6,opt,name=src_func,json=srcFunc,proto3" json:"src_func,omitempty"`
498 Reverse bool `protobuf:"varint,7,opt,name=reverse,proto3" json:"reverse,omitempty"`
499 FacetParam *FacetParams `protobuf:"bytes,8,opt,name=facet_param,json=facetParam,proto3" json:"facet_param,omitempty"`
500 FacetsFilter *FilterTree `protobuf:"bytes,9,opt,name=facets_filter,json=facetsFilter,proto3" json:"facets_filter,omitempty"`
501 ExpandAll bool `protobuf:"varint,10,opt,name=expand_all,json=expandAll,proto3" json:"expand_all,omitempty"`
502 ReadTs uint64 `protobuf:"varint,13,opt,name=read_ts,json=readTs,proto3" json:"read_ts,omitempty"`
503 Cache int32 `protobuf:"varint,14,opt,name=cache,proto3" json:"cache,omitempty"`
504 First int32 `protobuf:"varint,15,opt,name=first,proto3" json:"first,omitempty"`
505}
506
507func (m *Query) Reset() { *m = Query{} }
508func (m *Query) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected