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

Method Next

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

Source from the content-addressed store, hash-verified

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