C Driver API 3.0.0
API for the NuoDB C Driver Library
Loading...
Searching...
No Matches
resultSetMetaData.h File Reference

Metadata for a NuoDB_ResultSet. More...

#include "nuodb/utils.h"
#include "nuodb/structs.h"
#include "nuodb/error.h"

Go to the source code of this file.

Data Structures

struct  NuoDB_ResultSetMetaData
 Data structure used to obtain metadata for a NuoDB_ResultSet. More...
 

Typedefs

typedef enum NuoDB_Type_enum NuoDB_Type
 Constant SQL types used by the C-Language API.
 

Enumerations

enum  NuoDB_Type_enum {
  NUODB_TYPE_NULL = 0 ,
  NUODB_TYPE_BIT = -7 ,
  NUODB_TYPE_TINYINT = -6 ,
  NUODB_TYPE_SMALLINT = 5 ,
  NUODB_TYPE_INTEGER = 4 ,
  NUODB_TYPE_BIGINT = -5 ,
  NUODB_TYPE_FLOAT = 6 ,
  NUODB_TYPE_DOUBLE = 8 ,
  NUODB_TYPE_CHAR = 1 ,
  NUODB_TYPE_VARCHAR = 12 ,
  NUODB_TYPE_LONGVARCHAR = -1 ,
  NUODB_TYPE_DATE = 91 ,
  NUODB_TYPE_TIME = 92 ,
  NUODB_TYPE_TIMESTAMP = 93 ,
  NUODB_TYPE_BLOB = 2004 ,
  NUODB_TYPE_CLOB = 2005 ,
  NUODB_TYPE_NUMERIC = 2 ,
  NUODB_TYPE_DECIMAL = 3 ,
  NUODB_TYPE_BOOLEAN = 16 ,
  NUODB_TYPE_BINARY = -2 ,
  NUODB_TYPE_LONGVARBINARY = -4
}
 NuoDB_Type enum. More...
 

Detailed Description

Metadata for a NuoDB_ResultSet.

Enumeration Type Documentation

◆ NuoDB_Type_enum

NuoDB_Type enum.

Enum defining constant SQL types used by the C-Language API.

Clients use these definitions to represent types provided by: NuoDB_Type (* getColumnType)(NuoDB_ResultSetMetaData* _this, int index, int *columnType);

Enumerator
NUODB_TYPE_NULL 

Represents SQL value NULL (0)

NUODB_TYPE_BIT 

Type code representing the SQL type BIT (-7)

NUODB_TYPE_TINYINT 

Type code representing the SQL type BYTE (-6)

NUODB_TYPE_SMALLINT 

Type code representing the SQL type SMALLINT (5)

NUODB_TYPE_INTEGER 

Type code representing the SQL type INTEGER (4)

NUODB_TYPE_BIGINT 

Type code representing the SQL type BIGINT (-5)

NUODB_TYPE_FLOAT 

Type code representing the SQL type FLOAT (6)

NUODB_TYPE_DOUBLE 

Type code representing the SQL type DOUBLE (8)

NUODB_TYPE_CHAR 

Type code representing the SQL type CHAR (1)

NUODB_TYPE_VARCHAR 

Type code representing the SQL type VARCHAR (12)

NUODB_TYPE_LONGVARCHAR 

Type code representing the SQL type LONGVARCHAR (-1)

NUODB_TYPE_DATE 

Type code representing the SQL type DATE (91)

NUODB_TYPE_TIME 

Type code representing the SQL type TIME (92)

NUODB_TYPE_TIMESTAMP 

Type code representing the SQL type TIMESTAMP (93)

NUODB_TYPE_BLOB 

Type code representing the SQL type BLOB (2004)

NUODB_TYPE_CLOB 

Type code representing the SQL type CLOB (2005)

NUODB_TYPE_NUMERIC 

Type code representing the SQL type NUMERIC (2)

NUODB_TYPE_DECIMAL 

Type code representing the SQL type DECIMAL (3)

NUODB_TYPE_BOOLEAN 

Type code representing the SQL type BOOLEAN (16)

NUODB_TYPE_BINARY 

Type code representing the SQL type BINARY (-2)

NUODB_TYPE_LONGVARBINARY 

Type code representing the SQL type LONGVARBINARY (-4)