MCPcopy Create free account
hub / github.com/apple/foundationdb / isReached

Method isReached

fdbclient/NativeAPI.actor.cpp:2727–2729  ·  view source on GitHub ↗

True if either the row or byte limit has been reached

Source from the content-addressed store, hash-verified

2725
2726// True if either the row or byte limit has been reached
2727bool GetRangeLimits::isReached() {
2728 return rows == 0 || (bytes == 0 && minRows == 0);
2729}
2730
2731// True if data would cause the row or byte limit to be reached
2732bool GetRangeLimits::reachedBy(VectorRef<KeyValueRef> const& data) {

Calls

no outgoing calls

Tested by 4

TestGetRange1Method · 0.64
TestGetRange3Method · 0.64
getRangeMethod · 0.64