A record content schema describes a data item that can represent a collection of records.
A record content schema object is immutable.
- Deprecated:
- Since 6.0. Use PTDiffusionRecordV2 or PTDiffusionJSON.
- Since
- 5.6
|
(instancetype) | + NS_UNAVAILABLE |
|
Returns a record content schema object initialized with the given record metadata array.
- Parameters
-
recordMetadata | The record metadata defining what records are expected as well as what order they should appear in. This array may not be empty. |
- Exceptions
-
NSInvalidArgumentException | If any of the given record metadata is nil or empty. |
- Since
- 5.6
Compares the receiver to the given record content schema.
- Parameters
-
recordContentSchema | The record content schema object with which to compare the receiver. |
- Returns
YES
if the record content schema is equal to the receiver, otherwise NO
.
- Since
- 5.6
The name to give to schema.
The record metadata used to transform records using the receiver. This array may not be empty.
- Since
- 5.6