Versions in this module Expand all Collapse all v0 v0.1.24 Jan 9, 2026 Changes in this version + func AddReplacementScan(db Database, callbackPtr unsafe.Pointer, extraData unsafe.Pointer, ...) + func AppenderError(appender Appender) string + func BindAddResultColumn(info BindInfo, name string, logicalType LogicalType) + func BindGetExtraInfo(info BindInfo) unsafe.Pointer + func BindSetBindData(info BindInfo, bindDataPtr unsafe.Pointer, callbackPtr unsafe.Pointer) + func BindSetCardinality(info BindInfo, cardinality IdxT, exact bool) + func BindSetError(info BindInfo, err string) + func Close(db *Database) + func ColumnName(res *Result, col IdxT) string + func ConfigCount() uint64 + func ConnectionGetArrowOptions(conn Connection, outOptions *ArrowOptions) + func ConnectionGetClientContext(conn Connection, outCtx *ClientContext) + func DataChunkReset(chunk DataChunk) + func DataChunkSetSize(chunk DataChunk, size IdxT) + func DateMembers(date *Date) int32 + func DateStructMembers(date *DateStruct) (int32, int8, int8) + func DecimalScale(logicalType LogicalType) uint8 + func DecimalToDouble(d Decimal) float64 + func DecimalWidth(logicalType LogicalType) uint8 + func DestroyArrowOptions(options *ArrowOptions) + func DestroyBigNum(i *BigNum) + func DestroyBit(b *Bit) + func DestroyBlob(b *Blob) + func DestroyClientContext(ctx *ClientContext) + func DestroyConfig(config *Config) + func DestroyDataChunk(chunk *DataChunk) + func DestroyErrorData(errorData *ErrorData) + func DestroyExpression(expr *Expression) + func DestroyExtracted(extractedStmts *ExtractedStatements) + func DestroyInstanceCache(cache *InstanceCache) + func DestroyLogicalType(logicalType *LogicalType) + func DestroyPending(pendingRes *PendingResult) + func DestroyPrepare(preparedStmt *PreparedStatement) + func DestroyResult(res *Result) + func DestroyScalarFunction(f *ScalarFunction) + func DestroyScalarFunctionSet(set *ScalarFunctionSet) + func DestroySelectionVector(sel *SelectionVector) + func DestroyTableFunction(f *TableFunction) + func DestroyValue(v *Value) + func DestroyVector(vec *Vector) + func Disconnect(conn *Connection) + func EnumDictionarySize(logicalType LogicalType) uint32 + func EnumDictionaryValue(logicalType LogicalType, index IdxT) string + func ErrorDataHasError(errorData ErrorData) bool + func ErrorDataMessage(errorData ErrorData) string + func ExpressionIsFoldable(expr Expression) bool + func ExtractStatementsError(extractedStmts ExtractedStatements) string + func Free(ptr unsafe.Pointer) + func FunctionGetBindData(info FunctionInfo) unsafe.Pointer + func FunctionGetExtraInfo(info FunctionInfo) unsafe.Pointer + func FunctionGetInitData(info FunctionInfo) unsafe.Pointer + func FunctionGetLocalInitData(info FunctionInfo) unsafe.Pointer + func FunctionSetError(info FunctionInfo, err string) + func GetAllocationCount(k string) (int, bool) + func GetAllocationCounts() string + func GetBool(v Value) bool + func GetDouble(v Value) float64 + func GetEnumValue(v Value) uint64 + func GetFloat(v Value) float32 + func GetInt16(v Value) int16 + func GetInt32(v Value) int32 + func GetInt64(v Value) int64 + func GetInt8(v Value) int8 + func GetUInt16(v Value) uint16 + func GetUInt32(v Value) uint32 + func GetUInt64(v Value) uint64 + func GetUInt8(v Value) uint8 + func GetVarchar(v Value) string + func HugeIntMembers(hi *HugeInt) (uint64, int64) + func HugeIntToDouble(hi HugeInt) float64 + func InitGetBindData(info InitInfo) unsafe.Pointer + func InitGetExtraInfo(info InitInfo) unsafe.Pointer + func InitSetError(info InitInfo, err string) + func InitSetInitData(info InitInfo, initDataPtr unsafe.Pointer, callbackPtr unsafe.Pointer) + func InitSetMaxThreads(info InitInfo, max IdxT) + func Interrupt(conn Connection) + func IntervalMembers(i *Interval) (int32, int32, int64) + func IsFiniteDate(date Date) bool + func IsFiniteTimestamp(ts Timestamp) bool + func IsFiniteTimestampMS(ts TimestampMS) bool + func IsFiniteTimestampNS(ts TimestampNS) bool + func IsFiniteTimestampS(ts TimestampS) bool + func IsNullValue(v Value) bool + func LibraryVersion() string + func ListEntryMembers(entry *ListEntry) (uint64, uint64) + func LogicalTypeGetAlias(logicalType LogicalType) string + func LogicalTypeSetAlias(logicalType LogicalType, alias string) + func ParameterName(preparedStmt PreparedStatement, index IdxT) string + func PendingError(pendingRes PendingResult) string + func PendingExecutionIsFinished(state PendingState) bool + func PrepareError(preparedStmt PreparedStatement) string + func PreparedStatementColumnName(preparedStmt PreparedStatement, index IdxT) string + func QueryProgressTypeMembers(q *QueryProgressType) (float64, uint64, uint64) + func ReplacementScanAddParameter(info ReplacementScanInfo, v Value) + func ReplacementScanSetError(info ReplacementScanInfo, err string) + func ReplacementScanSetFunctionName(info ReplacementScanInfo, name string) + func ResultError(res *Result) string + func ScalarFunctionAddParameter(f ScalarFunction, logicalType LogicalType) + func ScalarFunctionBindGetExtraInfo(info BindInfo) unsafe.Pointer + func ScalarFunctionBindSetError(info BindInfo, err string) + func ScalarFunctionGetBindData(info FunctionInfo) unsafe.Pointer + func ScalarFunctionGetClientContext(info BindInfo, outCtx *ClientContext) + func ScalarFunctionGetExtraInfo(info FunctionInfo) unsafe.Pointer + func ScalarFunctionSetBind(f ScalarFunction, callbackPtr unsafe.Pointer) + func ScalarFunctionSetBindData(info BindInfo, bindDataPtr unsafe.Pointer, callbackPtr unsafe.Pointer) + func ScalarFunctionSetBindDataCopy(info BindInfo, callbackPtr unsafe.Pointer) + func ScalarFunctionSetError(info FunctionInfo, err string) + func ScalarFunctionSetExtraInfo(f ScalarFunction, extraInfoPtr unsafe.Pointer, callbackPtr unsafe.Pointer) + func ScalarFunctionSetFunction(f ScalarFunction, callbackPtr unsafe.Pointer) + func ScalarFunctionSetName(f ScalarFunction, name string) + func ScalarFunctionSetReturnType(f ScalarFunction, logicalType LogicalType) + func ScalarFunctionSetSpecialHandling(f ScalarFunction) + func ScalarFunctionSetVarargs(f ScalarFunction, logicalType LogicalType) + func ScalarFunctionSetVolatile(f ScalarFunction) + func SliceVector(vec Vector, sel SelectionVector, len IdxT) + func StringIsInlined(strT StringT) bool + func StringTData(strT *StringT) string + func StringTLength(strT StringT) uint32 + func StructTypeChildName(logicalType LogicalType, index IdxT) string + func TableDescriptionDestroy(desc *TableDescription) + func TableDescriptionError(desc TableDescription) string + func TableDescriptionGetColumnName(desc TableDescription, index IdxT) string + func TableFunctionAddNamedParameter(f TableFunction, name string, logicalType LogicalType) + func TableFunctionAddParameter(f TableFunction, logicalType LogicalType) + func TableFunctionGetClientContext(info BindInfo, outCtx *ClientContext) + func TableFunctionSetBind(f TableFunction, callbackPtr unsafe.Pointer) + func TableFunctionSetExtraInfo(f TableFunction, extraInfoPtr unsafe.Pointer, callbackPtr unsafe.Pointer) + func TableFunctionSetFunction(f TableFunction, callbackPtr unsafe.Pointer) + func TableFunctionSetInit(f TableFunction, callbackPtr unsafe.Pointer) + func TableFunctionSetLocalInit(f TableFunction, callbackPtr unsafe.Pointer) + func TableFunctionSetName(f TableFunction, name string) + func TableFunctionSupportsProjectionPushdown(f TableFunction, pushdown bool) + func TimeMembers(ti *Time) int64 + func TimeNSMembers(ti *TimeNS) int64 + func TimeStructMembers(ti *TimeStruct) (int8, int8, int8, int32) + func TimeTZMembers(ti *TimeTZ) uint64 + func TimestampMSMembers(ts *TimestampMS) int64 + func TimestampMembers(ts *Timestamp) int64 + func TimestampNSMembers(ts *TimestampNS) int64 + func TimestampSMembers(ts *TimestampS) int64 + func TimestampStructMembers(ts *TimestampStruct) (DateStruct, TimeStruct) + func UHugeIntMembers(hi *UHugeInt) (uint64, uint64) + func UHugeIntToDouble(hi UHugeInt) float64 + func UnionTypeMemberName(logicalType LogicalType, index IdxT) string + func ValidityMaskValueIsValid(maskPtr unsafe.Pointer, index IdxT) bool + func ValidityRowIsValid(maskPtr unsafe.Pointer, row IdxT) bool + func ValiditySetRowInvalid(maskPtr unsafe.Pointer, row IdxT) + func ValiditySetRowValid(maskPtr unsafe.Pointer, row IdxT) + func ValiditySetRowValidity(maskPtr unsafe.Pointer, row IdxT, valid bool) + func ValueInt64(res *Result, col IdxT, row IdxT) int64 + func ValueToString(val Value) string + func VectorAssignStringElement(vec Vector, index IdxT, str string) + func VectorAssignStringElementLen(vec Vector, index IdxT, blob []byte) + func VectorCopySel(src Vector, dst Vector, sel SelectionVector, count IdxT, srcOffset IdxT, ...) + func VectorEnsureValidityWritable(vec Vector) + func VectorGetData(vec Vector) unsafe.Pointer + func VectorGetValidity(vec Vector) unsafe.Pointer + func VectorReferenceValue(vec Vector, v Value) + func VectorReferenceVector(toVec Vector, fromVec Vector) + func VerifyAllocationCounters() + type Appender struct + Ptr unsafe.Pointer + type Arrow struct + Ptr unsafe.Pointer + type ArrowArray struct + Ptr unsafe.Pointer + type ArrowConvertedSchema struct + Ptr unsafe.Pointer + type ArrowOptions struct + Ptr unsafe.Pointer + func ResultGetArrowOptions(res *Result) ArrowOptions + type ArrowSchema struct + Ptr unsafe.Pointer + type ArrowStream struct + Ptr unsafe.Pointer + type BigNum = C.duckdb_bignum + func GetBigNum(v Value) BigNum + type BindInfo struct + Ptr unsafe.Pointer + type Bit = C.duckdb_bit + func GetBit(v Value) Bit + type Blob = C.duckdb_blob + func GetBlob(v Value) Blob + type CastMode = C.duckdb_cast_mode + const CastModeNormal + const CastModeTry + type ClientContext struct + Ptr unsafe.Pointer + type Column struct + type Config struct + Ptr unsafe.Pointer + type Connection struct + Ptr unsafe.Pointer + type CreateTypeInfo struct + Ptr unsafe.Pointer + type DataChunk struct + Ptr unsafe.Pointer + func CreateDataChunk(types []LogicalType) DataChunk + func FetchChunk(res Result) DataChunk + func ResultGetChunk(res Result, index IdxT) DataChunk + type Database struct + Ptr unsafe.Pointer + type Date = C.duckdb_date + func GetDate(v Value) Date + func NewDate(days int32) Date + func ToDate(date DateStruct) Date + type DateStruct = C.duckdb_date_struct + func FromDate(date Date) DateStruct + func NewDateStruct(year int32, month int8, day int8) DateStruct + type Decimal = C.duckdb_decimal + func DoubleToDecimal(d float64, width uint8, scale uint8) Decimal + func GetDecimal(v Value) Decimal + func NewDecimal(width uint8, scale uint8, hi HugeInt) Decimal + type ErrorData struct + Ptr unsafe.Pointer + func AppenderErrorData(appender Appender) ErrorData + func CreateErrorData(t ErrorType, msg string) ErrorData + func ExpressionFold(ctx ClientContext, expr Expression, outValue *Value) ErrorData + type ErrorType = C.duckdb_error_type + const ErrorTypeAutoload + const ErrorTypeBinder + const ErrorTypeCatalog + const ErrorTypeConnection + const ErrorTypeConstraint + const ErrorTypeConversion + const ErrorTypeDecimal + const ErrorTypeDependency + const ErrorTypeDivideByZero + const ErrorTypeErrorIO + const ErrorTypeExecutor + const ErrorTypeExpression + const ErrorTypeFatal + const ErrorTypeHTTP + const ErrorTypeIndex + const ErrorTypeInternal + const ErrorTypeInterrupt + const ErrorTypeInvalid + const ErrorTypeInvalidConfiguration + const ErrorTypeInvalidInput + const ErrorTypeInvalidType + const ErrorTypeMismatchType + const ErrorTypeMissingExtension + const ErrorTypeNetwork + const ErrorTypeNotImplemented + const ErrorTypeNullPointer + const ErrorTypeObjectSize + const ErrorTypeOptimizer + const ErrorTypeOutOfMemory + const ErrorTypeOutOfRange + const ErrorTypeParameterNotAllowed + const ErrorTypeParameterNotResolved + const ErrorTypeParser + const ErrorTypePermission + const ErrorTypePlanner + const ErrorTypeScheduler + const ErrorTypeSequence + const ErrorTypeSerialization + const ErrorTypeSettings + const ErrorTypeStat + const ErrorTypeSyntax + const ErrorTypeTransaction + const ErrorTypeUnknownType + func ErrorDataErrorType(errorData ErrorData) ErrorType + func ResultErrorType(res *Result) ErrorType + type Expression struct + Ptr unsafe.Pointer + func ScalarFunctionBindGetArgument(info BindInfo, index IdxT) Expression + type ExtractedStatements struct + Ptr unsafe.Pointer + type FunctionInfo struct + Ptr unsafe.Pointer + type HugeInt = C.duckdb_hugeint + func DecimalMembers(d *Decimal) (uint8, uint8, HugeInt) + func DoubleToHugeInt(d float64) HugeInt + func GetHugeInt(v Value) HugeInt + func NewHugeInt(lower uint64, upper int64) HugeInt + type IdxT = C.idx_t + func AppenderColumnCount(appender Appender) IdxT + func ArrayTypeArraySize(logicalType LogicalType) IdxT + func BindGetParameterCount(info BindInfo) IdxT + func ClientContextGetConnectionId(ctx ClientContext) IdxT + func ColumnCount(res *Result) IdxT + func DataChunkGetColumnCount(chunk DataChunk) IdxT + func DataChunkGetSize(chunk DataChunk) IdxT + func ExtractStatements(conn Connection, query string, outExtractedStmts *ExtractedStatements) IdxT + func GetListSize(v Value) IdxT + func GetMapSize(v Value) IdxT + func InitGetColumnCount(info InitInfo) IdxT + func InitGetColumnIndex(info InitInfo, index IdxT) IdxT + func ListVectorGetSize(vec Vector) IdxT + func NParams(preparedStmt PreparedStatement) IdxT + func PreparedStatementColumnCount(preparedStmt PreparedStatement) IdxT + func ProfilingInfoGetChildCount(info ProfilingInfo) IdxT + func ResultChunkCount(res Result) IdxT + func RowsChanged(res *Result) IdxT + func ScalarFunctionBindGetArgumentCount(info BindInfo) IdxT + func StructTypeChildCount(logicalType LogicalType) IdxT + func UnionTypeMemberCount(logicalType LogicalType) IdxT + func VectorSize() IdxT + type InitInfo struct + Ptr unsafe.Pointer + type InstanceCache struct + Ptr unsafe.Pointer + func CreateInstanceCache() InstanceCache + type Interval = C.duckdb_interval + func GetInterval(v Value) Interval + func NewInterval(months int32, days int32, micros int64) Interval + type ListEntry = C.duckdb_list_entry + func NewListEntry(offset uint64, length uint64) ListEntry + type LogicalType struct + Ptr unsafe.Pointer + func AppenderColumnType(appender Appender, index IdxT) LogicalType + func ArrayTypeChildType(logicalType LogicalType) LogicalType + func ColumnLogicalType(res *Result, col IdxT) LogicalType + func CreateArrayType(child LogicalType, size IdxT) LogicalType + func CreateDecimalType(width uint8, scale uint8) LogicalType + func CreateEnumType(names []string) LogicalType + func CreateListType(child LogicalType) LogicalType + func CreateLogicalType(t Type) LogicalType + func CreateMapType(key LogicalType, value LogicalType) LogicalType + func CreateStructType(types []LogicalType, names []string) LogicalType + func CreateUnionType(types []LogicalType, names []string) LogicalType + func ExpressionReturnType(expr Expression) LogicalType + func GetValueType(v Value) LogicalType + func ListTypeChildType(logicalType LogicalType) LogicalType + func MapTypeKeyType(logicalType LogicalType) LogicalType + func MapTypeValueType(logicalType LogicalType) LogicalType + func ParamLogicalType(preparedStmt PreparedStatement, index IdxT) LogicalType + func PreparedStatementColumnLogicalType(preparedStmt PreparedStatement, index IdxT) LogicalType + func StructTypeChildType(logicalType LogicalType, index IdxT) LogicalType + func UnionTypeMemberType(logicalType LogicalType, index IdxT) LogicalType + func VectorGetColumnType(vec Vector) LogicalType + type PendingResult struct + Ptr unsafe.Pointer + type PendingState = C.duckdb_pending_state + const PendingStateError + const PendingStateNoTasksAvailable + const PendingStateResultNotReady + const PendingStateResultReady + func PendingExecuteCheckState(pendingRes PendingResult) PendingState + func PendingExecuteTask(pendingRes PendingResult) PendingState + type PreparedStatement struct + Ptr unsafe.Pointer + type ProfilingInfo struct + Ptr unsafe.Pointer + func GetProfilingInfo(conn Connection) ProfilingInfo + func ProfilingInfoGetChild(info ProfilingInfo, index IdxT) ProfilingInfo + type QueryProgressType = C.duckdb_query_progress_type + func NewQueryProgressType(percentage float64, rowsProcessed uint64, totalRowsToProcess uint64) QueryProgressType + func QueryProgress(conn Connection) QueryProgressType + type ReplacementScanInfo struct + Ptr unsafe.Pointer + type Result struct + type ResultType = C.duckdb_result_type + const ResultTypeChangedRows + const ResultTypeInvalid + const ResultTypeNothing + const ResultTypeQueryResult + func ResultReturnType(res Result) ResultType + type ScalarFunction struct + Ptr unsafe.Pointer + func CreateScalarFunction() ScalarFunction + type ScalarFunctionSet struct + Ptr unsafe.Pointer + func CreateScalarFunctionSet(name string) ScalarFunctionSet + type SelT = C.sel_t + func SelectionVectorGetDataPtr(sel SelectionVector) *SelT + type SelectionVector struct + Ptr unsafe.Pointer + func CreateSelectionVector(size IdxT) SelectionVector + type State = C.duckdb_state + const StateError + const StateSuccess + func AddScalarFunctionToSet(set ScalarFunctionSet, f ScalarFunction) State + func AppendDataChunk(appender Appender, chunk DataChunk) State + func AppendDefaultToChunk(appender Appender, chunk DataChunk, col IdxT, row IdxT) State + func AppenderAddColumn(appender Appender, name string) State + func AppenderClearColumns(appender Appender) State + func AppenderClose(appender Appender) State + func AppenderCreate(conn Connection, schema string, table string, outAppender *Appender) State + func AppenderCreateExt(conn Connection, catalog string, schema string, table string, ...) State + func AppenderCreateQuery(conn Connection, query string, types []LogicalType, tableName string, ...) State + func AppenderDestroy(appender *Appender) State + func AppenderFlush(appender Appender) State + func BindBlob(preparedStmt PreparedStatement, index IdxT, v []byte) State + func BindBoolean(preparedStmt PreparedStatement, index IdxT, v bool) State + func BindDate(preparedStmt PreparedStatement, index IdxT, v Date) State + func BindDecimal(preparedStmt PreparedStatement, index IdxT, v Decimal) State + func BindDouble(preparedStmt PreparedStatement, index IdxT, v float64) State + func BindFloat(preparedStmt PreparedStatement, index IdxT, v float32) State + func BindHugeInt(preparedStmt PreparedStatement, index IdxT, v HugeInt) State + func BindInt16(preparedStmt PreparedStatement, index IdxT, v int16) State + func BindInt32(preparedStmt PreparedStatement, index IdxT, v int32) State + func BindInt64(preparedStmt PreparedStatement, index IdxT, v int64) State + func BindInt8(preparedStmt PreparedStatement, index IdxT, v int8) State + func BindInterval(preparedStmt PreparedStatement, index IdxT, v Interval) State + func BindNull(preparedStmt PreparedStatement, index IdxT) State + func BindParameterIndex(preparedStmt PreparedStatement, outIndex *IdxT, name string) State + func BindTime(preparedStmt PreparedStatement, index IdxT, v Time) State + func BindTimestamp(preparedStmt PreparedStatement, index IdxT, v Timestamp) State + func BindTimestampTZ(preparedStmt PreparedStatement, index IdxT, v Timestamp) State + func BindUHugeInt(preparedStmt PreparedStatement, index IdxT, v UHugeInt) State + func BindUInt16(preparedStmt PreparedStatement, index IdxT, v uint16) State + func BindUInt32(preparedStmt PreparedStatement, index IdxT, v uint32) State + func BindUInt64(preparedStmt PreparedStatement, index IdxT, v uint64) State + func BindUInt8(preparedStmt PreparedStatement, index IdxT, v uint8) State + func BindValue(preparedStmt PreparedStatement, index IdxT, v Value) State + func BindVarchar(preparedStmt PreparedStatement, index IdxT, v string) State + func BindVarcharLength(preparedStmt PreparedStatement, index IdxT, v string, length IdxT) State + func ClearBindings(preparedStmt PreparedStatement) State + func ColumnHasDefault(desc TableDescription, index IdxT, outBool *bool) State + func Connect(db Database, outConn *Connection) State + func CreateConfig(outConfig *Config) State + func ExecutePending(res PendingResult, outRes *Result) State + func ExecutePrepared(preparedStmt PreparedStatement, outRes *Result) State + func GetConfigFlag(index uint64, outName *string, outDescription *string) State + func GetOrCreateFromCache(cache InstanceCache, path string, outDb *Database, config Config, ...) State + func ListVectorReserve(vec Vector, capacity IdxT) State + func ListVectorSetSize(vec Vector, size IdxT) State + func Open(path string, outDb *Database) State + func OpenExt(path string, outDb *Database, config Config, errMsg *string) State + func PendingPrepared(preparedStmt PreparedStatement, outPendingRes *PendingResult) State + func Prepare(conn Connection, query string, outPreparedStmt *PreparedStatement) State + func PrepareExtractedStatement(conn Connection, extractedStmts ExtractedStatements, index IdxT, ...) State + func Query(conn Connection, query string, outRes *Result) State + func RegisterLogicalType(conn Connection, logicalType LogicalType, info CreateTypeInfo) State + func RegisterScalarFunction(conn Connection, f ScalarFunction) State + func RegisterScalarFunctionSet(conn Connection, f ScalarFunctionSet) State + func RegisterTableFunction(conn Connection, f TableFunction) State + func SetConfig(config Config, name string, option string) State + func TableDescriptionCreate(conn Connection, schema string, table string, outDesc *TableDescription) State + func TableDescriptionCreateExt(conn Connection, catalog string, schema string, table string, ...) State + type StatementType = C.duckdb_statement_type + const StatementTypeAlter + const StatementTypeAnalyze + const StatementTypeAttach + const StatementTypeCall + const StatementTypeCopy + const StatementTypeCreate + const StatementTypeCreateFunc + const StatementTypeDelete + const StatementTypeDetach + const StatementTypeDrop + const StatementTypeExecute + const StatementTypeExplain + const StatementTypeExport + const StatementTypeExtension + const StatementTypeInsert + const StatementTypeInvalid + const StatementTypeLoad + const StatementTypeLogicalPlan + const StatementTypeMulti + const StatementTypePragma + const StatementTypePrepare + const StatementTypeRelation + const StatementTypeSelect + const StatementTypeSet + const StatementTypeTransaction + const StatementTypeUpdate + const StatementTypeVacuum + const StatementTypeVariableSet + func PreparedStatementType(preparedStmt PreparedStatement) StatementType + func ResultStatementType(res Result) StatementType + type StringT = C.duckdb_string_t + type TableDescription struct + Ptr unsafe.Pointer + type TableFunction struct + Ptr unsafe.Pointer + func CreateTableFunction() TableFunction + type Time = C.duckdb_time + func GetTime(v Value) Time + func NewTime(micros int64) Time + func ToTime(ti TimeStruct) Time + type TimeNS = C.duckdb_time_ns + func GetTimeNS(v Value) TimeNS + func NewTimeNS(nanos int64) TimeNS + type TimeStruct = C.duckdb_time_struct + func FromTime(ti Time) TimeStruct + func NewTimeStruct(hour int8, min int8, sec int8, micros int32) TimeStruct + func TimeTZStructMembers(ti *TimeTZStruct) (TimeStruct, int32) + type TimeTZ = C.duckdb_time_tz + func CreateTimeTZ(micros int64, offset int32) TimeTZ + func GetTimeTZ(v Value) TimeTZ + func NewTimeTZ(bits uint64) TimeTZ + type TimeTZStruct = C.duckdb_time_tz_struct + func FromTimeTZ(ti TimeTZ) TimeTZStruct + func NewTimeTZStruct(ti TimeStruct, offset int32) TimeTZStruct + type Timestamp = C.duckdb_timestamp + func GetTimestamp(v Value) Timestamp + func GetTimestampTZ(v Value) Timestamp + func NewTimestamp(micros int64) Timestamp + func ToTimestamp(ts TimestampStruct) Timestamp + type TimestampMS = C.duckdb_timestamp_ms + func GetTimestampMS(v Value) TimestampMS + func NewTimestampMS(millis int64) TimestampMS + type TimestampNS = C.duckdb_timestamp_ns + func GetTimestampNS(v Value) TimestampNS + func NewTimestampNS(nanos int64) TimestampNS + type TimestampS = C.duckdb_timestamp_s + func GetTimestampS(v Value) TimestampS + func NewTimestampS(seconds int64) TimestampS + type TimestampStruct = C.duckdb_timestamp_struct + func FromTimestamp(ts Timestamp) TimestampStruct + func NewTimestampStruct(date DateStruct, ti TimeStruct) TimestampStruct + type Type = C.duckdb_type + const TypeAny + const TypeArray + const TypeBigInt + const TypeBigNum + const TypeBit + const TypeBlob + const TypeBoolean + const TypeDate + const TypeDecimal + const TypeDouble + const TypeEnum + const TypeFloat + const TypeHugeInt + const TypeInteger + const TypeIntegerLiteral + const TypeInterval + const TypeInvalid + const TypeList + const TypeMap + const TypeSQLNull + const TypeSmallInt + const TypeStringLiteral + const TypeStruct + const TypeTime + const TypeTimeNS + const TypeTimeTZ + const TypeTimestamp + const TypeTimestampMS + const TypeTimestampNS + const TypeTimestampS + const TypeTimestampTZ + const TypeTinyInt + const TypeUBigInt + const TypeUHugeInt + const TypeUInteger + const TypeUSmallInt + const TypeUTinyInt + const TypeUUID + const TypeUnion + const TypeVarchar + func ColumnType(res *Result, col IdxT) Type + func DecimalInternalType(logicalType LogicalType) Type + func EnumInternalType(logicalType LogicalType) Type + func GetTypeId(logicalType LogicalType) Type + func ParamType(preparedStmt PreparedStatement, index IdxT) Type + func PreparedStatementColumnType(preparedStmt PreparedStatement, index IdxT) Type + type UHugeInt = C.duckdb_uhugeint + func DoubleToUHugeInt(d float64) UHugeInt + func GetUHugeInt(v Value) UHugeInt + func GetUUID(v Value) UHugeInt + func NewUHugeInt(lower uint64, upper uint64) UHugeInt + type Value struct + Ptr unsafe.Pointer + func BindGetNamedParameter(info BindInfo, name string) Value + func BindGetParameter(info BindInfo, index IdxT) Value + func CreateArrayValue(logicalType LogicalType, values []Value) Value + func CreateBigNum(val BigNum) Value + func CreateBit(val Bit) Value + func CreateBlob(val []byte) Value + func CreateBool(val bool) Value + func CreateDate(val Date) Value + func CreateDecimal(val Decimal) Value + func CreateDouble(val float64) Value + func CreateEnumValue(logicalType LogicalType, val uint64) Value + func CreateFloat(val float32) Value + func CreateHugeInt(val HugeInt) Value + func CreateInt16(val int16) Value + func CreateInt32(val int32) Value + func CreateInt64(val int64) Value + func CreateInt8(val int8) Value + func CreateInterval(val Interval) Value + func CreateListValue(logicalType LogicalType, values []Value) Value + func CreateMapValue(logicalType LogicalType, keys []Value, values []Value) Value + func CreateNullValue() Value + func CreateStructValue(logicalType LogicalType, values []Value) Value + func CreateTime(val Time) Value + func CreateTimeNS(val TimeNS) Value + func CreateTimeTZValue(timeTZ TimeTZ) Value + func CreateTimestamp(val Timestamp) Value + func CreateTimestampMS(val TimestampMS) Value + func CreateTimestampNS(val TimestampNS) Value + func CreateTimestampS(val TimestampS) Value + func CreateTimestampTZ(val Timestamp) Value + func CreateUHugeInt(val UHugeInt) Value + func CreateUInt16(val uint16) Value + func CreateUInt32(val uint32) Value + func CreateUInt64(val uint64) Value + func CreateUInt8(val uint8) Value + func CreateUUID(val UHugeInt) Value + func CreateUnionValue(logicalType LogicalType, tag IdxT, value Value) Value + func CreateVarchar(str string) Value + func CreateVarcharLength(str string, length IdxT) Value + func GetListChild(val Value, index IdxT) Value + func GetMapKey(v Value, index IdxT) Value + func GetMapValue(v Value, index IdxT) Value + func GetStructChild(val Value, index IdxT) Value + func GetTableNames(conn Connection, query string, qualified bool) Value + func ProfilingInfoGetMetrics(info ProfilingInfo) Value + func ProfilingInfoGetValue(info ProfilingInfo, key string) Value + type Vector struct + Ptr unsafe.Pointer + func ArrayVectorGetChild(vec Vector) Vector + func CreateVector(logicalType LogicalType, capacity IdxT) Vector + func DataChunkGetVector(chunk DataChunk, index IdxT) Vector + func ListVectorGetChild(vec Vector) Vector + func StructVectorGetChild(vec Vector, index IdxT) Vector