# 6.1.24 ENUMERATION

Part of: [6 Language](6-language.md) › [6.1 Data Types](6-1-data-types.md)

The HDFql ENUMERATION data type is composed of one or more members that store values between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 and occupies 1, 2, 4, or 8 bytes in memory (depending on the range of values stored). It represents the data type of an HDF5 H5T_ENUM dataset/attribute or of a result set that stores elements of this type (which can be retrieved using the [HDFQL_CURSOR_GET_TINYINT](5-2-30-hdfql-cursor-get-tinyint.md), [HDFQL_CURSOR_GET_SMALLINT](5-2-34-hdfql-cursor-get-smallint.md), [HDFQL_CURSOR_GET_INT](5-2-38-hdfql-cursor-get-int.md), or [HDFQL_CURSOR_GET_BIGINT](5-2-42-hdfql-cursor-get-bigint.md) functions when working with cursors). Depending on the programming language supported by HDFql, the ENUMERATION data type is represented by:

- In C, the “char”, “short”, “int”, or “long long” data type.
- In C++, the “char”, “short”, “int”, or “long long” data type.
- In Java, the “byte”, “short”, “int”, or “long” data type (or corresponding wrapper class “Byte”, “Short”, “Integer”, or “Long”).
- In Python, the “int8”, “int16”, “int32”, or “int64” NumPy data type.
- In C#, the “SByte”, “Int16”, “Int32”, or “Int64” data type (or corresponding alias “sbyte”, “short”, “int”, or “long”).
- In Fortran, the “INTEGER(KIND = 1)”, “INTEGER(KIND = 2)”, “INTEGER(KIND = 4)”, “INTEGER”, or “INTEGER(KIND = 8)” data type.
- In R, the “integer” or “integer64” bit64 data type.
- In MATLAB, the “int8”, “int16”, “int32”, or “int64” data type.
