Home  > 

Module types

Data types.

Implementations: C, C++, Java, Python

AMQP: Type system

Scalar data types

ClassSummary
null An empty value
boolean A true or false value
char A single Unicode character
string A sequence of Unicode characters
binary A sequence of bytes
float A 32-bit floating point number
double A 64-bit floating point number
byte A signed 8-bit integer
short A signed 16-bit integer
int A signed 32-bit integer
long A signed 64-bit integer
ubyte An unsigned 8-bit integer
ushort An unsigned 16-bit integer
uint An unsigned 32-bit integer
ulong An unsigned 64-bit integer

Composite data types

ClassSummary
array A sequence of values of a single type
list A sequence of values of variable type
map A mapping from distinct keys to values

Semantic data types

ClassSummary
symbol A 7-bit ASCII string from a constrained domain
timestamp An absolute point in time
uuid A universally unique identifier
message-id A message identifier

Decimal floating-point data types

Related: Decimal floating point arithmetic

ClassSummary
decimal32 A 32-bit decimal floating point number
decimal64 A 64-bit decimal floating point number
decimal128 A 128-bit decimal floating point number

API data types

Data types used by this API but not defined by AMQP.

ClassSummary
duration A span of time
iterator A traversal of a collection
object The most basic type
function A user-supplied function
future A value that will be available later
task An item of work for asynchronous scheduling