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

Method Visit

cpp/src/arrow/array/util.cc:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142 template <typename T>
143 enable_if_t<std::is_base_of<FixedWidthType, T>::value &&
144 !std::is_base_of<FixedSizeBinaryType, T>::value &&
145 !std::is_base_of<DictionaryType, T>::value,
146 Status>
147 Visit(const T& type) {
148 using value_type = typename T::c_type;
149 ARROW_ASSIGN_OR_RAISE(out_->buffers[1],
150 ByteSwapBuffer<value_type>(data_->buffers[1]));
151 return Status::OK();
152 }
153
154 template <typename T>
155 enable_if_decimal<T, Status> Visit(const T& type) {

Callers

nothing calls this directly

Calls 14

ToBytesMethod · 0.80
index_typeMethod · 0.80
storage_typeMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.50
OKFunction · 0.50
FromBigEndianFunction · 0.50
FromLittleEndianFunction · 0.50
NotImplementedFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected