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

Method Repeat

cpp/src/arrow/testing/generator.cc:189–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189std::shared_ptr<RecordBatchReader> ConstantArrayGenerator::Repeat(
190 int64_t n_batch, const std::shared_ptr<RecordBatch> batch) {
191 std::vector<std::shared_ptr<RecordBatch>> batches(static_cast<size_t>(n_batch), batch);
192 return *RecordBatchReader::Make(batches);
193}
194
195std::shared_ptr<RecordBatchReader> ConstantArrayGenerator::Zeroes(
196 int64_t n_batch, int64_t batch_size, const std::shared_ptr<Schema>& schema) {

Callers

nothing calls this directly

Calls 1

MakeFunction · 0.50

Tested by

no test coverage detected