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

Method PopulateRows

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

Source from the content-addressed store, hash-verified

379 }
380
381 Status PopulateRows(char* output, int64_t* offsets) const override {
382 if (ARROW_PREDICT_TRUE(array_->type_id() == Type::STRING)) {
383 return PopulateRows<StringArray>(output, offsets);
384 } else if (ARROW_PREDICT_TRUE(array_->type_id() == Type::LARGE_STRING)) {
385 return PopulateRows<LargeStringArray>(output, offsets);
386 } else {
387 return Status::TypeError("The array must be StringArray or LargeStringArray.");
388 }
389 }
390
391 template <typename StringArrayType>
392 Status PopulateRows(char* output, int64_t* offsets) const {

Callers 1

TranslateMinimalBatchMethod · 0.45

Calls 9

CopyEndCharsFunction · 0.85
EscapeFunction · 0.70
TypeErrorFunction · 0.50
OKFunction · 0.50
type_idMethod · 0.45
beginMethod · 0.45
dataMethod · 0.45
lengthMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected