MCPcopy Create free account
hub / github.com/apache/arrow / operator*

Method operator*

cpp/src/arrow/stl_iterator.h:155–161  ·  view source on GitHub ↗

Value access

Source from the content-addressed store, hash-verified

153
154 // Value access
155 value_type operator*() const {
156 auto chunk_location = GetChunkLocation(index_);
157 ArrayIterator<ArrayType> target_iterator{
158 arrow::internal::checked_cast<const ArrayType&>(
159 *chunked_array_->chunk(static_cast<int>(chunk_location.chunk_index)))};
160 return target_iterator[chunk_location.index_in_chunk];
161 }
162
163 value_type operator[](difference_type n) const { return *(*this + n); }
164

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected