@@ -50,17 +50,6 @@ class ARROW_EXPORT FileOutputStream : public OutputStream {
5050 static Result<std::shared_ptr<FileOutputStream>> Open (const std::string& path,
5151 bool append = false );
5252
53- ARROW_DEPRECATED (" Use Result-returning overload" )
54- static Status Open (const std::string& path, std::shared_ptr<OutputStream>* out);
55- ARROW_DEPRECATED (" Use Result-returning overload" )
56- static Status Open (const std::string& path, bool append,
57- std::shared_ptr<OutputStream>* out);
58- ARROW_DEPRECATED (" Use Result-returning overload" )
59- static Status Open (const std::string& path, std::shared_ptr<FileOutputStream>* file);
60- ARROW_DEPRECATED (" Use Result-returning overload" )
61- static Status Open (const std::string& path, bool append,
62- std::shared_ptr<FileOutputStream>* file);
63-
6453 // / \brief Open a file descriptor for writing. The underlying file isn't
6554 // / truncated.
6655 // / \param[in] fd file descriptor
@@ -70,11 +59,6 @@ class ARROW_EXPORT FileOutputStream : public OutputStream {
7059 // / on Close() or destruction.
7160 static Result<std::shared_ptr<FileOutputStream>> Open (int fd);
7261
73- ARROW_DEPRECATED (" Use Result-returning overload" )
74- static Status Open (int fd, std::shared_ptr<OutputStream>* out);
75- ARROW_DEPRECATED (" Use Result-returning overload" )
76- static Status Open (int fd, std::shared_ptr<FileOutputStream>* out);
77-
7862 // OutputStream interface
7963 Status Close () override ;
8064 bool closed () const override ;
@@ -112,12 +96,6 @@ class ARROW_EXPORT ReadableFile
11296 static Result<std::shared_ptr<ReadableFile>> Open (
11397 const std::string& path, MemoryPool* pool = default_memory_pool());
11498
115- ARROW_DEPRECATED (" Use Result-returning overload" )
116- static Status Open (const std::string& path, std::shared_ptr<ReadableFile>* file);
117- ARROW_DEPRECATED (" Use Result-returning overload" )
118- static Status Open (const std::string& path, MemoryPool* pool,
119- std::shared_ptr<ReadableFile>* file);
120-
12199 // / \brief Open a local file for reading
122100 // / \param[in] fd file descriptor
123101 // / \param[in] pool a MemoryPool for memory allocations
@@ -128,11 +106,6 @@ class ARROW_EXPORT ReadableFile
128106 static Result<std::shared_ptr<ReadableFile>> Open (
129107 int fd, MemoryPool* pool = default_memory_pool());
130108
131- ARROW_DEPRECATED (" Use Result-returning overload" )
132- static Status Open (int fd, std::shared_ptr<ReadableFile>* file);
133- ARROW_DEPRECATED (" Use Result-returning overload" )
134- static Status Open (int fd, MemoryPool* pool, std::shared_ptr<ReadableFile>* file);
135-
136109 bool closed () const override ;
137110
138111 int file_descriptor () const ;
@@ -175,28 +148,16 @@ class ARROW_EXPORT MemoryMappedFile : public ReadWriteFileInterface {
175148 static Result<std::shared_ptr<MemoryMappedFile>> Create (const std::string& path,
176149 int64_t size);
177150
178- ARROW_DEPRECATED (" Use Result-returning overload" )
179- static Status Create (const std::string& path, int64_t size,
180- std::shared_ptr<MemoryMappedFile>* out);
181-
182151 // mmap() with whole file
183152 static Result<std::shared_ptr<MemoryMappedFile>> Open (const std::string& path,
184153 FileMode::type mode);
185154
186- ARROW_DEPRECATED (" Use Result-returning overload" )
187- static Status Open (const std::string& path, FileMode::type mode,
188- std::shared_ptr<MemoryMappedFile>* out);
189-
190155 // mmap() with a region of file, the offset must be a multiple of the page size
191156 static Result<std::shared_ptr<MemoryMappedFile>> Open (const std::string& path,
192157 FileMode::type mode,
193158 const int64_t offset,
194159 const int64_t length);
195160
196- ARROW_DEPRECATED (" Use Result-returning overload" )
197- static Status Open (const std::string& path, FileMode::type mode, const int64_t offset,
198- const int64_t length, std::shared_ptr<MemoryMappedFile>* out);
199-
200161 Status Close () override ;
201162
202163 bool closed () const override ;
0 commit comments