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

Method total_values_length

cpp/src/arrow/array/array_binary.h:118–124  ·  view source on GitHub ↗

\brief Return the total length of the memory in the data buffer referenced by this array. If the array has been sliced then this may be less than the size of the data buffer (data_->buffers[2]).

Source from the content-addressed store, hash-verified

116 /// referenced by this array. If the array has been sliced then this may be
117 /// less than the size of the data buffer (data_->buffers[2]).
118 offset_type total_values_length() const {
119 if (data_->length > 0) {
120 return raw_value_offsets_[data_->length] - raw_value_offsets_[0];
121 } else {
122 return 0;
123 }
124 }
125
126 IteratorType begin() const { return IteratorType(*this); }
127

Callers 14

CombineChunksMethod · 0.80
TestTotalValuesLengthMethod · 0.80
NoQuoteInArrayMethod · 0.80
ExecArrayMethod · 0.80
ExecuteMethod · 0.80
BinaryJoinFunction · 0.80
BinaryJoinElementWiseFunction · 0.80
VisitMethod · 0.80
ExecScalarArrayMethod · 0.80
ExecArrayScalarMethod · 0.80
ExecMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestTotalValuesLengthMethod · 0.64
CalculateCdcSizeFunction · 0.64
TESTFunction · 0.64