DuckDB v0.10.1 for Pascal

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

Record LogicalType

Hierarchy
Properties

Unit

Declaration

type LogicalType = record

Description

Class: LogicalType of ddb

Overview

Fields

Public o: Pduckdb_LogicalType;

Methods

Public constructor FromNativePointer(ptr : Pduckdb_LogicalType);
Public class operator Explicit(const r: LogicalType): Boolean;
Public procedure AutoRelease();
Public procedure Init(); overload;
Public procedure Init(arg1: Integer); overload;
Public procedure Init(arg1: Integer; arg2: std_shared_ptr_duckdb_ExtraTypeInfo); overload;
Public procedure Init(arg1: LogicalType); overload;
Public function id(): Integer; overload;
Public function InternalType(): Integer; overload;
Public function AuxInfo(): ExtraTypeInfo; overload;
Public function IsNested(): Boolean; overload;
Public function GetAuxInfoShrPtr(): std_shared_ptr_duckdb_ExtraTypeInfo; overload;
Public procedure CopyAuxInfo(arg2: LogicalType); overload;
Public procedure Serialize(arg2: Serializer); overload;
Public class function Deserialize(arg1: Deserializer): LogicalType; overload; static;
Public class function TypeIsTimestamp(arg1: Integer): Boolean; overload; static;
Public class function TypeIsTimestamp(arg1: LogicalType): Boolean; overload; static;
Public function ToString(): str; overload;
Public function IsIntegral(): Boolean; overload;
Public function IsNumeric(): Boolean; overload;
Public function Hash(): UInt64; overload;
Public procedure SetAlias(arg2: str); overload;
Public function HasAlias(): Boolean; overload;
Public function GetAlias(): str; overload;
Public class function MaxLogicalType(arg1: ClientContext; arg2: LogicalType; arg3: LogicalType): LogicalType; overload; static;
Public class function TryGetMaxLogicalType(arg1: ClientContext; arg2: LogicalType; arg3: LogicalType; arg4: LogicalType): Boolean; overload; static;
Public class function ForceMaxLogicalType(arg1: LogicalType; arg2: LogicalType): LogicalType; overload; static;
Public class function NormalizeType(arg1: LogicalType): LogicalType; overload; static;
Public function GetDecimalProperties(arg2: PByte; arg3: PByte): Boolean; overload;
Public procedure Verify(); overload;
Public function IsValid(): Boolean; overload;
Public class function DECIMAL(arg1: Byte; arg2: Byte): LogicalType; overload; static;
Public class function VARCHAR_COLLATION(arg1: str): LogicalType; overload; static;
Public class function LIST(arg1: LogicalType): LogicalType; overload; static;
Public class function STRUCT(arg1: duckdb_vector_std_pair_std_string_duckdb_LogicalType__true): LogicalType; overload; static;
Public class function AGGREGATE_STATE(arg1: aggregate_state_t): LogicalType; overload; static;
Public class function MAP(arg1: LogicalType): LogicalType; overload; static;
Public class function MAP(arg1: LogicalType; arg2: LogicalType): LogicalType; overload; static;
Public class function UNION(arg1: duckdb_vector_std_pair_std_string_duckdb_LogicalType__true): LogicalType; overload; static;
Public class function ARRAY(arg1: LogicalType; arg2: UInt64): LogicalType; overload; static;
Public class function ARRAY(arg1: LogicalType): LogicalType; overload; static;
Public class function ENUM(arg1: Vector; arg2: UInt64): LogicalType; overload; static;
Public class function ANY_PARAMS(arg1: LogicalType; arg2: UInt64): LogicalType; overload; static;
Public class function ANY_PARAMS(arg1: LogicalType): LogicalType; overload; static;
Public class function INTEGER_LITERAL(arg1: Value): LogicalType; overload; static;
Public class function ENUM(arg1: str; arg2: Vector; arg3: UInt64): LogicalType; overload; static;
Public class function USER(arg1: str): LogicalType; overload; static;
Public class function USER(arg1: str; arg2: str; arg3: str): LogicalType; overload; static;
Public class function Numeric(): vector_LogicalType; overload; static;
Public class function Integral(): vector_LogicalType; overload; static;
Public class function Real(): vector_LogicalType; overload; static;
Public class function AllTypes(): vector_LogicalType; overload; static;
Public class function JSON(): LogicalType; overload; static;
Public function IsJSONType(): Boolean; overload;

Description

Fields

Public o: Pduckdb_LogicalType;

This item has no description.

Methods

Public constructor FromNativePointer(ptr : Pduckdb_LogicalType);

This item has no description.

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

This item has no description.

Public procedure AutoRelease();

This item has no description.

Public procedure Init(); overload;

This item has no description.

Public procedure Init(arg1: Integer); overload;

This item has no description.

Public procedure Init(arg1: Integer; arg2: std_shared_ptr_duckdb_ExtraTypeInfo); overload;

This item has no description.

Public procedure Init(arg1: LogicalType); overload;

This item has no description.

Public function id(): Integer; overload;

This item has no description.

Public function InternalType(): Integer; overload;

This item has no description.

Public function AuxInfo(): ExtraTypeInfo; overload;

This item has no description.

Public function IsNested(): Boolean; overload;

This item has no description.

Public function GetAuxInfoShrPtr(): std_shared_ptr_duckdb_ExtraTypeInfo; overload;

This item has no description.

Public procedure CopyAuxInfo(arg2: LogicalType); overload;

This item has no description.

Public procedure Serialize(arg2: Serializer); overload;

This item has no description.

Public class function Deserialize(arg1: Deserializer): LogicalType; overload; static;

This item has no description.

Public class function TypeIsTimestamp(arg1: Integer): Boolean; overload; static;

This item has no description.

Public class function TypeIsTimestamp(arg1: LogicalType): Boolean; overload; static;

This item has no description.

Public function ToString(): str; overload;

This item has no description.

Public function IsIntegral(): Boolean; overload;

This item has no description.

Public function IsNumeric(): Boolean; overload;

This item has no description.

Public function Hash(): UInt64; overload;

This item has no description.

Public procedure SetAlias(arg2: str); overload;

This item has no description.

Public function HasAlias(): Boolean; overload;

This item has no description.

Public function GetAlias(): str; overload;

This item has no description.

Public class function MaxLogicalType(arg1: ClientContext; arg2: LogicalType; arg3: LogicalType): LogicalType; overload; static;

This item has no description.

Public class function TryGetMaxLogicalType(arg1: ClientContext; arg2: LogicalType; arg3: LogicalType; arg4: LogicalType): Boolean; overload; static;

This item has no description.

Public class function ForceMaxLogicalType(arg1: LogicalType; arg2: LogicalType): LogicalType; overload; static;

This item has no description.

Public class function NormalizeType(arg1: LogicalType): LogicalType; overload; static;

This item has no description.

Public function GetDecimalProperties(arg2: PByte; arg3: PByte): Boolean; overload;

This item has no description.

Public procedure Verify(); overload;

This item has no description.

Public function IsValid(): Boolean; overload;

This item has no description.

Public class function DECIMAL(arg1: Byte; arg2: Byte): LogicalType; overload; static;

This item has no description.

Public class function VARCHAR_COLLATION(arg1: str): LogicalType; overload; static;

This item has no description.

Public class function LIST(arg1: LogicalType): LogicalType; overload; static;

This item has no description.

Public class function STRUCT(arg1: duckdb_vector_std_pair_std_string_duckdb_LogicalType__true): LogicalType; overload; static;

This item has no description.

Public class function AGGREGATE_STATE(arg1: aggregate_state_t): LogicalType; overload; static;

This item has no description.

Public class function MAP(arg1: LogicalType): LogicalType; overload; static;

This item has no description.

Public class function MAP(arg1: LogicalType; arg2: LogicalType): LogicalType; overload; static;

This item has no description.

Public class function UNION(arg1: duckdb_vector_std_pair_std_string_duckdb_LogicalType__true): LogicalType; overload; static;

This item has no description.

Public class function ARRAY(arg1: LogicalType; arg2: UInt64): LogicalType; overload; static;

This item has no description.

Public class function ARRAY(arg1: LogicalType): LogicalType; overload; static;

This item has no description.

Public class function ENUM(arg1: Vector; arg2: UInt64): LogicalType; overload; static;

This item has no description.

Public class function ANY_PARAMS(arg1: LogicalType; arg2: UInt64): LogicalType; overload; static;

This item has no description.

Public class function ANY_PARAMS(arg1: LogicalType): LogicalType; overload; static;

This item has no description.

Public class function INTEGER_LITERAL(arg1: Value): LogicalType; overload; static;

This item has no description.

Public class function ENUM(arg1: str; arg2: Vector; arg3: UInt64): LogicalType; overload; static;

This item has no description.

Public class function USER(arg1: str): LogicalType; overload; static;

This item has no description.

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

This item has no description.

Public class function Numeric(): vector_LogicalType; overload; static;

This item has no description.

Public class function Integral(): vector_LogicalType; overload; static;

This item has no description.

Public class function Real(): vector_LogicalType; overload; static;

This item has no description.

Public class function AllTypes(): vector_LogicalType; overload; static;

This item has no description.

Public class function JSON(): LogicalType; overload; static;

This item has no description.

Public function IsJSONType(): Boolean; overload;

This item has no description.

Error Message