mycq::ColumnType Namespace Reference

Column's data types. More...

Enumerations

enum  Enum {
  BOOLEAN = 0, BYTE = 1, SHORT = 3, USHORT = 5,
  INT = 7, LONG = 11, FLOAT = 16, DOUBLE = 17,
  DATE = 18, TIME = 19, DATETIME = 20, STRING = 21,
  VAR_STRING = 22, BINARY = 25, VAR_BINARY = 26
}
 

Column enumeration.

More...

Detailed Description

Column's data types.


Enumeration Type Documentation

Column enumeration.

Enumerator:
BOOLEAN 

Boolean values, true or false. (size:= 1Bytes).

BYTE 

Unsigned integer values, from 0 to 255. (size:= 1Bytes).

SHORT 

Unsigned integer values, from 0 to 65,535. (size:= 2Bytes).

USHORT 

Signed integer values, from -2,147,483,648 to 2,147,483,647. (size:= 4Bytes).

INT 

Signed integer values, from -2,147,483,648 to 2,147,483,647. (size:= 4Bytes).

LONG 

Signed integer values, from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. (size:= 8Bytes).

FLOAT 

Floating-point values, from -3.402823e38 to 3.402823e3. (size:= 4Bytes).

DOUBLE 

Floating-point values, from -1.79769313486232e308 to 1.79769313486232e308. (size:= 8Bytes).

DATE 

Date values, from 0001-01-01 to 9999-12-31. (size:= 11Bytes).

TIME 

Time values, from 00:00:00.000 to 23:59:59.000. (size:= 13Bytes).

DATETIME 

DateTime values, from 0001-01-01 00:00:00.000 to 9999-12-31 23:59:59.000. (size:= 24Bytes).

STRING 

A series of characters. STRING size is static and it is defined when adding a new STRING column to a queue schema. (size:= NBytes).

VAR_STRING 

A series of characters. VAR_STRING size is variable and it is defined when a string value is set. (default size:= 0Bytes).

BINARY 

A series of binary data. BINARY size is static and it is defined when adding a new BINARY column to a queue schema. (size:= NBytes).

VAR_BINARY 

A series of binary data. VAR_BINARY size is variable and it is defined when a binary data is set. (default size:= 0Bytes).

 All Classes Namespaces Functions Variables Enumerations Enumerator
MyCQ C++ User's Document. Copyright@MyCQ Inc., All Rights Reserved.