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

Method ScalarHashImpl

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

Source from the content-addressed store, hash-verified

201 Status ArrayHash(const ArraySpan& a) { return ArrayHash(a, a.offset, a.length); }
202
203 explicit ScalarHashImpl(const Scalar& scalar) : hash_(scalar.type->Hash()) {
204 AccumulateHashFrom(scalar);
205 }
206
207 void AccumulateHashFrom(const Scalar& scalar) {
208 // 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