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

Method Next

cpp/src/arrow/flight/flight_test.cc:1535–1541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1533 }
1534
1535 arrow::Result<FlightPayload> Next() override {
1536 auto batch = RecordBatch::Make(schema_, 0, ArrayVector{});
1537 FlightPayload payload;
1538 RETURN_NOT_OK(ipc::GetRecordBatchPayload(*batch, ipc::IpcWriteOptions::Defaults(),
1539 &payload.ipc_message));
1540 return payload;
1541 }
1542
1543 private:
1544 std::shared_ptr<Schema> schema_;

Callers 3

ASSERT_OK_AND_ASSIGNFunction · 0.45
TEST_FMethod · 0.45
ASSERT_OK_AND_ASSIGNMethod · 0.45

Calls 3

GetRecordBatchPayloadFunction · 0.85
MakeFunction · 0.50
DefaultsFunction · 0.50

Tested by

no test coverage detected