Diffusion Apple API  6.7.4
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Class Methods | List of all members
PTDiffusionDataTypes Class Reference

Introduction

Diffusion data type implementations.

Since
6.0
Inheritance diagram for PTDiffusionDataTypes:

Class Methods

(id< PTDiffusionDataType >) + binary
 
(id< PTDiffusionDataType >) + doubleFloat
 
(id< PTDiffusionDataType >) + int64
 
(id< PTDiffusionDataType >) + json
 
(id< PTDiffusionDataType >) + string
 
(id< PTDiffusionDataType >) + recordV2
 

Method Documentation

+ (id<PTDiffusionDataType>) binary

Data type that supports arbitrary binary data.

See Also
PTDiffusionBinary
Returns
Data type that supports arbitrary binary data.
Since
6.0
+ (id<PTDiffusionDataType>) doubleFloat

Data type that supports double-precision floating point numbers (Eight-byte IEEE 754) presented as NSNumber instances.

The integer value is serialized as CBOR-format binary. A serialized value can be read using the json datatype.

This data type does not support binary deltas but does support nil values.

Returns
Data type that supports double-precision floating point numbers.
See Also
PTDiffusionPrimitive
Since
6.0
+ (id<PTDiffusionDataType>) int64

Data type that supports 64-bit, signed integer values presented as NSNumber instances.

The integer value is serialized as CBOR-format binary. A serialized value can be read using the json datatype.

This data type does not support binary deltas but does support nil values.

Returns
Data type that supports 64-bit, signed integer values.
See Also
PTDiffusionPrimitive
Since
6.0
+ (id<PTDiffusionDataType>) json

Data type that supports JSON "JavaScript Object Notation", a lightweight data-interchange format, serialized as CBOR-format binary.

Returns
Data type that supports JSON values.
See Also
PTDiffusionJSON
Since
6.0
+ (id<PTDiffusionDataType>) recordV2

Data type that supports data in the form of records and fields.

This data type supports binary deltas but does not support nil values.

Returns
Data type that supports data in the form of records and fields.
See Also
PTDiffusionRecordV2
Since
6.0
+ (id<PTDiffusionDataType>) string

Data type that supports string values presented as NSString instances.

The string value is serialized as CBOR-format binary. A serialized value can be read using the json datatype.

This data type supports binary deltas and nil values.

Returns
Data type that supports string values.
See Also
PTDiffusionPrimitive
Since
6.0