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

Method PopulateRows

cpp/src/arrow/csv/writer.cc:256–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 }
255
256 Status PopulateRows(char* output, int64_t* offsets) const override {
257 if (ARROW_PREDICT_TRUE(array_->type_id() == Type::STRING)) {
258 return PopulateRows<StringArray>(output, offsets);
259 } else if (ARROW_PREDICT_TRUE(array_->type_id() == Type::LARGE_STRING)) {
260 return PopulateRows<LargeStringArray>(output, offsets);
261 } else {
262 return Status::TypeError("The array must be StringArray or LargeStringArray.");
263 }
264 }
265
266 template <typename StringArrayType>
267 Status PopulateRows(char* output, int64_t* offsets) const {

Callers

nothing calls this directly

Calls 7

CopyEndCharsFunction · 0.85
TypeErrorFunction · 0.50
OKFunction · 0.50
type_idMethod · 0.45
dataMethod · 0.45
lengthMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected