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

Method Next

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

Source from the content-addressed store, hash-verified

98}
99
100arrow::Result<FlightPayload> NumberingStream::Next() {
101 ARROW_ASSIGN_OR_RAISE(FlightPayload payload, stream_->Next());
102 if (payload.ipc_message.type == ipc::MessageType::RECORD_BATCH) {
103 payload.app_metadata = Buffer::FromString(std::to_string(counter_));
104 counter_++;
105 }
106 return payload;
107}
108
109void AssertEqual(const FlightInfo& expected, const FlightInfo& actual) {
110 ipc::DictionaryMemo expected_memo;

Callers

nothing calls this directly

Calls 2

FromStringFunction · 0.85
to_stringFunction · 0.85

Tested by

no test coverage detected