DuckDB v0.10.1 for Pascal

The Pascal API structure aligns with C++ DuckDB v0.10.1.

Record FileSystem

Hierarchy
Properties

Unit

Declaration

type FileSystem = record

Description

Class: FileSystem of ddb

Overview

Fields

Public o: Pduckdb_FileSystem;

Methods

Public constructor FromNativePointer(ptr : Pduckdb_FileSystem);
Public class operator Explicit(const r: FileSystem): Boolean;
Public procedure AutoRelease();
Public class function GetFileSystem(arg1: ClientContext): FileSystem; overload; static;
Public class function GetFileSystem(arg1: DatabaseInstance): FileSystem; overload; static;
Public class function Get(arg1: AttachedDatabase): FileSystem; overload; static;
Public function OpenFile(arg2: str; arg3: Byte; arg4: Integer; arg5: Integer; arg6: FileOpener): FileHandle; overload;
Public function OpenFile(arg2: str; arg3: Byte; arg4: Integer; arg5: Integer): FileHandle; overload;
Public function OpenFile(arg2: str; arg3: Byte; arg4: Integer): FileHandle; overload;
Public function OpenFile(arg2: str; arg3: Byte): FileHandle; overload;
Public procedure Read(arg2: FileHandle; arg3: Pointer; arg4: Int64; arg5: UInt64); overload;
Public procedure Write(arg2: FileHandle; arg3: Pointer; arg4: Int64; arg5: UInt64); overload;
Public function Read(arg2: FileHandle; arg3: Pointer; arg4: Int64): Int64; overload;
Public function Write(arg2: FileHandle; arg3: Pointer; arg4: Int64): Int64; overload;
Public function GetFileSize(arg2: FileHandle): Int64; overload;
Public function GetLastModifiedTime(arg2: FileHandle): PLongint; overload;
Public function GetFileType(arg2: FileHandle): Integer; overload;
Public procedure Truncate(arg2: FileHandle; arg3: Int64); overload;
Public function DirectoryExists(arg2: str): Boolean; overload;
Public procedure CreateDirectory(arg2: str); overload;
Public procedure RemoveDirectory(arg2: str); overload;
Public procedure MoveFile(arg2: str; arg3: str); overload;
Public function FileExists(arg2: str): Boolean; overload;
Public function IsPipe(arg2: str): Boolean; overload;
Public procedure RemoveFile(arg2: str); overload;
Public procedure FileSync(arg2: FileHandle); overload;
Public class procedure SetWorkingDirectory(arg1: str); overload; static;
Public class function GetWorkingDirectory(): str; overload; static;
Public class function GetHomeDirectory(arg1: FileOpener): str; overload; static;
Public function GetHomeDirectory(): str; overload;
Public class function ExpandPath(arg1: str; arg2: FileOpener): str; overload; static;
Public function ExpandPath(arg2: str): str; overload;
Public class function GetAvailableMemory(): UInt64; overload; static;
Public function PathSeparator(arg2: str): str; overload;
Public function IsPathAbsolute(arg2: str): Boolean; overload;
Public function NormalizeAbsolutePath(arg2: str): str; overload;
Public function JoinPath(arg2: str; arg3: str): str; overload;
Public function ConvertSeparators(arg2: str): str; overload;
Public function ExtractBaseName(arg2: str): str; overload;
Public function ExtractName(arg2: str): str; overload;
Public class function GetEnvVariable(arg1: str): str; overload; static;
Public class function HasGlob(arg1: str): Boolean; overload; static;
Public function Glob(arg2: str; arg3: FileOpener): vector_str; overload;
Public function Glob(arg2: str): vector_str; overload;
Public function GlobFiles(arg2: str; arg3: ClientContext; arg4: Integer): vector_str; overload;
Public function GlobFiles(arg2: str; arg3: ClientContext): vector_str; overload;
Public procedure RegisterSubSystem(arg2: FileSystem); overload;
Public procedure RegisterSubSystem(arg2: Integer; arg3: FileSystem); overload;
Public procedure UnregisterSubSystem(arg2: str); overload;
Public function ListSubSystems(): vector_str; overload;
Public function CanHandleFile(arg2: str): Boolean; overload;
Public procedure Seek(arg2: FileHandle; arg3: UInt64); overload;
Public procedure Reset(arg2: FileHandle); overload;
Public function SeekPosition(arg2: FileHandle): UInt64; overload;
Public function CanSeek(): Boolean; overload;
Public function OnDiskFile(arg2: FileHandle): Boolean; overload;
Public function OpenCompressedFile(arg2: FileHandle; arg3: Boolean): FileHandle; overload;
Public class function CreateLocal(): FileSystem; overload; static;
Public function GetName(): str; overload;
Public class function IsRemoteFile(arg1: str): Boolean; overload; static;
Public procedure SetDisabledFileSystems(arg2: vector_str); overload;

Description

Fields

Public o: Pduckdb_FileSystem;

This item has no description.

Methods

Public constructor FromNativePointer(ptr : Pduckdb_FileSystem);

This item has no description.

Public class operator Explicit(const r: FileSystem): Boolean;

This item has no description.

Public procedure AutoRelease();

This item has no description.

Public class function GetFileSystem(arg1: ClientContext): FileSystem; overload; static;

This item has no description.

Public class function GetFileSystem(arg1: DatabaseInstance): FileSystem; overload; static;

This item has no description.

Public class function Get(arg1: AttachedDatabase): FileSystem; overload; static;

This item has no description.

Public function OpenFile(arg2: str; arg3: Byte; arg4: Integer; arg5: Integer; arg6: FileOpener): FileHandle; overload;

This item has no description.

Public function OpenFile(arg2: str; arg3: Byte; arg4: Integer; arg5: Integer): FileHandle; overload;

This item has no description.

Public function OpenFile(arg2: str; arg3: Byte; arg4: Integer): FileHandle; overload;

This item has no description.

Public function OpenFile(arg2: str; arg3: Byte): FileHandle; overload;

This item has no description.

Public procedure Read(arg2: FileHandle; arg3: Pointer; arg4: Int64; arg5: UInt64); overload;

This item has no description.

Public procedure Write(arg2: FileHandle; arg3: Pointer; arg4: Int64; arg5: UInt64); overload;

This item has no description.

Public function Read(arg2: FileHandle; arg3: Pointer; arg4: Int64): Int64; overload;

This item has no description.

Public function Write(arg2: FileHandle; arg3: Pointer; arg4: Int64): Int64; overload;

This item has no description.

Public function GetFileSize(arg2: FileHandle): Int64; overload;

This item has no description.

Public function GetLastModifiedTime(arg2: FileHandle): PLongint; overload;

This item has no description.

Public function GetFileType(arg2: FileHandle): Integer; overload;

This item has no description.

Public procedure Truncate(arg2: FileHandle; arg3: Int64); overload;

This item has no description.

Public function DirectoryExists(arg2: str): Boolean; overload;

This item has no description.

Public procedure CreateDirectory(arg2: str); overload;

This item has no description.

Public procedure RemoveDirectory(arg2: str); overload;

This item has no description.

Public procedure MoveFile(arg2: str; arg3: str); overload;

This item has no description.

Public function FileExists(arg2: str): Boolean; overload;

This item has no description.

Public function IsPipe(arg2: str): Boolean; overload;

This item has no description.

Public procedure RemoveFile(arg2: str); overload;

This item has no description.

Public procedure FileSync(arg2: FileHandle); overload;

This item has no description.

Public class procedure SetWorkingDirectory(arg1: str); overload; static;

This item has no description.

Public class function GetWorkingDirectory(): str; overload; static;

This item has no description.

Public class function GetHomeDirectory(arg1: FileOpener): str; overload; static;

This item has no description.

Public function GetHomeDirectory(): str; overload;

This item has no description.

Public class function ExpandPath(arg1: str; arg2: FileOpener): str; overload; static;

This item has no description.

Public function ExpandPath(arg2: str): str; overload;

This item has no description.

Public class function GetAvailableMemory(): UInt64; overload; static;

This item has no description.

Public function PathSeparator(arg2: str): str; overload;

This item has no description.

Public function IsPathAbsolute(arg2: str): Boolean; overload;

This item has no description.

Public function NormalizeAbsolutePath(arg2: str): str; overload;

This item has no description.

Public function JoinPath(arg2: str; arg3: str): str; overload;

This item has no description.

Public function ConvertSeparators(arg2: str): str; overload;

This item has no description.

Public function ExtractBaseName(arg2: str): str; overload;

This item has no description.

Public function ExtractName(arg2: str): str; overload;

This item has no description.

Public class function GetEnvVariable(arg1: str): str; overload; static;

This item has no description.

Public class function HasGlob(arg1: str): Boolean; overload; static;

This item has no description.

Public function Glob(arg2: str; arg3: FileOpener): vector_str; overload;

This item has no description.

Public function Glob(arg2: str): vector_str; overload;

This item has no description.

Public function GlobFiles(arg2: str; arg3: ClientContext; arg4: Integer): vector_str; overload;

This item has no description.

Public function GlobFiles(arg2: str; arg3: ClientContext): vector_str; overload;

This item has no description.

Public procedure RegisterSubSystem(arg2: FileSystem); overload;

This item has no description.

Public procedure RegisterSubSystem(arg2: Integer; arg3: FileSystem); overload;

This item has no description.

Public procedure UnregisterSubSystem(arg2: str); overload;

This item has no description.

Public function ListSubSystems(): vector_str; overload;

This item has no description.

Public function CanHandleFile(arg2: str): Boolean; overload;

This item has no description.

Public procedure Seek(arg2: FileHandle; arg3: UInt64); overload;

This item has no description.

Public procedure Reset(arg2: FileHandle); overload;

This item has no description.

Public function SeekPosition(arg2: FileHandle): UInt64; overload;

This item has no description.

Public function CanSeek(): Boolean; overload;

This item has no description.

Public function OnDiskFile(arg2: FileHandle): Boolean; overload;

This item has no description.

Public function OpenCompressedFile(arg2: FileHandle; arg3: Boolean): FileHandle; overload;

This item has no description.

Public class function CreateLocal(): FileSystem; overload; static;

This item has no description.

Public function GetName(): str; overload;

This item has no description.

Public class function IsRemoteFile(arg1: str): Boolean; overload; static;

This item has no description.

Public procedure SetDisabledFileSystems(arg2: vector_str); overload;

This item has no description.

Error Message