MCPcopy Create free account
hub / github.com/apache/arrow / Get

Method Get

cpp/src/arrow/util/hashing.h:576–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574 }
575
576 int32_t Get(const Scalar value) const {
577 auto value_index = AsIndex(value);
578 return value_to_index_[value_index];
579 }
580
581 template <typename Func1, typename Func2>
582 Status GetOrInsert(const Scalar value, Func1&& on_found, Func2&& on_not_found,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected