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

Class ReadStats

cpp/src/arrow/ipc/reader.h:46–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44using RecordBatchReader = ::arrow::RecordBatchReader;
45
46struct ReadStats {
47 /// Number of IPC messages read.
48 int64_t num_messages = 0;
49 /// Number of record batches read.
50 int64_t num_record_batches = 0;
51 /// Number of dictionary batches read.
52 ///
53 /// Note: num_dictionary_batches >= num_dictionary_deltas + num_replaced_dictionaries
54 int64_t num_dictionary_batches = 0;
55
56 /// Number of dictionary deltas read.
57 int64_t num_dictionary_deltas = 0;
58 /// Number of replaced dictionaries (i.e. where a dictionary batch replaces
59 /// an existing dictionary with an unrelated new dictionary).
60 int64_t num_replaced_dictionaries = 0;
61
62 /// The original endianness of the schema in the IPC file or stream.
63 /// This is not reflected in the schema returned by the RecordBatchReader
64 /// unless IpcReadOptions.ensure_native_endian is set to false.
65 Endianness original_endianness = Endianness::Native;
66};
67
68/// \brief Synchronous batch stream reader that reads from io::InputStream
69///

Calls

no outgoing calls