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

Method Call

cpp/src/arrow/compute/kernels/scalar_boolean.cc:310–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309struct AndNotOp {
310 static Status Call(KernelContext* ctx, const Scalar& left, const ArraySpan& right,
311 ExecResult* out) {
312 ArraySpan* out_span = out->array_span_mutable();
313 if (left.is_valid) {
314 checked_cast<const BooleanScalar&>(left).value
315 ? GetBitmap(*out_span, 1).CopyFromInverted(GetBitmap(right, 1))
316 : GetBitmap(*out_span, 1).SetBitsTo(false);
317 }
318 return Status::OK();
319 }
320
321 static Status Call(KernelContext* ctx, const ArraySpan& left, const Scalar& right,
322 ExecResult* out) {

Callers

nothing calls this directly

Calls 6

CallClass · 0.85
InvertScalarFunction · 0.85
BitmapAndNotFunction · 0.85
CopyFromInvertedMethod · 0.80
GetBitmapFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected