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

Method contains

datafusion/functions-nested/src/array_has.rs:672–677  ·  view source on GitHub ↗
(&self, value: &str)

Source from the content-addressed store, hash-verified

670 }
671
672 fn contains(&self, value: &str) -> bool {
673 match self {
674 ScalarStringLookup::Set(set) => set.contains(value),
675 ScalarStringLookup::List(list) => list.contains(&Some(value)),
676 }
677 }
678}
679
680/// Inner implementation of the string scalar fast path, generic over string

Callers 15

generic_set_loopFunction · 0.45
return_typeMethod · 0.45
deduce_return_typeFunction · 0.45
regexp_count_funcFunction · 0.45
regexp_instr_funcFunction · 0.45
compile_regexFunction · 0.45
regexp_replaceFunction · 0.45

Calls

no outgoing calls

Tested by 2

register_schemaMethod · 0.36
register_catalogMethod · 0.36