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

Function value_length

cpp/src/arrow/array/array_nested.h:599–602  ·  view source on GitHub ↗

\brief Return the fixed-size of the values No matter the value of the index parameter, the result is the same. So even when the value at slot i is null, this function will return a non-zero size. \pre IsValid(i)

Source from the content-addressed store, hash-verified

597 ///
598 /// \pre IsValid(i)
599 int32_t value_length(int64_t i = 0) const {
600 ARROW_UNUSED(i);
601 return list_size_;
602 }
603 /// \pre IsValid(i)
604 std::shared_ptr<Array> value_slice(int64_t i) const {
605 return values_->Slice(value_offset(i), value_length(i));

Callers 2

value_sliceMethod · 0.70
value_sliceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected