NzaeAggFieldFunctions struct reference

Read and write record functions for Aggregation.

Public member functions

NzaeAggRcCode(* getValue)(NZAEAGG_HANDLE handle, int index, NzudsData **data
Get value.
NzaeAggRcCode(* isNull)(NZAEAGG_HANDLE handle, int index, bool *result)
Specifieds if the field is NULL.
NzaeAggRcCode(* setBool)(NZAEAGG_HANDLE handle, int index, bool value)
Sets the bool field value.
NzaeAggRcCode(* setDate)(NZAEAGG_HANDLE handle, int index, int32_t value)
Sets the date field value.
NzaeAggRcCode(* setDouble)(NZAEAGG_HANDLE handle, int index, double value)
Sets the double field value.
NzaeAggRcCode(* setFloat)(NZAEAGG_HANDLE handle, int index, float value)
Sets the float field value.
NzaeAggRcCode(* setInt16)(NZAEAGG_HANDLE handle, int index, int16_t value)
Sets the int16 field value.
NzaeAggRcCode(* setInt32)(NZAEAGG_HANDLE handle, int index, int32_t value)
Sets the int32 field value.
NzaeAggRcCode(* setInt64)(NZAEAGG_HANDLE handle, int index, int64_t value)
Sets the int64 field value.
NzaeAggRcCode(* setInt8)(NZAEAGG_HANDLE handle, int index, int8_t value)
Sets the int8 field value.
NzaeAggRcCode(* setInterval)(NZAEAGG_HANDLE handle, int index, NzudsInterval *value)
Sets the interval field value.
NzaeAggRcCode(* setNull)(NZAEAGG_HANDLE handle, int index)
Sets the field value to NULL.
NzaeAggRcCode(* setNumeric128)(NZAEAGG_HANDLE handle, int index, const NzudsNumeric128 *value)
Sets the numeric128 field value.
NzaeAggRcCode(* setNumeric32)(NZAEAGG_HANDLE handle, int index, const NzudsNumeric32 *value)
Sets the numeric32 field value.
NzaeAggRcCode(* setNumeric64)(NZAEAGG_HANDLE handle, int index, const NzudsNumeric64 *value)
Sets the numeric64 field value.
NzaeAggRcCode(* setString)(NZAEAGG_HANDLE handle, int index, const char *value)
Sets the string field value.
NzaeAggRcCode(* setStringLength)(NZAEAGG_HANDLE handle, int index, const char *value, int length)
Sets the string field value.
NzaeAggRcCode(* setTime)(NZAEAGG_HANDLE handle, int index, int64_t value)
Sets the time field value.
NzaeAggRcCode(* setTimeStamp)(NZAEAGG_HANDLE handle, int index, int64_t value)
Sets the timestamp field value.
NzaeAggRcCode(* setTimeTz)(NZAEAGG_HANDLE handle, int index, const NzudsTimeTz *value)
Sets the timeTz field value.
NzaeAggRcCode(* setValue)(NZAEAGG_HANDLE handle, int index, NzudsData *data)
Sets the field value.

Public attributes

  • metadata

Detailed description

Read and write record functions for Aggregation.

Public member function documentation

NzaeAggRcCode(* getValue)(NZAEAGG_HANDLE handle, int index, NzudsData **data
Get value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • data

    The Returned Field data.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* isNull)(NZAEAGG_HANDLE handle, int index, bool *result)
Specifieds if the field is NULL.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • result

    TRUE if NULL.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setBool)(NZAEAGG_HANDLE handle, int index, bool value)
Sets the bool field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The bool value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setDate)(NZAEAGG_HANDLE handle, int index, int32_t value)
Sets the date field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The data value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setDouble)(NZAEAGG_HANDLE handle, int index, double value)
Sets the double field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The double value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setFloat)(NZAEAGG_HANDLE handle, int index, float value)
Sets the float field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The float value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setInt16)(NZAEAGG_HANDLE handle, int index, int16_t value)
Sets the int16 field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The int16 value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setInt32)(NZAEAGG_HANDLE handle, int index, int32_t value)
Sets the int32 field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The int32 value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setInt64)(NZAEAGG_HANDLE handle, int index, int64_t value)
Sets the int64 field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The int64 value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setInt8)(NZAEAGG_HANDLE handle, int index, int8_t value)
Sets the int8 field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The int8 value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setInterval)(NZAEAGG_HANDLE handle, int index, NzudsInterval *value)
Sets the interval field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The interval value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setNull)(NZAEAGG_HANDLE handle, int index)
Sets the field value to NULL.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setNumeric128)(NZAEAGG_HANDLE handle, int index, const NzudsNumeric128 *value)
Sets the numeric128 field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The numeric128 value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setNumeric32)(NZAEAGG_HANDLE handle, int index, const NzudsNumeric32 *value)
Sets the numeric32 field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The numeric32 value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setNumeric64)(NZAEAGG_HANDLE handle, int index, const NzudsNumeric64 *value)
Sets the numeric64 field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The numeric64 value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setString)(NZAEAGG_HANDLE handle, int index, const char *value)
Sets the string field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The string value, with length determined by strlen.

    Returns

    NzaeAggRcCode

    The aggregate return code.

    The value is expected to be NULL-terminated. A copy of the string value is created.

NzaeAggRcCode(* setStringLength)(NZAEAGG_HANDLE handle, int index, const char *value, int length)
Sets the string field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The string value.

  • length

    The length of the string.

    Returns

    NzaeAggRcCode

    The aggregate return code.

    The string length is determined by the length argument. A copy of the string value is created. NULL ter-mination does not apply.

NzaeAggRcCode(* setTime)(NZAEAGG_HANDLE handle, int index, int64_t value)
Sets the time field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The time value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setTimeStamp)(NZAEAGG_HANDLE handle, int index, int64_t value)
Sets the timestamp field value.
Parameters:
  • handle

    The aggregate handle.

  • value

    The timestamp value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setTimeTz)(NZAEAGG_HANDLE handle, int index, const NzudsTimeTz *value)
Sets the timeTz field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • value

    The timeTz value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

NzaeAggRcCode(* setValue)(NZAEAGG_HANDLE handle, int index, NzudsData *data)
Sets the field value.
Parameters:
  • handle

    The aggregate handle.

  • index

    The field index.

  • data

    The value.

    Returns

    NzaeAggRcCode

    The aggregate return code.

Member data documentation

  • NzaeAggMetadata metadata