mirror of
https://github.com/microsoft/HybridRow.git
synced 2025-06-07 17:00:05 +01:00
Release roll-up snapshot of C#/C++ codebase at version 1.1.0-preview. This release matches the current shipping nugets.
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
// HybridRow RecordIO Schema
|
|
{
|
|
"name": "Microsoft.Azure.Cosmos.HybridRow.RecordIO",
|
|
"version": "v1",
|
|
"schemas": [
|
|
{
|
|
"name": "EmptySchema",
|
|
"id": 2147473650,
|
|
"type": "schema",
|
|
"properties": []
|
|
},
|
|
{
|
|
"name": "Segment",
|
|
"id": 2147473648,
|
|
"type": "schema",
|
|
"properties": [
|
|
{
|
|
"path": "length",
|
|
"type": { "type": "int32", "storage": "fixed" },
|
|
"comment":
|
|
"(Required) length (in bytes) of this RecordIO segment header itself. Does NOT include the length of the records that follow."
|
|
},
|
|
{
|
|
"path": "comment",
|
|
"type": { "type": "utf8", "storage": "sparse" },
|
|
"comment": "A comment describing the data in this RecordIO segment."
|
|
},
|
|
{
|
|
// TODO: this should be converted to a HybridRow UDT instead.
|
|
"path": "sdl",
|
|
"type": { "type": "utf8", "storage": "sparse" },
|
|
"comment": "A HybridRow Schema in SDL (json-format)."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Record",
|
|
"id": 2147473649,
|
|
"type": "schema",
|
|
"properties": [
|
|
{
|
|
"path": "length",
|
|
"type": { "type": "int32", "storage": "fixed", "nullable": false },
|
|
"comment": "(Required) length (in bytes) of the HybridRow value that follows this record header."
|
|
},
|
|
{
|
|
"path": "crc32",
|
|
"type": { "type": "uint32", "storage": "fixed", "nullable": false },
|
|
"comment": "(Optional) CRC-32 as described in ISO 3309."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|