Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::GZipFile Class Reference
Inheritance diagram for duckdb::GZipFile:
Collaboration diagram for duckdb::GZipFile:

Public Member Functions

 GZipFile (QueryContext context, unique_ptr< FileHandle > child_handle_p, const string &path, bool write)
FileCompressionType GetFileCompressionType () override
Public Member Functions inherited from duckdb::CompressedFile
DUCKDB_API CompressedFile (CompressedFileSystem &fs, unique_ptr< FileHandle > child_handle_p, const string &path)
DUCKDB_API idx_t GetProgress () override
DUCKDB_API void Initialize (QueryContext context, bool write)
DUCKDB_API int64_t ReadData (void *buffer, int64_t nr_bytes)
DUCKDB_API int64_t WriteData (data_ptr_t buffer, int64_t nr_bytes)
DUCKDB_API void Close () override
 Closes the file handle.
Public Member Functions inherited from duckdb::FileHandle
DUCKDB_API FileHandle (FileSystem &file_system, string path, FileOpenFlags flags)
 FileHandle (const FileHandle &)=delete
DUCKDB_API int64_t Read (void *buffer, idx_t nr_bytes)
DUCKDB_API int64_t Read (QueryContext context, void *buffer, idx_t nr_bytes)
DUCKDB_API int64_t Write (void *buffer, idx_t nr_bytes)
DUCKDB_API int64_t Write (QueryContext context, void *buffer, idx_t nr_bytes)
DUCKDB_API void Read (void *buffer, idx_t nr_bytes, idx_t location)
DUCKDB_API void Read (QueryContext context, void *buffer, idx_t nr_bytes, idx_t location)
DUCKDB_API void Write (QueryContext context, void *buffer, idx_t nr_bytes, idx_t location)
DUCKDB_API void Seek (idx_t location)
DUCKDB_API void Reset ()
DUCKDB_API idx_t SeekPosition ()
DUCKDB_API void Sync ()
DUCKDB_API void Truncate (int64_t new_size)
DUCKDB_API string ReadLine ()
DUCKDB_API string ReadLine (QueryContext context)
DUCKDB_API bool Trim (idx_t offset_bytes, idx_t length_bytes)
DUCKDB_API bool CanSeek ()
DUCKDB_API bool IsPipe ()
DUCKDB_API bool OnDiskFile ()
DUCKDB_API idx_t GetFileSize ()
DUCKDB_API FileType GetType ()
DUCKDB_API FileMetadata Stats ()
DUCKDB_API void TryAddLogger (FileOpener &opener)
string GetPath () const
FileOpenFlags GetFlags () const
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

GZipFileSystem gzip_fs
Public Attributes inherited from duckdb::CompressedFile
CompressedFileSystem & compressed_fs
unique_ptr< FileHandle > child_handle
bool write = false
 Whether the file is opened for reading or for writing.
StreamData stream_data
Public Attributes inherited from duckdb::FileHandle
FileSystem & file_system
string path
FileOpenFlags flags
shared_ptr< Logger > logger

Constructor & Destructor Documentation

◆ GZipFile()

duckdb::GZipFile::GZipFile ( QueryContext context,
unique_ptr< FileHandle > child_handle_p,
const string & path,
bool write )
inline
77598 : CompressedFile(gzip_fs, std::move(child_handle_p), path) {
77599 Initialize(context, write);
77600 }
bool write
Whether the file is opened for reading or for writing.
Definition duckdb.cpp:50102

Member Function Documentation

◆ GetFileCompressionType()

FileCompressionType duckdb::GZipFile::GetFileCompressionType ( )
inlineoverridevirtual

Reimplemented from duckdb::FileHandle.

77601 {
77602 return FileCompressionType::GZIP;
77603 }

The documentation for this class was generated from the following file: