Table of Contents

Class NativeMethods.TableFunction

Namespace
DuckDB.NET.Native
Assembly
DuckDB.NET.Bindings.dll
public static class NativeMethods.TableFunction
Inheritance
NativeMethods.TableFunction
Inherited Members

Methods

DuckDBBindAddResultColumn(nint, SafeUnmanagedMemoryHandle, DuckDBLogicalType)

public static extern void DuckDBBindAddResultColumn(nint info, SafeUnmanagedMemoryHandle name, DuckDBLogicalType type)

Parameters

info nint
name SafeUnmanagedMemoryHandle
type DuckDBLogicalType

DuckDBBindGetExtraInfo(nint)

public static extern nint DuckDBBindGetExtraInfo(nint info)

Parameters

info nint

Returns

nint

DuckDBBindGetParameter(nint, ulong)

public static extern DuckDBValue DuckDBBindGetParameter(nint info, ulong index)

Parameters

info nint
index ulong

Returns

DuckDBValue

DuckDBBindGetParameterCount(nint)

public static extern ulong DuckDBBindGetParameterCount(nint info)

Parameters

info nint

Returns

ulong

DuckDBBindSetBindData(nint, nint, delegate* unmanaged[Cdecl]<nint, void>)

public static extern void DuckDBBindSetBindData(nint info, nint bindData, delegate* unmanaged[Cdecl]<nint, void> destroy)

Parameters

info nint
bindData nint
destroy delegate* unmanaged[Cdecl]<nint, void>

DuckDBBindSetError(nint, SafeUnmanagedMemoryHandle)

public static extern void DuckDBBindSetError(nint info, SafeUnmanagedMemoryHandle error)

Parameters

info nint
error SafeUnmanagedMemoryHandle

DuckDBCreateTableFunction()

public static extern nint DuckDBCreateTableFunction()

Returns

nint

DuckDBDestroyTableFunction(out nint)

public static extern void DuckDBDestroyTableFunction(out nint tableFunction)

Parameters

tableFunction nint

DuckDBFunctionGetBindData(nint)

public static extern nint DuckDBFunctionGetBindData(nint info)

Parameters

info nint

Returns

nint

DuckDBFunctionGetExtraInfo(nint)

public static extern nint DuckDBFunctionGetExtraInfo(nint info)

Parameters

info nint

Returns

nint

DuckDBFunctionSetError(nint, SafeUnmanagedMemoryHandle)

public static extern void DuckDBFunctionSetError(nint info, SafeUnmanagedMemoryHandle error)

Parameters

info nint
error SafeUnmanagedMemoryHandle

DuckDBRegisterTableFunction(DuckDBNativeConnection, nint)

public static extern DuckDBState DuckDBRegisterTableFunction(DuckDBNativeConnection con, nint tableFunction)

Parameters

con DuckDBNativeConnection
tableFunction nint

Returns

DuckDBState

DuckDBTableFunctionAddParameter(nint, DuckDBLogicalType)

public static extern void DuckDBTableFunctionAddParameter(nint tableFunction, DuckDBLogicalType type)

Parameters

tableFunction nint
type DuckDBLogicalType

DuckDBTableFunctionSetBind(nint, delegate* unmanaged[Cdecl]<nint, void>)

public static extern void DuckDBTableFunctionSetBind(nint tableFunction, delegate* unmanaged[Cdecl]<nint, void> bind)

Parameters

tableFunction nint
bind delegate* unmanaged[Cdecl]<nint, void>

DuckDBTableFunctionSetExtraInfo(nint, nint, delegate* unmanaged[Cdecl]<nint, void>)

public static extern void DuckDBTableFunctionSetExtraInfo(nint tableFunction, nint extraInfo, delegate* unmanaged[Cdecl]<nint, void> destroy)

Parameters

tableFunction nint
extraInfo nint
destroy delegate* unmanaged[Cdecl]<nint, void>

DuckDBTableFunctionSetFunction(nint, delegate* unmanaged[Cdecl]<nint, nint, void>)

public static extern void DuckDBTableFunctionSetFunction(nint tableFunction, delegate* unmanaged[Cdecl]<nint, nint, void> callback)

Parameters

tableFunction nint
callback delegate* unmanaged[Cdecl]<nint, nint, void>

DuckDBTableFunctionSetInit(nint, delegate* unmanaged[Cdecl]<nint, void>)

public static extern void DuckDBTableFunctionSetInit(nint tableFunction, delegate* unmanaged[Cdecl]<nint, void> init)

Parameters

tableFunction nint
init delegate* unmanaged[Cdecl]<nint, void>

DuckDBTableFunctionSetName(nint, SafeUnmanagedMemoryHandle)

public static extern void DuckDBTableFunctionSetName(nint tableFunction, SafeUnmanagedMemoryHandle name)

Parameters

tableFunction nint
name SafeUnmanagedMemoryHandle