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

Method HasValue

be/src/util/roaring-bitmap.h:71–73  ·  view source on GitHub ↗

Returns true if the iterator currently points to a value in the bitmap. New iterators point to the first (minimum) element. It returns false when we iterated over all elements (or bitmap is empty).

Source from the content-addressed store, hash-verified

69 // New iterators point to the first (minimum) element.
70 // It returns false when we iterated over all elements (or bitmap is empty).
71 bool HasValue() const {
72 return roaring64_iterator_has_value(it_);
73 }
74
75 uint64_t Value() const {
76 DCHECK(HasValue());

Callers 1

ExtractValuesFunction · 0.80

Calls

no outgoing calls

Tested by 1

ExtractValuesFunction · 0.64