DuckDB v0.10.1 for Pascal

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

Record StringUtil

Hierarchy
Properties

Unit

Declaration

type StringUtil = record

Description

Class: StringUtil of ddb

Overview

Fields

Public o: Pduckdb_StringUtil;

Methods

Public constructor FromNativePointer(ptr : Pduckdb_StringUtil);
Public class operator Explicit(const r: StringUtil): Boolean;
Public procedure AutoRelease();
Public class function GetHexValue(arg1: UTF8Char): Byte; overload; static;
Public class function GetBinaryValue(arg1: UTF8Char): Byte; overload; static;
Public class function CharacterIsSpace(arg1: UTF8Char): Boolean; overload; static;
Public class function CharacterIsNewline(arg1: UTF8Char): Boolean; overload; static;
Public class function CharacterIsDigit(arg1: UTF8Char): Boolean; overload; static;
Public class function CharacterIsHex(arg1: UTF8Char): Boolean; overload; static;
Public class function CharacterToLower(arg1: UTF8Char): UTF8Char; overload; static;
Public class function CharacterIsAlpha(arg1: UTF8Char): UTF8Char; overload; static;
Public class function CharacterIsOperator(arg1: UTF8Char): Boolean; overload; static;
Public class function ConvertToSQLIdentifiers(arg1: vector_str): duckdb_vector_duckdb_SQLIdentifier; overload; static;
Public class function ConvertToSQLStrings(arg1: vector_str): duckdb_vector_duckdb_SQLString; overload; static;
Public class function Contains(arg1: str; arg2: str): Boolean; overload; static;
Public class function StartsWith(arg1: str; arg2: str): Boolean; overload; static;
Public class function EndsWith(arg1: str; arg2: str): Boolean; overload; static;
Public class function Repeat(arg1: str; arg2: UInt64): str; overload; static;
Public class function Split(arg1: str; arg2: UTF8Char): vector_str; overload; static;
Public class function SplitWithQuote(arg1: str; arg2: UTF8Char; arg3: UTF8Char): vector_str; overload; static;
Public class function SplitWithQuote(arg1: str; arg2: UTF8Char): vector_str; overload; static;
Public class function SplitWithQuote(arg1: str): vector_str; overload; static;
Public class function Join(arg1: vector_str; arg2: str): str; overload; static;
Public class function Join(arg1: std_set_std_string; arg2: str): str; overload; static;
Public class function BytesToHumanReadableString(arg1: UInt64; arg2: UInt64): str; overload; static;
Public class function BytesToHumanReadableString(arg1: UInt64): str; overload; static;
Public class function Upper(arg1: str): str; overload; static;
Public class function Lower(arg1: str): str; overload; static;
Public class function IsLower(arg1: str): Boolean; overload; static;
Public class function CIHash(arg1: str): UInt64; overload; static;
Public class function CIEquals(arg1: str; arg2: str): Boolean; overload; static;
Public class function CILessThan(arg1: str; arg2: str): Boolean; overload; static;
Public class function Split(arg1: str; arg2: str): vector_str; overload; static;
Public class procedure LTrim(arg1: str); overload; static;
Public class procedure RTrim(arg1: str); overload; static;
Public class procedure RTrim(arg1: str; arg2: str); overload; static;
Public class procedure Trim(arg1: str); overload; static;
Public class function Replace(arg1: str; arg2: str; arg3: str): str; overload; static;
Public class function LevenshteinDistance(arg1: str; arg2: str; arg3: UInt64): UInt64; overload; static;
Public class function LevenshteinDistance(arg1: str; arg2: str): UInt64; overload; static;
Public class function SimilarityScore(arg1: str; arg2: str): UInt64; overload; static;
Public class function TopNStrings(arg1: duckdb_vector_std_pair_std_string_unsigned_long_long; arg2: UInt64; arg3: UInt64): vector_str; overload; static;
Public class function TopNStrings(arg1: duckdb_vector_std_pair_std_string_unsigned_long_long; arg2: UInt64): vector_str; overload; static;
Public class function TopNStrings(arg1: duckdb_vector_std_pair_std_string_unsigned_long_long): vector_str; overload; static;
Public class function TopNLevenshtein(arg1: vector_str; arg2: str; arg3: UInt64; arg4: UInt64): vector_str; overload; static;
Public class function TopNLevenshtein(arg1: vector_str; arg2: str; arg3: UInt64): vector_str; overload; static;
Public class function TopNLevenshtein(arg1: vector_str; arg2: str): vector_str; overload; static;
Public class function CandidatesMessage(arg1: vector_str; arg2: str): str; overload; static;
Public class function CandidatesMessage(arg1: vector_str): str; overload; static;
Public class function CandidatesErrorMessage(arg1: vector_str; arg2: str; arg3: str; arg4: UInt64): str; overload; static;
Public class function CandidatesErrorMessage(arg1: vector_str; arg2: str; arg3: str): str; overload; static;
Public class function Equals(arg1: PUTF8Char; arg2: PUTF8Char): Boolean; overload; static;
Public class function ParseJSONMap(arg1: str): std_unordered_map_std_string_std_string; overload; static;
Public class function ToJSONMap(arg1: Integer; arg2: str; arg3: std_unordered_map_std_string_std_string): str; overload; static;
Public class function GetFileName(arg1: str): str; overload; static;
Public class function GetFileExtension(arg1: str): str; overload; static;
Public class function GetFileStem(arg1: str): str; overload; static;
Public class function GetFilePath(arg1: str): str; overload; static;
Public procedure Init(); overload;

Description

Fields

Public o: Pduckdb_StringUtil;

This item has no description.

Methods

Public constructor FromNativePointer(ptr : Pduckdb_StringUtil);

This item has no description.

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

This item has no description.

Public procedure AutoRelease();

This item has no description.

Public class function GetHexValue(arg1: UTF8Char): Byte; overload; static;

This item has no description.

Public class function GetBinaryValue(arg1: UTF8Char): Byte; overload; static;

This item has no description.

Public class function CharacterIsSpace(arg1: UTF8Char): Boolean; overload; static;

This item has no description.

Public class function CharacterIsNewline(arg1: UTF8Char): Boolean; overload; static;

This item has no description.

Public class function CharacterIsDigit(arg1: UTF8Char): Boolean; overload; static;

This item has no description.

Public class function CharacterIsHex(arg1: UTF8Char): Boolean; overload; static;

This item has no description.

Public class function CharacterToLower(arg1: UTF8Char): UTF8Char; overload; static;

This item has no description.

Public class function CharacterIsAlpha(arg1: UTF8Char): UTF8Char; overload; static;

This item has no description.

Public class function CharacterIsOperator(arg1: UTF8Char): Boolean; overload; static;

This item has no description.

Public class function ConvertToSQLIdentifiers(arg1: vector_str): duckdb_vector_duckdb_SQLIdentifier; overload; static;

This item has no description.

Public class function ConvertToSQLStrings(arg1: vector_str): duckdb_vector_duckdb_SQLString; overload; static;

This item has no description.

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

This item has no description.

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

This item has no description.

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

This item has no description.

Public class function Repeat(arg1: str; arg2: UInt64): str; overload; static;

This item has no description.

Public class function Split(arg1: str; arg2: UTF8Char): vector_str; overload; static;

This item has no description.

Public class function SplitWithQuote(arg1: str; arg2: UTF8Char; arg3: UTF8Char): vector_str; overload; static;

This item has no description.

Public class function SplitWithQuote(arg1: str; arg2: UTF8Char): vector_str; overload; static;

This item has no description.

Public class function SplitWithQuote(arg1: str): vector_str; overload; static;

This item has no description.

Public class function Join(arg1: vector_str; arg2: str): str; overload; static;

This item has no description.

Public class function Join(arg1: std_set_std_string; arg2: str): str; overload; static;

This item has no description.

Public class function BytesToHumanReadableString(arg1: UInt64; arg2: UInt64): str; overload; static;

This item has no description.

Public class function BytesToHumanReadableString(arg1: UInt64): str; overload; static;

This item has no description.

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

This item has no description.

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

This item has no description.

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

This item has no description.

Public class function CIHash(arg1: str): UInt64; overload; static;

This item has no description.

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

This item has no description.

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

This item has no description.

Public class function Split(arg1: str; arg2: str): vector_str; overload; static;

This item has no description.

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

This item has no description.

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

This item has no description.

Public class procedure RTrim(arg1: str; arg2: str); overload; static;

This item has no description.

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

This item has no description.

Public class function Replace(arg1: str; arg2: str; arg3: str): str; overload; static;

This item has no description.

Public class function LevenshteinDistance(arg1: str; arg2: str; arg3: UInt64): UInt64; overload; static;

This item has no description.

Public class function LevenshteinDistance(arg1: str; arg2: str): UInt64; overload; static;

This item has no description.

Public class function SimilarityScore(arg1: str; arg2: str): UInt64; overload; static;

This item has no description.

Public class function TopNStrings(arg1: duckdb_vector_std_pair_std_string_unsigned_long_long; arg2: UInt64; arg3: UInt64): vector_str; overload; static;

This item has no description.

Public class function TopNStrings(arg1: duckdb_vector_std_pair_std_string_unsigned_long_long; arg2: UInt64): vector_str; overload; static;

This item has no description.

Public class function TopNStrings(arg1: duckdb_vector_std_pair_std_string_unsigned_long_long): vector_str; overload; static;

This item has no description.

Public class function TopNLevenshtein(arg1: vector_str; arg2: str; arg3: UInt64; arg4: UInt64): vector_str; overload; static;

This item has no description.

Public class function TopNLevenshtein(arg1: vector_str; arg2: str; arg3: UInt64): vector_str; overload; static;

This item has no description.

Public class function TopNLevenshtein(arg1: vector_str; arg2: str): vector_str; overload; static;

This item has no description.

Public class function CandidatesMessage(arg1: vector_str; arg2: str): str; overload; static;

This item has no description.

Public class function CandidatesMessage(arg1: vector_str): str; overload; static;

This item has no description.

Public class function CandidatesErrorMessage(arg1: vector_str; arg2: str; arg3: str; arg4: UInt64): str; overload; static;

This item has no description.

Public class function CandidatesErrorMessage(arg1: vector_str; arg2: str; arg3: str): str; overload; static;

This item has no description.

Public class function Equals(arg1: PUTF8Char; arg2: PUTF8Char): Boolean; overload; static;

This item has no description.

Public class function ParseJSONMap(arg1: str): std_unordered_map_std_string_std_string; overload; static;

This item has no description.

Public class function ToJSONMap(arg1: Integer; arg2: str; arg3: std_unordered_map_std_string_std_string): str; overload; static;

This item has no description.

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

This item has no description.

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

This item has no description.

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

This item has no description.

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

This item has no description.

Public procedure Init(); overload;

This item has no description.

Error Message