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

Method Tell

c_glib/arrow-glib/input-stream.cpp:761–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759 }
760
761 arrow::Result<int64_t>
762 Tell() const override
763 {
764 if (!(G_IS_SEEKABLE(input_stream_) &&
765 g_seekable_can_seek(G_SEEKABLE(input_stream_)))) {
766 std::string message("[gio-input-stream][tell] "
767 "not seekable input stream: <");
768 message += G_OBJECT_CLASS_NAME(G_OBJECT_GET_CLASS(input_stream_));
769 message += ">";
770 return arrow::Status::NotImplemented(message);
771 }
772
773 return g_seekable_tell(G_SEEKABLE(input_stream_));
774 }
775
776 arrow::Result<int64_t>
777 Read(int64_t n_bytes, void *out) override

Callers 1

garrow_file_tellFunction · 0.45

Calls 1

NotImplementedFunction · 0.50

Tested by

no test coverage detected