MCPcopy Create free account
hub / github.com/bytedance/bolt / mayUseValueIds

Function mayUseValueIds

bolt/exec/HashTable.cpp:1804–1814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1802
1803namespace {
1804bool mayUseValueIds(const BaseHashTable& table) {
1805 if (table.hashMode() == BaseHashTable::HashMode::kHash) {
1806 return false;
1807 }
1808 for (auto& hasher : table.hashers()) {
1809 if (!hasher->mayUseValueIds()) {
1810 return false;
1811 }
1812 }
1813 return true;
1814}
1815} // namespace
1816
1817template <bool ignoreNullKeys>

Callers 1

prepareJoinTableMethod · 0.85

Calls 2

hashModeMethod · 0.80
mayUseValueIdsMethod · 0.80

Tested by

no test coverage detected