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

Method FixedSizeBinaryScalar

cpp/src/arrow/scalar.cc:613–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613FixedSizeBinaryScalar::FixedSizeBinaryScalar(std::shared_ptr<Buffer> value,
614 std::shared_ptr<DataType> type,
615 bool is_valid)
616 : BinaryScalar(std::move(value), std::move(type)) {
617 ARROW_CHECK_EQ(checked_cast<const FixedSizeBinaryType&>(*this->type).byte_width(),
618 this->value->size());
619 this->is_valid = is_valid;
620}
621
622FixedSizeBinaryScalar::FixedSizeBinaryScalar(const std::shared_ptr<Buffer>& value,
623 bool is_valid)

Callers

nothing calls this directly

Calls 4

fixed_size_binaryFunction · 0.85
FromStringFunction · 0.85
byte_widthMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected