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

Method ReadRecordBatch

cpp/src/arrow/ipc/reader.cc:2050–2060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2048}
2049
2050Result<std::shared_ptr<RecordBatch>> WholeIpcFileRecordBatchGenerator::ReadRecordBatch(
2051 RecordBatchFileReaderImpl* state, Message* message) {
2052 CHECK_HAS_BODY(*message);
2053 ARROW_ASSIGN_OR_RAISE(auto reader, Buffer::GetReader(message->body()));
2054 IpcReadContext context(&state->dictionary_memo_, state->options_, state->swap_endian_);
2055 ARROW_ASSIGN_OR_RAISE(
2056 auto batch_with_metadata,
2057 ReadRecordBatchInternal(*message->metadata(), state->schema_,
2058 state->field_inclusion_mask_, context, reader.get()));
2059 return batch_with_metadata.batch;
2060}
2061
2062} // namespace
2063

Callers 11

ReadAsBatchMethod · 0.45
GetPutDataFunction · 0.45
ConvertToStreamFunction · 0.45
DoLargeRoundTripMethod · 0.45
read_write_test.ccFile · 0.45
ReadMethod · 0.45
RunMainFunction · 0.45

Calls

no outgoing calls

Tested by 2

ReadAsBatchMethod · 0.36
DoLargeRoundTripMethod · 0.36