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

Method SetLookupOptions

cpp/src/arrow/compute/api_scalar.cc:587–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585constexpr char RoundToMultipleOptions::kTypeName[];
586
587SetLookupOptions::SetLookupOptions(Datum value_set, bool skip_nulls)
588 : FunctionOptions(internal::kSetLookupOptionsType),
589 value_set(std::move(value_set)),
590 skip_nulls(skip_nulls) {
591 if (skip_nulls) {
592 this->null_matching_behavior = SetLookupOptions::SKIP;
593 } else {
594 this->null_matching_behavior = SetLookupOptions::MATCH;
595 }
596}
597SetLookupOptions::SetLookupOptions(
598 Datum value_set, SetLookupOptions::NullMatchingBehavior null_matching_behavior)
599 : FunctionOptions(internal::kSetLookupOptionsType),

Callers 1

Calls

no outgoing calls

Tested by 1