载入中...
搜索中...
未找到
eve::schema::SchemaCompatibility结构体 参考
The exact compatibility path selected by SchemaRegistry. 更多...
#include <SchemaRegistry.h>
Public 成员函数 | |
| bool | exact () const noexcept |
| Whether source and target are the same exact schema version. | |
Public 属性 | |
| std::string | schemaId |
| int | fromVersion = 0 |
| int | toVersion = 0 |
| std::vector< int > | versions |
详细描述
The exact compatibility path selected by SchemaRegistry.
versions contains both endpoints. An exact match contains one version; a migrated match contains every explicit edge endpoint. No implicit nearest-version or downgrade behavior is represented by this type.
在文件 SchemaRegistry.h 第 24 行定义.
成员函数说明
◆ exact()
|
inlinenoexcept |
Whether source and target are the same exact schema version.
在文件 SchemaRegistry.h 第 31 行定义.
类成员变量说明
◆ fromVersion
| int eve::schema::SchemaCompatibility::fromVersion = 0 |
在文件 SchemaRegistry.h 第 26 行定义.
◆ schemaId
| std::string eve::schema::SchemaCompatibility::schemaId |
在文件 SchemaRegistry.h 第 25 行定义.
◆ toVersion
| int eve::schema::SchemaCompatibility::toVersion = 0 |
在文件 SchemaRegistry.h 第 27 行定义.
◆ versions
| std::vector<int> eve::schema::SchemaCompatibility::versions |
在文件 SchemaRegistry.h 第 28 行定义.
该结构体的文档由以下文件生成:
- src/modules/schema/SchemaRegistry.h