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

Method Size

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

Source from the content-addressed store, hash-verified

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

Callers 6

DoInspectFragmentFunction · 0.45
DoInspectFragmentFunction · 0.45
NextArrayOrRowMethod · 0.45
NextMethod · 0.45
VisitMethod · 0.45
DoRowConversionFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected