|
| | PipeFile (QueryContext context_p, unique_ptr< FileHandle > child_handle_p) |
| int64_t | ReadChunk (void *buffer, int64_t nr_bytes) |
| int64_t | WriteChunk (void *buffer, int64_t nr_bytes) |
| 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) |
| virtual DUCKDB_API idx_t | GetProgress () |
| virtual DUCKDB_API FileCompressionType | GetFileCompressionType () |
| 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 |
◆ PipeFile()
92461 : FileHandle(pipe_fs, child_handle_p->path, child_handle_p->GetFlags()),
92462 child_handle(std::move(child_handle_p)), context(context_p) {
92463 }
◆ ReadChunk()
| int64_t duckdb::PipeFile::ReadChunk |
( |
void * | buffer, |
|
|
int64_t | nr_bytes ) |
92479 {
92480 return child_handle->Read(context, buffer, UnsafeNumericCast<idx_t>(nr_bytes));
92481}
◆ WriteChunk()
| int64_t duckdb::PipeFile::WriteChunk |
( |
void * | buffer, |
|
|
int64_t | nr_bytes ) |
92482 {
92483 return child_handle->Write(context, buffer, UnsafeNumericCast<idx_t>(nr_bytes));
92484}
◆ Close()
| void duckdb::PipeFile::Close |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: