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

Method Size

cpp/src/arrow/dataset/file_base.cc:100–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100int64_t FileSource::Size() const {
101 if (filesystem_) {
102 return file_info_.size();
103 }
104 if (buffer_) {
105 return buffer_->size();
106 }
107 return custom_size_;
108}
109
110Result<std::shared_ptr<io::InputStream>> FileSource::OpenCompressed(
111 std::optional<Compression::type> compression) const {

Callers 15

ReadRecordBatchMethod · 0.45
num_record_batchesMethod · 0.45
json_internal.ccFile · 0.45
GetFieldsFromArrayFunction · 0.45
ARROW_ASSIGN_OR_RAISEFunction · 0.45
GetIntArrayFunction · 0.45
DoInspectFragmentFunction · 0.45
DoInspectFragmentFunction · 0.45
SizeOfJSONArrayMethod · 0.45
AppendValueMethod · 0.45
AppendValueMethod · 0.45
AppendValueMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected