MySQL 5.6.14 Source Code Document
|
Public Attributes | |
Bigint | |
64 bit. 8 byte signed integer, can be used in array | |
Bigunsigned | |
64 Bit. 8 byte signed integer, can be used in array | |
Binary | |
Length is fixed. A fixed array of 1-byte values. | |
Bit | |
Bit, length specifies no of bits. | |
Blob | |
Binary large object (see NdbBlob) | |
Char | |
Length is fixed. A fixed array of 1-byte chars. | |
Date | |
Precision down to 1 day(sizeof(Date) == 4 bytes ) | |
Datetime | |
Precision down to 1 sec (sizeof(Datetime) == 8 bytes ) | |
Double | |
64-bit float. 8 byte float, can be used in array | |
Decimal | |
MySQL >= 5.0 signed decimal, Precision, Scale. | |
Decimalunsigned | |
Float | |
32-bit float. 4 bytes float, can be used in array | |
Int | |
32 bit. 4 byte signed integer, can be used in array | |
Longvarchar | |
Length bytes: 2, little-endian. | |
Longvarbinary | |
Length bytes: 2, little-endian. | |
Mediumint | |
24 bit. 3 byte signed integer, can be used in array | |
Mediumunsigned | |
24 bit. 3 byte unsigned integer, can be used in array | |
Olddecimal | |
Olddecimalunsigned | |
Smallint | |
16 bit. 2 byte signed integer, can be used in array | |
Smallunsigned | |
16 bit. 2 byte unsigned integer, can be used in array | |
Text | |
Text blob. | |
Time | |
Time without date. | |
Timestamp | |
Unix time. | |
Tinyint | |
8 bit. 1 byte signed integer, can be used in array | |
Tinyunsigned | |
8 bit. 1 byte unsigned integer, can be used in array | |
Undefined | |
Unsigned | |
32 bit. 4 byte unsigned integer, can be used in array | |
Varbinary | |
Length bytes: 1, Max: 255. | |
Varchar | |
Length bytes: 1, Max: 255. | |
Year | |
Year 1901-2155 (1 byte) |
This class enumerates the column types for columns in ndb.
Definition at line 23 of file ColumnType.java.