gda.types

D types for gda5 library

alias AttributesManagerFunc AttributesManagerSignal BatchError ConfigError ConnectionError ConnectionEventCode ConnectionEventType ConnectionFeature ConnectionMetaType ConnectionOptions DataComparatorError DataModelAccessFlags DataModelError DataModelHint DataModelIOFormat DataModelIterError DataPivotAggregate DataPivotError DataPivotFieldType DataProxyError DataSelectConditionType DataSelectError DiffType HandlerBinPriv HandlerBooleanPriv HandlerNumericalPriv HandlerStringPriv HandlerTimePriv HandlerTypePriv HolderError MetaDbObjectType MetaForeignKeyPolicy MetaGraphInfo MetaSortType MetaStoreChangeType MetaStoreError MetaStructError MetaStructFeature ServerOperationCreateTableFlag ServerOperationError ServerOperationNodeStatus ServerOperationNodeType ServerOperationType ServerProviderAsyncCallback ServerProviderError ServerProviderExecCallback ServerProviderInfo ServerProviderMeta ServerProviderXa SetError SqlAnyPartType SqlBuilderError SqlBuilderId SqlError SqlErrorType SqlIdentifierStyle SqlOperatorType SqlParserError SqlParserFlavour SqlParserMode SqlRenderingValue SqlReservedKeywordsFunc SqlSelectJoinType SqlStatementCompoundType SqlStatementType StatementError StatementModelUsage StatementSqlFlag ThreadNotification ThreadNotificationType ThreadWrapperCallback ThreadWrapperError ThreadWrapperFunc ThreadWrapperVoidFunc TransactionIsolation TransactionStatusEventType TransactionStatusState TreeError TreeManagerError TreeMgrColumnsPriv TreeMgrLabelPriv TreeMgrSchemasPriv TreeMgrSelectPriv TreeMgrTablesPriv TreeNodeError ValueAttribute XaTransactionError

Types 87

aliasConnectionError = GdaConnectionError
aliasSqlError = GdaSqlError
aliasAttributesManagerFunc = void delegate(string attName, gobject.value.Value value)
aliasAttributesManagerSignal = void delegate(gobject.object.ObjectWrap obj, string attName, gobject.value.Value value)
aliasServerProviderAsyncCallback = void delegate(gda.server_provider.ServerProvider provider, gda.connection.Connection cnc, uint taskId, bool resultStatus, glib.error.ErrorWrap error)

Function to be called by Libgda when the associated asynchronous method invoked finishes.

Parameters

provider
cnc
taskId
resultStatus
error

Function to be called by Libgda when the associated asynchronous method invoked finishes

Parameters

provider
cnc
taskId
resultObj
error

Rendering function type to render a #GValue

Parameters

valuethe #GValue to render
contextthe rendering context

Returns

a new string, or null if an error occurred

Throws

[ErrorWrap]
aliasSqlReservedKeywordsFunc = bool delegate(string word)
aliasThreadWrapperCallback = void delegate(gda.thread_wrapper.ThreadWrapper wrapper, void * instance, string signame, int nParamValues, gobject.value.Value paramValues, void * gdaReserved)

Specifies the type of function to be passed to [gda.thread_wrapper.ThreadWrapper.connectRaw]

Parameters

wrapperthe #GdaThreadWrapper
instancea pointer to the instance which emitted the signal
signamethe name of the signal being emitted
nParamValuesnumber of GValue in param_values
paramValuesarray of n_param_values GValue
gdaReservedreserved
aliasThreadWrapperFunc = void * delegate(void * arg, GError * * _err)

Specifies the type of function to be passed to [gda.thread_wrapper.ThreadWrapper.execute].

Parameters

argpointer to the data (which is the arg argument passed to [gda.thread_wrapper.ThreadWrapper.executeVoid])

Returns

a pointer to some data which will be returned by [gda.thread_wrapper.ThreadWrapper.fetchResult]

Throws

[ErrorWrap]
aliasThreadWrapperVoidFunc = void delegate(void * arg, GError * * _err)

Specifies the type of function to be passed to [gda.thread_wrapper.ThreadWrapper.executeVoid].

Parameters

arga pointer to the data (which is the arg argument passed to [gda.thread_wrapper.ThreadWrapper.executeVoid])

Throws

[ErrorWrap]

Variables 12

enumvarATTRIBUTE_AUTO_INCREMENT = "__gda_attr_autoinc"

The corresponding attribute specifies if the object it refers to is auto incremented (value has a G_TYPE_BOOLEAN type).

enumvarATTRIBUTE_DESCRIPTION = "__gda_attr_descr"

The corresponding attribute is the description of the object it refers to (value has a G_TYPE_STRING type).

enumvarATTRIBUTE_IS_DEFAULT = "__gda_attr_is_default"

The corresponding attribute specifies if the object it refers to has its value to default (value has a G_TYPE_BOOLEAN type).

enumvarATTRIBUTE_NAME = "__gda_attr_name"

The corresponding attribute is the name of the object it refers to (value has a G_TYPE_STRING type).

enumvarATTRIBUTE_NUMERIC_PRECISION = "__gda_attr_numeric_precision"

The corresponding attribute is the number of significant digits of the object it refers to (value has a G_TYPE_INT type).

enumvarATTRIBUTE_NUMERIC_SCALE = "__gda_attr_numeric_scale"

The corresponding attribute is the number of significant digits to the right of the decimal point of the object it refers to (value has a G_TYPE_INT type).

enumvarATTRIBUTE_TREE_NODE_UNKNOWN_CHILDREN = "__gda_attr_tnuchild"

This attribute, if true specifies that a tree node may or may not have any children nodes (value has a G_TYPE_BOOLEAN type).

enumvarEXTRA_AUTO_INCREMENT = "AUTO_INCREMENT"
enumvarSERVER_PROVIDER_UNDEFINED_LIMITING_THREAD = 1
enumvarSQLSTATE_GENERAL_ERROR = "HY000"
enumvarSQLSTATE_NO_ERROR = "00000"
enumvarTIMEZONE_INVALID = 86400