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

Method AssertReadNext

cpp/src/arrow/json/reader_test.cc:494–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492 }
493
494 static void AssertReadNext(const std::shared_ptr<StreamingReader>& reader,
495 std::shared_ptr<RecordBatch>* out) {
496 ASSERT_OK(reader->ReadNext(out));
497 ASSERT_FALSE(IsIterationEnd(*out));
498 ASSERT_OK((**out).ValidateFull());
499 }
500 static void AssertReadEnd(const std::shared_ptr<StreamingReader>& reader) {
501 std::shared_ptr<RecordBatch> out;
502 ASSERT_OK(reader->ReadNext(&out));

Callers

nothing calls this directly

Calls 3

IsIterationEndFunction · 0.85
ReadNextMethod · 0.45
ValidateFullMethod · 0.45

Tested by

no test coverage detected