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

Method FixedSizeListScalar

cpp/src/arrow/scalar.cc:695–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695FixedSizeListScalar::FixedSizeListScalar(std::shared_ptr<Array> value,
696 std::shared_ptr<DataType> type, bool is_valid)
697 : BaseListScalar(std::move(value), std::move(type), is_valid) {
698 if (this->value) {
699 ARROW_CHECK_EQ(this->value->length(),
700 checked_cast<const FixedSizeListType&>(*this->type).list_size());
701 }
702}
703
704FixedSizeListScalar::FixedSizeListScalar(std::shared_ptr<Array> value, bool is_valid)
705 : BaseListScalar(

Callers

nothing calls this directly

Calls 4

fixed_size_listFunction · 0.85
lengthMethod · 0.45
list_sizeMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected