NzudsData struct reference
Public attributes
- union { pBool pDate pDouble pFixedString pFloat pGeometryString pInt16
- pInt32
- pInt64
- pInt8 pInterval
- pNationalFixedString
- pNationalVariableString
- pNumeric128
- pNumeric32
- pNumeric64
- pTime
- pTimeStamp
- pTimeTz
- pVarbinaryString
- pVariableString
- } data
isNull
length
union { boolVal dateVal doubleVal floatVal int16Val int32Val int64Val int8Val interval numeric128 numeric32 numeric64 timeStampVal timeTz timeVal
} privateData
type
Detailed description
Field data to serialize / deserialize string types always have an extra null terminator not included in the length.
The memory that this struct points to belongs to the class.
The data in this struct is valid until it is used in another nzudsReadNext, any write operation is performed, or the handle is closed.
Member data documentation
-
int8_t boolVal
data
union { ... }
int32_t dateVal
double doubleVal
float floatVal
int16_t int16Val
int32_t int32Val
int64_t int64Val
int8_t int8Val
NzudsInterval interval
int8_t isNull if value is true then data column is SQL null
int32_t length length of data
NzudsNumeric128 numeric128
NzudsNumeric32 numeric32
NzudsNumeric64 numeric64
const int8_t* pBool
const int32_t* pDate
const double* pDouble
const char* pFixedString
const float* pFloat
const char* pGeometryString
const int16_t* pInt16
const int32_t* pInt32
const int64_t* pInt64
const int8_t* pInt8
const NzudsInterval* pInterval
const char* pNationalFixedString
const char* pNationalVariableString
const NzudsNumeric128* pNumeric128
const NzudsNumeric32* pNumeric32
const NzudsNumeric64* pNumeric64
privateData union { ... }
This union should be considered private
const int64_t* pTime
const int64_t* pTimeStamp
const NzudsTimeTz* pTimeTz
const char* pVarbinaryString
const char* pVariableString
int64_t timeStampVal
NzudsTimeTz timeTz
int64_t timeVal
NzudsDataType type Data Type of this struct
Determines correct pointer in data union if data in not null.