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

Method Visit

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

Source from the content-addressed store, hash-verified

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