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

Function offsets

cpp/src/arrow/compute/light_array_internal.h:146–150  ·  view source on GitHub ↗

\brief Return a read-only version of the offsets buffer Only valid if this is a view into a varbinary type

Source from the content-addressed store, hash-verified

144 ///
145 /// Only valid if this is a view into a varbinary type
146 const uint32_t* offsets() const {
147 ARROW_DCHECK(!metadata_.is_fixed_length);
148 ARROW_DCHECK_EQ(metadata_.fixed_length, sizeof(uint32_t));
149 return reinterpret_cast<const uint32_t*>(data(kFixedLengthBuffer));
150 }
151 /// \brief Return a mutable version of the large-offsets buffer
152 ///
153 /// Only valid if this is a view into a large varbinary type

Callers

nothing calls this directly

Calls 1

dataFunction · 0.70

Tested by

no test coverage detected