C Driver API 3.0.0
API for the NuoDB C Driver Library
Loading...
Searching...
No Matches
parameterMetaData.h
Go to the documentation of this file.
1/* (C) Copyright 2020-2023 Dassault Systemes SE. All Rights Reserved. */
2
3#ifndef _NUODB_PARAMETERMETADATA_H_
4#define _NUODB_PARAMETERMETADATA_H_ 1
5
6#ifndef _NUODB_UTILS_H_
7#include "nuodb/utils.h"
8#endif
9
10#ifndef _NUODB_STRUCTS_H_
11#include "nuodb/structs.h"
12#endif
13
14#ifndef _NUODB_ERROR_H_
15#include "nuodb/error.h"
16#endif
17
18#ifndef _NUODB_RESULTSETMETADATA_H_
20#endif
21
22/* c-driver */
23#ifdef __cplusplus
24extern "C" {
25#endif
26
36{
37 NUODB_PARAMETER_DIRECTION_UNKNOWN = -1,
38 NUODB_PARAMETER_DIRECTION_IN = 0,
39 NUODB_PARAMETER_DIRECTION_INOUT = 1,
40 NUODB_PARAMETER_DIRECTION_OUT = 2,
41 NUODB_PARAMETER_DIRECTION_RETURNVALUE = 3
42};
43
46
52{
54 _NuoDB_ParameterMetaData_state_t* _state;
55
66
78
90
107 int (* getPrecision)(NuoDB_ParameterMetaData* _this, int index);
108
123 int (* getScale)(NuoDB_ParameterMetaData* _this, int index);
124
137};
138
139#ifdef __cplusplus
140} /* extern "C" { */
141#endif
142
143#endif /* end of: #ifndef _NUODB_PARAMETERMETADATA_H_ */
NuoDB Error information.
enum NuoDB_Status_enum NuoDB_Status
Status codes used by the C Driver.
Definition error.h:130
NuoDB_ParameterDirection_enum
Enum type defining direction of the parameter.
Definition parameterMetaData.h:36
enum NuoDB_ParameterDirection_enum NuoDB_ParameterDirection
Parameter direction mode used by the C-Language API.
Definition parameterMetaData.h:45
Metadata for a NuoDB_ResultSet.
enum NuoDB_Type_enum NuoDB_Type
Constant SQL types used by the C-Language API.
Definition resultSetMetaData.h:60
Metadata about parameters.
Definition parameterMetaData.h:52
nuodb_bool_t(* isNullable)(NuoDB_ParameterMetaData *_this, int index)
Retrieves whether null values are allowed in the designated parameter.
Definition parameterMetaData.h:136
NuoDB_Status(* getParameterType)(NuoDB_ParameterMetaData *_this, int index, NuoDB_Type *typePtr)
Retrieves the designated parameter's SQL type.
Definition parameterMetaData.h:89
int(* getPrecision)(NuoDB_ParameterMetaData *_this, int index)
Retrieves the designated parameter's specified column size.
Definition parameterMetaData.h:107
int(* getScale)(NuoDB_ParameterMetaData *_this, int index)
Retrieves the designated parameter's number of digits to right of the decimal point.
Definition parameterMetaData.h:123
NuoDB_Status(* getParameterMode)(NuoDB_ParameterMetaData *_this, int index, NuoDB_ParameterDirection *modePtr)
Retrieves the designated parameter's mode (direction)
Definition parameterMetaData.h:77
int(* getParameterCount)(NuoDB_ParameterMetaData *_this)
Retrieves the number of parameters in the last prepared SQL statement for which this ParameterMetaDat...
Definition parameterMetaData.h:65
structs and typedefs.
NuoDB utilities.
unsigned char nuodb_bool_t
NuoDB boolean type.
Definition utils.h:49