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

Function ExampleIntBatches

cpp/src/arrow/flight/test_util.cc:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194Status ExampleIntBatches(RecordBatchVector* out) {
195 std::shared_ptr<RecordBatch> batch;
196 for (int i = 0; i < 5; ++i) {
197 // Make all different sizes, use different random seed
198 RETURN_NOT_OK(ipc::test::MakeIntBatchSized(10 + i, &batch, i));
199 out->push_back(batch);
200 }
201 return Status::OK();
202}
203
204Status ExampleFloatBatches(RecordBatchVector* out) {
205 std::shared_ptr<RecordBatch> batch;

Callers 14

TestDoGetIntsMethod · 0.85
TestDoExchangeGetMethod · 0.85
TestDoExchangePutMethod · 0.85
TestDoExchangeEchoMethod · 0.85
DoGetMethod · 0.85
TestDoGetMethod · 0.85
TestDoPutMethod · 0.85
TestDoPutReadMetadataMethod · 0.85
DoGetMethod · 0.85
TestDoExchangeMethod · 0.85
GetBatchForFlightFunction · 0.85

Calls 3

MakeIntBatchSizedFunction · 0.85
push_backMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected