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

Method DictionaryScalar

cpp/src/arrow/scalar.cc:768–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766}
767
768DictionaryScalar::DictionaryScalar(std::shared_ptr<DataType> type)
769 : internal::PrimitiveScalarBase(std::move(type)),
770 value{MakeNullScalar(checked_cast<const DictionaryType&>(*this->type).index_type()),
771 MakeArrayOfNull(checked_cast<const DictionaryType&>(*this->type).value_type(),
772 0)
773 .ValueOrDie()} {}
774
775namespace {
776

Callers

nothing calls this directly

Calls 5

MakeNullScalarFunction · 0.85
MakeArrayOfNullFunction · 0.85
index_typeMethod · 0.80
ValueOrDieMethod · 0.80
value_typeMethod · 0.45

Tested by

no test coverage detected