Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.2.1 |  CUBRID 8.3.0 |  CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

cci_set_get

Description

The cci_set_get function gets the index-th data for the type value of T_CCI_SET. The data type of value for a_type is shown in the table below.

a_type

value Type

CCI_A_TYPE_STR

char**

CCI_A_TYPE_INT

int*

CCI_A_TYPE_FLOAT

float*

CCI_A_TYPE_DOUBLE

double*

CCI_A_TYPE_BIT

T_CCI_BIT*

CCI_A_TYPE_DATE

T_CCI_DATE*

CCI_A_TYPE_BIGINT

int64_t* (For Windows: __int64*)

Syntax

intcci_set_get(T_CCI_SET set, int index, T_CCI_A_TYPE a_type, void *value, int *indicator)

  • set: (IN) cci set pointer
  • index: (IN) set index (base: 1)
  • a_type: (IN) Type
  • value: (OUT) Result buffer
  • indicator: (OUT) null indicator
Return Value
  • Error code
Error Code
  • CCI_ER_SET_INDEX
  • CCI_ER_TYPE_CONVERSION
  • CCI_ER_NO_MORE_MEMORY
  • CCI_ER_COMMUNICATION