MCPcopy Create free account
hub / github.com/apache/impala / FindProbeRow

Method FindProbeRow

be/src/exec/hash-table.inline.h:154–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154inline HashTable::Iterator HashTable::FindProbeRow(HashTableCtx* __restrict__ ht_ctx) {
155 bool found = false;
156 uint32_t hash = ht_ctx->expr_values_cache()->CurExprValuesHash();
157 BucketData bd;
158 int64_t bucket_idx =
159 Probe<false, true>(buckets_, hash_array_, num_buckets_, ht_ctx, hash, &found, &bd);
160 if (found) {
161 return Iterator(this, ht_ctx->scratch_row(), bucket_idx,
162 stores_duplicates() ? bd.duplicates : NULL);
163 }
164 return End();
165}
166
167// TODO: support lazy evaluation like HashTable::Insert().
168template <HashTable::BucketType TYPE>

Callers 5

NextProbeRowMethod · 0.80
ProbeTestMethod · 0.80
GrowTableTestMethod · 0.80
InsertFullTestMethod · 0.80
ProbeFunction · 0.80

Calls 4

CurExprValuesHashMethod · 0.80
expr_values_cacheMethod · 0.80
scratch_rowMethod · 0.80
IteratorClass · 0.70

Tested by 3

ProbeTestMethod · 0.64
GrowTableTestMethod · 0.64
InsertFullTestMethod · 0.64