MCPcopy Create free account
hub / github.com/apache/datafusion / hash

Method hash

datafusion/ffi/src/udf/mod.rs:301–312  ·  view source on GitHub ↗
(&self, state: &mut H)

Source from the content-addressed store, hash-verified

299
300impl Hash for ForeignScalarUDF {
301 fn hash<H: Hasher>(&self, state: &mut H) {
302 let Self {
303 name,
304 aliases,
305 udf,
306 signature,
307 } = self;
308 name.hash(state);
309 aliases.hash(state);
310 std::ptr::hash(udf, state);
311 signature.hash(state);
312 }
313}
314
315impl From<&FFI_ScalarUDF> for Arc<dyn ScalarUDFImpl> {

Callers

nothing calls this directly

Calls 1

hashFunction · 0.50

Tested by

no test coverage detected