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

Method ScalarHashImpl

cpp/src/arrow/scalar.cc:205–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 Status ArrayHash(const ArraySpan& a) { return ArrayHash(a, a.offset, a.length); }
204
205 explicit ScalarHashImpl(const Scalar& scalar) : hash_(scalar.type->Hash()) {
206 AccumulateHashFrom(scalar);
207 }
208
209 void AccumulateHashFrom(const Scalar& scalar) {
210 // Note we already injected the type in ScalarHashImpl::ScalarHashImpl

Callers

nothing calls this directly

Calls 1

HashMethod · 0.45

Tested by

no test coverage detected