Primitive types
Structured types are composed of other structured types and primitive types. OData defines the following primitive types:
Type | Meaning |
---|---|
Edm.Binary |
Binary data |
Edm.Boolean |
Binary-valued logic |
Edm.Byte |
Unsigned 8-bit integer |
Edm.Date |
Date without a time-zone offset |
Edm.DateTimeOffset |
Date and time with a time-zone offset, no leap seconds |
Edm.Decimal |
Numeric values with decimal representation |
Edm.Double |
IEEE 754 binary64 floating-point number (15-17 decimal digits) |
Edm.Duration |
Signed duration in days, hours, minutes, and (sub)seconds |
Edm.Guid |
16-byte (128-bit) unique identifier |
Edm.Int16 |
Signed 16-bit integer |
Edm.Int32 |
Signed 32-bit integer |
Edm.Int64 |
Signed 64-bit integer |
Edm.SByte |
Signed 8-bit integer |
Edm.Single |
IEEE 754 binary32 floating-point number (6-9 decimal digits) |
Edm.Stream |
Binary data stream |
Edm.String |
Sequence of characters |
Edm.TimeOfDay |
Clock time 00:00-23:59:59.999999999999 |