MCPcopy
hub / github.com/dgraph-io/dgraph / GetNoStore

Function GetNoStore

posting/lists.go:56–58  ·  view source on GitHub ↗

GetNoStore returns the list stored in the key or creates a new one if it doesn't exist. It does not store the list in any cache.

(key []byte, readTs uint64)

Source from the content-addressed store, hash-verified

54// GetNoStore returns the list stored in the key or creates a new one if it doesn't exist.
55// It does not store the list in any cache.
56func GetNoStore(key []byte, readTs uint64) (rlist *List, err error) {
57 return getNew(key, pstore, readTs, false)
58}
59
60// LocalCache stores a cache of posting lists and deltas.
61// This doesn't sync, so call this only when you don't care about dirty posting lists in

Callers 15

uidsForMatchFunction · 0.92
uidsForRegexFunction · 0.92
intersectBucketFunction · 0.92
fetchValueFunction · 0.92
getOrCreateFunction · 0.92
BenchmarkTestCacheFunction · 0.85
TestRollupTimestampFunction · 0.85
TestAddMutation_jchiu1Function · 0.85
TestAddMutation_DelSetFunction · 0.85
TestAddMutation_DelReadFunction · 0.85

Calls 1

getNewFunction · 0.85

Tested by 15

getOrCreateFunction · 0.74
BenchmarkTestCacheFunction · 0.68
TestRollupTimestampFunction · 0.68
TestAddMutation_jchiu1Function · 0.68
TestAddMutation_DelSetFunction · 0.68
TestAddMutation_DelReadFunction · 0.68
TestAddMutation_jchiu2Function · 0.68
TestAddMutation_jchiu3Function · 0.68
TestAddMutation_mrjn1Function · 0.68