Primitive data types

Xion defines a set of data types ( Xion reference manual ). A data type can be seen both as a primitive type and as a classifier. Netsilon transparently converts one representation to the other.
  • logical type
Boolean : enumeration with two values false and true. Default value: false.
  • integral types
Integer : the super type of all integer data types. Signed 64-bit two’s-complement integer. Default value: 0.
Byte : signed 8-bit two’s-complement integer. Default value: 0.
Short : signed 16-bit two’s-complement integer. Default value: 0.
Int : signed 32-bit two’s-complement integer. Default value: 0.
Long : signed 64-bit two’s-complement integer. Default value: 0.
! Due to target language limitations, the current implementation of Netsilon treats all integer values as signed 32-bit two’s-complement values. However, SQL types of the correct size are defined.
  • floating point types
Real : the super type of all numeric data types. 64-bit IEEE 754 floating-point numbers. Default value: 0.0.
Float : 32-bit IEEE 754 floating-point numbers. Default value: 0.0.
Double : 64-bit IEEE 754 floating-point numbers. Default value: 0.0.
! Due to target language limitations, the current implementation of Netsilon treats all floating point values as signed 64-bit IEEE 754 floating-point numbers. However, SQL types of the correct size are defined.
  • string types
Text : the super type of string types. Variable length character string. Default value: "" (string of length 0).
String : Variable length character string of maximal length 255. Default value: "" (string of length 0).
  • date types
Date : the date defined since 1970-01-01. Default value: 2000-01-01 (first of January 2000).
Time : the time of the day. Default value: 00:00:00 (midnight).
 
TOC ] Previous ] Next ]