space-data-module-sdk 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,10 @@
1
1
  const deliverMode = Object.freeze({ "Inline": 0, "Ref": 1 });
2
- const configEntryKind = Object.freeze({ "String": 0, "Number": 1, "Bool": 2 });
3
2
  const reconcileKind = Object.freeze({ "Duplicates": 0, "None": 1, "Current": 2 });
4
- const sqlValueKind = Object.freeze({ "Null": 0, "Bool": 1, "I64": 2, "F64": 3, "Str": 4 });
5
3
  const sandboxWant = Object.freeze({ "Stream": 0, "Rows": 1, "Auto": 2 });
6
4
  const cryptoAlgorithm = Object.freeze({ "Default": 0, "Ed25519": 1, "Secp256k1": 2, "Secp256k1Digest": 3, "X25519": 4, "Sha256": 5, "Sha512": 6, "Aes256Gcm": 7, "HkdfSha256": 8 });
7
5
  export {
8
- configEntryKind,
9
6
  cryptoAlgorithm,
10
7
  deliverMode,
11
8
  reconcileKind,
12
- sandboxWant,
13
- sqlValueKind
9
+ sandboxWant
14
10
  };
@@ -1,7 +1,5 @@
1
1
  // generated by scripts/generate-runtime-bindings.mjs from HostOps.fbs
2
2
  export const deliverMode = Object.freeze({"Inline":0,"Ref":1});
3
- export const configEntryKind = Object.freeze({"String":0,"Number":1,"Bool":2});
4
3
  export const reconcileKind = Object.freeze({"Duplicates":0,"None":1,"Current":2});
5
- export const sqlValueKind = Object.freeze({"Null":0,"Bool":1,"I64":2,"F64":3,"Str":4});
6
4
  export const sandboxWant = Object.freeze({"Stream":0,"Rows":1,"Auto":2});
7
5
  export const cryptoAlgorithm = Object.freeze({"Default":0,"Ed25519":1,"Secp256k1":2,"Secp256k1Digest":3,"X25519":4,"Sha256":5,"Sha512":6,"Aes256Gcm":7,"HkdfSha256":8});
@@ -64,26 +64,12 @@ enum deliverMode : uint8_t {
64
64
  deliverMode_Ref = 1,
65
65
  };
66
66
 
67
- enum configEntryKind : uint8_t {
68
- configEntryKind_String = 0,
69
- configEntryKind_Number = 1,
70
- configEntryKind_Bool = 2,
71
- };
72
-
73
67
  enum reconcileKind : uint8_t {
74
68
  reconcileKind_Duplicates = 0,
75
69
  reconcileKind_None = 1,
76
70
  reconcileKind_Current = 2,
77
71
  };
78
72
 
79
- enum sqlValueKind : uint8_t {
80
- sqlValueKind_Null = 0,
81
- sqlValueKind_Bool = 1,
82
- sqlValueKind_I64 = 2,
83
- sqlValueKind_F64 = 3,
84
- sqlValueKind_Str = 4,
85
- };
86
-
87
73
  enum sandboxWant : uint8_t {
88
74
  sandboxWant_Stream = 0,
89
75
  sandboxWant_Rows = 1,
@@ -348,56 +334,6 @@ namespace sdn {
348
334
  namespace runtime {
349
335
  namespace Aligned {
350
336
 
351
- struct ConfigEntry {
352
- uint8_t __presence[1];
353
- ::flatbuffers::aligned_runtime::AlignedString<255> KEY;
354
- configEntryKind KIND;
355
- ::flatbuffers::aligned_runtime::AlignedString<255> STRING_VALUE;
356
- double NUMBER_VALUE;
357
- bool BOOL_VALUE;
358
-
359
- bool has_KEY() const {
360
- return (__presence[0] & 1) != 0;
361
- }
362
- void set_has_KEY(bool value) {
363
- if (value) __presence[0] |= 1;
364
- else __presence[0] &= ~1;
365
- }
366
- bool has_STRING_VALUE() const {
367
- return (__presence[0] & 2) != 0;
368
- }
369
- void set_has_STRING_VALUE(bool value) {
370
- if (value) __presence[0] |= 2;
371
- else __presence[0] &= ~2;
372
- }
373
-
374
- static ConfigEntry* fromBytes(void* data) {
375
- return reinterpret_cast<ConfigEntry*>(data);
376
- }
377
- static const ConfigEntry* fromBytes(const void* data) {
378
- return reinterpret_cast<const ConfigEntry*>(data);
379
- }
380
- void copyTo(void* dest) const { std::memcpy(dest, this, 536); }
381
- void copyFrom(const ConfigEntry& src) { std::memcpy(this, &src, 536); }
382
- };
383
- static_assert(sizeof(ConfigEntry) == 536, "ConfigEntry size mismatch");
384
- static_assert(alignof(ConfigEntry) == 8, "ConfigEntry alignment mismatch");
385
- static_assert(offsetof(ConfigEntry, KEY) == 1, "ConfigEntry.KEY offset mismatch");
386
- static_assert(offsetof(ConfigEntry, KIND) == 257, "ConfigEntry.KIND offset mismatch");
387
- static_assert(offsetof(ConfigEntry, STRING_VALUE) == 258, "ConfigEntry.STRING_VALUE offset mismatch");
388
- static_assert(offsetof(ConfigEntry, NUMBER_VALUE) == 520, "ConfigEntry.NUMBER_VALUE offset mismatch");
389
- static_assert(offsetof(ConfigEntry, BOOL_VALUE) == 528, "ConfigEntry.BOOL_VALUE offset mismatch");
390
- constexpr size_t ConfigEntry_SIZE = 536;
391
- constexpr size_t ConfigEntry_ALIGN = 8;
392
-
393
- } // namespace Aligned
394
- } // namespace runtime
395
- } // namespace sdn
396
-
397
- namespace sdn {
398
- namespace runtime {
399
- namespace Aligned {
400
-
401
337
  struct HttpParams {
402
338
  uint8_t __presence[1];
403
339
  ::flatbuffers::aligned_runtime::AlignedString<16> METHOD;
@@ -537,7 +473,7 @@ struct StoredRecordMeta {
537
473
  ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE_NAME;
538
474
  ::flatbuffers::aligned_runtime::AlignedString<128> BATCH_ID;
539
475
  ::flatbuffers::aligned_runtime::AlignedString<128> PRODUCER_PEER_ID;
540
- ::flatbuffers::aligned_runtime::AlignedString<64> LICENSE;
476
+ ::flatbuffers::aligned_runtime::AlignedString<128> LICENSE;
541
477
 
542
478
  bool has_CID() const {
543
479
  return (__presence[0] & 1) != 0;
@@ -595,10 +531,10 @@ struct StoredRecordMeta {
595
531
  static const StoredRecordMeta* fromBytes(const void* data) {
596
532
  return reinterpret_cast<const StoredRecordMeta*>(data);
597
533
  }
598
- void copyTo(void* dest) const { std::memcpy(dest, this, 888); }
599
- void copyFrom(const StoredRecordMeta& src) { std::memcpy(this, &src, 888); }
534
+ void copyTo(void* dest) const { std::memcpy(dest, this, 952); }
535
+ void copyFrom(const StoredRecordMeta& src) { std::memcpy(this, &src, 952); }
600
536
  };
601
- static_assert(sizeof(StoredRecordMeta) == 888, "StoredRecordMeta size mismatch");
537
+ static_assert(sizeof(StoredRecordMeta) == 952, "StoredRecordMeta size mismatch");
602
538
  static_assert(alignof(StoredRecordMeta) == 8, "StoredRecordMeta alignment mismatch");
603
539
  static_assert(offsetof(StoredRecordMeta, CID) == 1, "StoredRecordMeta.CID offset mismatch");
604
540
  static_assert(offsetof(StoredRecordMeta, ROW_ID) == 136, "StoredRecordMeta.ROW_ID offset mismatch");
@@ -611,7 +547,7 @@ static_assert(offsetof(StoredRecordMeta, SOURCE_NAME) == 429, "StoredRecordMeta.
611
547
  static_assert(offsetof(StoredRecordMeta, BATCH_ID) == 558, "StoredRecordMeta.BATCH_ID offset mismatch");
612
548
  static_assert(offsetof(StoredRecordMeta, PRODUCER_PEER_ID) == 687, "StoredRecordMeta.PRODUCER_PEER_ID offset mismatch");
613
549
  static_assert(offsetof(StoredRecordMeta, LICENSE) == 816, "StoredRecordMeta.LICENSE offset mismatch");
614
- constexpr size_t StoredRecordMeta_SIZE = 888;
550
+ constexpr size_t StoredRecordMeta_SIZE = 952;
615
551
  constexpr size_t StoredRecordMeta_ALIGN = 8;
616
552
 
617
553
  } // namespace Aligned
@@ -833,9 +769,9 @@ struct StorageIngestParams {
833
769
  ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE_NAME;
834
770
  ::flatbuffers::aligned_runtime::AlignedString<128> BATCH_ID;
835
771
  ::flatbuffers::aligned_runtime::AlignedString<255> SOURCE_URL;
836
- ::flatbuffers::aligned_runtime::AlignedString<64> CONTENT_KEY_ID;
772
+ ::flatbuffers::aligned_runtime::AlignedString<128> CONTENT_KEY_ID;
837
773
  ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE_PEER;
838
- ::flatbuffers::aligned_runtime::AlignedString<64> LICENSE;
774
+ ::flatbuffers::aligned_runtime::AlignedString<128> LICENSE;
839
775
  ::flatbuffers::aligned_runtime::AlignedString<255> LICENSE_URL;
840
776
  ::flatbuffers::aligned_runtime::AlignedString<255> CITATION;
841
777
  bool SHARE_ALIKE;
@@ -934,10 +870,10 @@ struct StorageIngestParams {
934
870
  static const StorageIngestParams* fromBytes(const void* data) {
935
871
  return reinterpret_cast<const StorageIngestParams*>(data);
936
872
  }
937
- void copyTo(void* dest) const { std::memcpy(dest, this, 1868); }
938
- void copyFrom(const StorageIngestParams& src) { std::memcpy(this, &src, 1868); }
873
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1996); }
874
+ void copyFrom(const StorageIngestParams& src) { std::memcpy(this, &src, 1996); }
939
875
  };
940
- static_assert(sizeof(StorageIngestParams) == 1868, "StorageIngestParams size mismatch");
876
+ static_assert(sizeof(StorageIngestParams) == 1996, "StorageIngestParams size mismatch");
941
877
  static_assert(alignof(StorageIngestParams) == 1, "StorageIngestParams alignment mismatch");
942
878
  static_assert(offsetof(StorageIngestParams, SCHEMA) == 2, "StorageIngestParams.SCHEMA offset mismatch");
943
879
  static_assert(offsetof(StorageIngestParams, PROVIDER_ID) == 67, "StorageIngestParams.PROVIDER_ID offset mismatch");
@@ -945,15 +881,15 @@ static_assert(offsetof(StorageIngestParams, SOURCE_NAME) == 196, "StorageIngestP
945
881
  static_assert(offsetof(StorageIngestParams, BATCH_ID) == 325, "StorageIngestParams.BATCH_ID offset mismatch");
946
882
  static_assert(offsetof(StorageIngestParams, SOURCE_URL) == 454, "StorageIngestParams.SOURCE_URL offset mismatch");
947
883
  static_assert(offsetof(StorageIngestParams, CONTENT_KEY_ID) == 710, "StorageIngestParams.CONTENT_KEY_ID offset mismatch");
948
- static_assert(offsetof(StorageIngestParams, SOURCE_PEER) == 775, "StorageIngestParams.SOURCE_PEER offset mismatch");
949
- static_assert(offsetof(StorageIngestParams, LICENSE) == 904, "StorageIngestParams.LICENSE offset mismatch");
950
- static_assert(offsetof(StorageIngestParams, LICENSE_URL) == 969, "StorageIngestParams.LICENSE_URL offset mismatch");
951
- static_assert(offsetof(StorageIngestParams, CITATION) == 1225, "StorageIngestParams.CITATION offset mismatch");
952
- static_assert(offsetof(StorageIngestParams, SHARE_ALIKE) == 1481, "StorageIngestParams.SHARE_ALIKE offset mismatch");
953
- static_assert(offsetof(StorageIngestParams, RECONCILE) == 1482, "StorageIngestParams.RECONCILE offset mismatch");
954
- static_assert(offsetof(StorageIngestParams, ARCHIVE_SOURCE) == 1483, "StorageIngestParams.ARCHIVE_SOURCE offset mismatch");
955
- static_assert(offsetof(StorageIngestParams, ARCHIVE_NAME) == 1612, "StorageIngestParams.ARCHIVE_NAME offset mismatch");
956
- constexpr size_t StorageIngestParams_SIZE = 1868;
884
+ static_assert(offsetof(StorageIngestParams, SOURCE_PEER) == 839, "StorageIngestParams.SOURCE_PEER offset mismatch");
885
+ static_assert(offsetof(StorageIngestParams, LICENSE) == 968, "StorageIngestParams.LICENSE offset mismatch");
886
+ static_assert(offsetof(StorageIngestParams, LICENSE_URL) == 1097, "StorageIngestParams.LICENSE_URL offset mismatch");
887
+ static_assert(offsetof(StorageIngestParams, CITATION) == 1353, "StorageIngestParams.CITATION offset mismatch");
888
+ static_assert(offsetof(StorageIngestParams, SHARE_ALIKE) == 1609, "StorageIngestParams.SHARE_ALIKE offset mismatch");
889
+ static_assert(offsetof(StorageIngestParams, RECONCILE) == 1610, "StorageIngestParams.RECONCILE offset mismatch");
890
+ static_assert(offsetof(StorageIngestParams, ARCHIVE_SOURCE) == 1611, "StorageIngestParams.ARCHIVE_SOURCE offset mismatch");
891
+ static_assert(offsetof(StorageIngestParams, ARCHIVE_NAME) == 1740, "StorageIngestParams.ARCHIVE_NAME offset mismatch");
892
+ constexpr size_t StorageIngestParams_SIZE = 1996;
957
893
  constexpr size_t StorageIngestParams_ALIGN = 1;
958
894
 
959
895
  } // namespace Aligned
@@ -968,12 +904,12 @@ struct Provenance {
968
904
  uint8_t __presence[1];
969
905
  ::flatbuffers::aligned_runtime::AlignedString<255> SOURCE_URL;
970
906
  int32_t HTTP_STATUS;
971
- ::flatbuffers::aligned_runtime::AlignedString<128> ETAG;
907
+ ::flatbuffers::aligned_runtime::AlignedString<255> ETAG;
972
908
  ::flatbuffers::aligned_runtime::AlignedString<64> LAST_MODIFIED;
973
909
  ::flatbuffers::aligned_runtime::AlignedString<128> CONTENT_TYPE;
974
910
  uint64_t RETRIEVED_MS;
975
- ::flatbuffers::aligned_runtime::AlignedString<64> PARSER;
976
- ::flatbuffers::aligned_runtime::AlignedString<32> PARSER_VERSION;
911
+ ::flatbuffers::aligned_runtime::AlignedString<128> PARSER;
912
+ ::flatbuffers::aligned_runtime::AlignedString<64> PARSER_VERSION;
977
913
  ::flatbuffers::aligned_runtime::AlignedString<64> SOURCE_SHA256;
978
914
  ::flatbuffers::aligned_runtime::AlignedString<64> NORMALIZED_SHA256;
979
915
  uint64_t NORMALIZED_COUNT;
@@ -1042,24 +978,24 @@ struct Provenance {
1042
978
  static const Provenance* fromBytes(const void* data) {
1043
979
  return reinterpret_cast<const Provenance*>(data);
1044
980
  }
1045
- void copyTo(void* dest) const { std::memcpy(dest, this, 848); }
1046
- void copyFrom(const Provenance& src) { std::memcpy(this, &src, 848); }
981
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1072); }
982
+ void copyFrom(const Provenance& src) { std::memcpy(this, &src, 1072); }
1047
983
  };
1048
- static_assert(sizeof(Provenance) == 848, "Provenance size mismatch");
984
+ static_assert(sizeof(Provenance) == 1072, "Provenance size mismatch");
1049
985
  static_assert(alignof(Provenance) == 8, "Provenance alignment mismatch");
1050
986
  static_assert(offsetof(Provenance, SOURCE_URL) == 1, "Provenance.SOURCE_URL offset mismatch");
1051
987
  static_assert(offsetof(Provenance, HTTP_STATUS) == 260, "Provenance.HTTP_STATUS offset mismatch");
1052
988
  static_assert(offsetof(Provenance, ETAG) == 264, "Provenance.ETAG offset mismatch");
1053
- static_assert(offsetof(Provenance, LAST_MODIFIED) == 393, "Provenance.LAST_MODIFIED offset mismatch");
1054
- static_assert(offsetof(Provenance, CONTENT_TYPE) == 458, "Provenance.CONTENT_TYPE offset mismatch");
1055
- static_assert(offsetof(Provenance, RETRIEVED_MS) == 592, "Provenance.RETRIEVED_MS offset mismatch");
1056
- static_assert(offsetof(Provenance, PARSER) == 600, "Provenance.PARSER offset mismatch");
1057
- static_assert(offsetof(Provenance, PARSER_VERSION) == 665, "Provenance.PARSER_VERSION offset mismatch");
1058
- static_assert(offsetof(Provenance, SOURCE_SHA256) == 698, "Provenance.SOURCE_SHA256 offset mismatch");
1059
- static_assert(offsetof(Provenance, NORMALIZED_SHA256) == 763, "Provenance.NORMALIZED_SHA256 offset mismatch");
1060
- static_assert(offsetof(Provenance, NORMALIZED_COUNT) == 832, "Provenance.NORMALIZED_COUNT offset mismatch");
1061
- static_assert(offsetof(Provenance, FROM_CACHE) == 840, "Provenance.FROM_CACHE offset mismatch");
1062
- constexpr size_t Provenance_SIZE = 848;
989
+ static_assert(offsetof(Provenance, LAST_MODIFIED) == 520, "Provenance.LAST_MODIFIED offset mismatch");
990
+ static_assert(offsetof(Provenance, CONTENT_TYPE) == 585, "Provenance.CONTENT_TYPE offset mismatch");
991
+ static_assert(offsetof(Provenance, RETRIEVED_MS) == 720, "Provenance.RETRIEVED_MS offset mismatch");
992
+ static_assert(offsetof(Provenance, PARSER) == 728, "Provenance.PARSER offset mismatch");
993
+ static_assert(offsetof(Provenance, PARSER_VERSION) == 857, "Provenance.PARSER_VERSION offset mismatch");
994
+ static_assert(offsetof(Provenance, SOURCE_SHA256) == 922, "Provenance.SOURCE_SHA256 offset mismatch");
995
+ static_assert(offsetof(Provenance, NORMALIZED_SHA256) == 987, "Provenance.NORMALIZED_SHA256 offset mismatch");
996
+ static_assert(offsetof(Provenance, NORMALIZED_COUNT) == 1056, "Provenance.NORMALIZED_COUNT offset mismatch");
997
+ static_assert(offsetof(Provenance, FROM_CACHE) == 1064, "Provenance.FROM_CACHE offset mismatch");
998
+ constexpr size_t Provenance_SIZE = 1072;
1063
999
  constexpr size_t Provenance_ALIGN = 8;
1064
1000
 
1065
1001
  } // namespace Aligned
@@ -1070,6 +1006,50 @@ namespace sdn {
1070
1006
  namespace runtime {
1071
1007
  namespace Aligned {
1072
1008
 
1009
+ struct ProvenanceAttribute {
1010
+ uint8_t __presence[1];
1011
+ ::flatbuffers::aligned_runtime::AlignedString<128> NAME;
1012
+ ::flatbuffers::aligned_runtime::AlignedString<255> VALUE;
1013
+
1014
+ bool has_NAME() const {
1015
+ return (__presence[0] & 1) != 0;
1016
+ }
1017
+ void set_has_NAME(bool value) {
1018
+ if (value) __presence[0] |= 1;
1019
+ else __presence[0] &= ~1;
1020
+ }
1021
+ bool has_VALUE() const {
1022
+ return (__presence[0] & 2) != 0;
1023
+ }
1024
+ void set_has_VALUE(bool value) {
1025
+ if (value) __presence[0] |= 2;
1026
+ else __presence[0] &= ~2;
1027
+ }
1028
+
1029
+ static ProvenanceAttribute* fromBytes(void* data) {
1030
+ return reinterpret_cast<ProvenanceAttribute*>(data);
1031
+ }
1032
+ static const ProvenanceAttribute* fromBytes(const void* data) {
1033
+ return reinterpret_cast<const ProvenanceAttribute*>(data);
1034
+ }
1035
+ void copyTo(void* dest) const { std::memcpy(dest, this, 386); }
1036
+ void copyFrom(const ProvenanceAttribute& src) { std::memcpy(this, &src, 386); }
1037
+ };
1038
+ static_assert(sizeof(ProvenanceAttribute) == 386, "ProvenanceAttribute size mismatch");
1039
+ static_assert(alignof(ProvenanceAttribute) == 1, "ProvenanceAttribute alignment mismatch");
1040
+ static_assert(offsetof(ProvenanceAttribute, NAME) == 1, "ProvenanceAttribute.NAME offset mismatch");
1041
+ static_assert(offsetof(ProvenanceAttribute, VALUE) == 130, "ProvenanceAttribute.VALUE offset mismatch");
1042
+ constexpr size_t ProvenanceAttribute_SIZE = 386;
1043
+ constexpr size_t ProvenanceAttribute_ALIGN = 1;
1044
+
1045
+ } // namespace Aligned
1046
+ } // namespace runtime
1047
+ } // namespace sdn
1048
+
1049
+ namespace sdn {
1050
+ namespace runtime {
1051
+ namespace Aligned {
1052
+
1073
1053
  struct StorageIngestResult {
1074
1054
  uint8_t __presence[1];
1075
1055
  ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
@@ -1138,49 +1118,6 @@ namespace sdn {
1138
1118
  namespace runtime {
1139
1119
  namespace Aligned {
1140
1120
 
1141
- struct SqlValue {
1142
- uint8_t __presence[1];
1143
- sqlValueKind KIND;
1144
- bool BOOL_VALUE;
1145
- int64_t I64_VALUE;
1146
- double F64_VALUE;
1147
- ::flatbuffers::aligned_runtime::AlignedString<255> STR_VALUE;
1148
-
1149
- bool has_STR_VALUE() const {
1150
- return (__presence[0] & 1) != 0;
1151
- }
1152
- void set_has_STR_VALUE(bool value) {
1153
- if (value) __presence[0] |= 1;
1154
- else __presence[0] &= ~1;
1155
- }
1156
-
1157
- static SqlValue* fromBytes(void* data) {
1158
- return reinterpret_cast<SqlValue*>(data);
1159
- }
1160
- static const SqlValue* fromBytes(const void* data) {
1161
- return reinterpret_cast<const SqlValue*>(data);
1162
- }
1163
- void copyTo(void* dest) const { std::memcpy(dest, this, 280); }
1164
- void copyFrom(const SqlValue& src) { std::memcpy(this, &src, 280); }
1165
- };
1166
- static_assert(sizeof(SqlValue) == 280, "SqlValue size mismatch");
1167
- static_assert(alignof(SqlValue) == 8, "SqlValue alignment mismatch");
1168
- static_assert(offsetof(SqlValue, KIND) == 1, "SqlValue.KIND offset mismatch");
1169
- static_assert(offsetof(SqlValue, BOOL_VALUE) == 2, "SqlValue.BOOL_VALUE offset mismatch");
1170
- static_assert(offsetof(SqlValue, I64_VALUE) == 8, "SqlValue.I64_VALUE offset mismatch");
1171
- static_assert(offsetof(SqlValue, F64_VALUE) == 16, "SqlValue.F64_VALUE offset mismatch");
1172
- static_assert(offsetof(SqlValue, STR_VALUE) == 24, "SqlValue.STR_VALUE offset mismatch");
1173
- constexpr size_t SqlValue_SIZE = 280;
1174
- constexpr size_t SqlValue_ALIGN = 8;
1175
-
1176
- } // namespace Aligned
1177
- } // namespace runtime
1178
- } // namespace sdn
1179
-
1180
- namespace sdn {
1181
- namespace runtime {
1182
- namespace Aligned {
1183
-
1184
1121
  struct SqlStreamParams {
1185
1122
  deliverMode DELIVER;
1186
1123
 
@@ -2337,7 +2274,7 @@ struct P2pPnmEntry {
2337
2274
  ::flatbuffers::aligned_runtime::AlignedString<128> GOSSIP_PEER_ID;
2338
2275
  ::flatbuffers::aligned_runtime::AlignedString<16> STANDARD;
2339
2276
  ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
2340
- ::flatbuffers::aligned_runtime::AlignedString<16> FILE_ID;
2277
+ ::flatbuffers::aligned_runtime::AlignedString<255> FILE_ID;
2341
2278
  ::flatbuffers::aligned_runtime::AlignedString<255> FILE_NAME;
2342
2279
  ::flatbuffers::aligned_runtime::AlignedString<128> CID;
2343
2280
  uint64_t PUBLISH_MS;
@@ -2447,10 +2384,10 @@ struct P2pPnmEntry {
2447
2384
  static const P2pPnmEntry* fromBytes(const void* data) {
2448
2385
  return reinterpret_cast<const P2pPnmEntry*>(data);
2449
2386
  }
2450
- void copyTo(void* dest) const { std::memcpy(dest, this, 1400); }
2451
- void copyFrom(const P2pPnmEntry& src) { std::memcpy(this, &src, 1400); }
2387
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1632); }
2388
+ void copyFrom(const P2pPnmEntry& src) { std::memcpy(this, &src, 1632); }
2452
2389
  };
2453
- static_assert(sizeof(P2pPnmEntry) == 1400, "P2pPnmEntry size mismatch");
2390
+ static_assert(sizeof(P2pPnmEntry) == 1632, "P2pPnmEntry size mismatch");
2454
2391
  static_assert(alignof(P2pPnmEntry) == 8, "P2pPnmEntry alignment mismatch");
2455
2392
  static_assert(offsetof(P2pPnmEntry, PEER_ID) == 2, "P2pPnmEntry.PEER_ID offset mismatch");
2456
2393
  static_assert(offsetof(P2pPnmEntry, PUBLISHER_PEER_ID) == 131, "P2pPnmEntry.PUBLISHER_PEER_ID offset mismatch");
@@ -2458,17 +2395,17 @@ static_assert(offsetof(P2pPnmEntry, GOSSIP_PEER_ID) == 260, "P2pPnmEntry.GOSSIP_
2458
2395
  static_assert(offsetof(P2pPnmEntry, STANDARD) == 389, "P2pPnmEntry.STANDARD offset mismatch");
2459
2396
  static_assert(offsetof(P2pPnmEntry, SCHEMA) == 406, "P2pPnmEntry.SCHEMA offset mismatch");
2460
2397
  static_assert(offsetof(P2pPnmEntry, FILE_ID) == 471, "P2pPnmEntry.FILE_ID offset mismatch");
2461
- static_assert(offsetof(P2pPnmEntry, FILE_NAME) == 488, "P2pPnmEntry.FILE_NAME offset mismatch");
2462
- static_assert(offsetof(P2pPnmEntry, CID) == 744, "P2pPnmEntry.CID offset mismatch");
2463
- static_assert(offsetof(P2pPnmEntry, PUBLISH_MS) == 880, "P2pPnmEntry.PUBLISH_MS offset mismatch");
2464
- static_assert(offsetof(P2pPnmEntry, SIGNATURE_TYPE) == 888, "P2pPnmEntry.SIGNATURE_TYPE offset mismatch");
2465
- static_assert(offsetof(P2pPnmEntry, SIGNATURE_HEX) == 921, "P2pPnmEntry.SIGNATURE_HEX offset mismatch");
2466
- static_assert(offsetof(P2pPnmEntry, SIGNATURE_VERIFIED) == 1177, "P2pPnmEntry.SIGNATURE_VERIFIED offset mismatch");
2467
- static_assert(offsetof(P2pPnmEntry, ATTRIBUTION) == 1178, "P2pPnmEntry.ATTRIBUTION offset mismatch");
2468
- static_assert(offsetof(P2pPnmEntry, PNM_INDEX) == 1196, "P2pPnmEntry.PNM_INDEX offset mismatch");
2469
- static_assert(offsetof(P2pPnmEntry, PUBLISHER_KEY_HEX) == 1200, "P2pPnmEntry.PUBLISHER_KEY_HEX offset mismatch");
2470
- static_assert(offsetof(P2pPnmEntry, PUBLISHER_KEY_SOURCE) == 1329, "P2pPnmEntry.PUBLISHER_KEY_SOURCE offset mismatch");
2471
- constexpr size_t P2pPnmEntry_SIZE = 1400;
2398
+ static_assert(offsetof(P2pPnmEntry, FILE_NAME) == 727, "P2pPnmEntry.FILE_NAME offset mismatch");
2399
+ static_assert(offsetof(P2pPnmEntry, CID) == 983, "P2pPnmEntry.CID offset mismatch");
2400
+ static_assert(offsetof(P2pPnmEntry, PUBLISH_MS) == 1112, "P2pPnmEntry.PUBLISH_MS offset mismatch");
2401
+ static_assert(offsetof(P2pPnmEntry, SIGNATURE_TYPE) == 1120, "P2pPnmEntry.SIGNATURE_TYPE offset mismatch");
2402
+ static_assert(offsetof(P2pPnmEntry, SIGNATURE_HEX) == 1153, "P2pPnmEntry.SIGNATURE_HEX offset mismatch");
2403
+ static_assert(offsetof(P2pPnmEntry, SIGNATURE_VERIFIED) == 1409, "P2pPnmEntry.SIGNATURE_VERIFIED offset mismatch");
2404
+ static_assert(offsetof(P2pPnmEntry, ATTRIBUTION) == 1410, "P2pPnmEntry.ATTRIBUTION offset mismatch");
2405
+ static_assert(offsetof(P2pPnmEntry, PNM_INDEX) == 1428, "P2pPnmEntry.PNM_INDEX offset mismatch");
2406
+ static_assert(offsetof(P2pPnmEntry, PUBLISHER_KEY_HEX) == 1432, "P2pPnmEntry.PUBLISHER_KEY_HEX offset mismatch");
2407
+ static_assert(offsetof(P2pPnmEntry, PUBLISHER_KEY_SOURCE) == 1561, "P2pPnmEntry.PUBLISHER_KEY_SOURCE offset mismatch");
2408
+ constexpr size_t P2pPnmEntry_SIZE = 1632;
2472
2409
  constexpr size_t P2pPnmEntry_ALIGN = 8;
2473
2410
 
2474
2411
  } // namespace Aligned
@@ -2489,7 +2426,7 @@ struct P2pLatestDataset {
2489
2426
  ::flatbuffers::aligned_runtime::AlignedString<16> STANDARD;
2490
2427
  ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
2491
2428
  ::flatbuffers::aligned_runtime::AlignedString<128> PNM_CID;
2492
- ::flatbuffers::aligned_runtime::AlignedString<16> PNM_FILE_ID;
2429
+ ::flatbuffers::aligned_runtime::AlignedString<255> PNM_FILE_ID;
2493
2430
  uint64_t PNM_PUBLISH_MS;
2494
2431
  bool PNM_SIGNATURE_VERIFIED;
2495
2432
  ::flatbuffers::aligned_runtime::AlignedString<16> PNM_ATTRIBUTION;
@@ -2587,10 +2524,10 @@ struct P2pLatestDataset {
2587
2524
  static const P2pLatestDataset* fromBytes(const void* data) {
2588
2525
  return reinterpret_cast<const P2pLatestDataset*>(data);
2589
2526
  }
2590
- void copyTo(void* dest) const { std::memcpy(dest, this, 832); }
2591
- void copyFrom(const P2pLatestDataset& src) { std::memcpy(this, &src, 832); }
2527
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1072); }
2528
+ void copyFrom(const P2pLatestDataset& src) { std::memcpy(this, &src, 1072); }
2592
2529
  };
2593
- static_assert(sizeof(P2pLatestDataset) == 832, "P2pLatestDataset size mismatch");
2530
+ static_assert(sizeof(P2pLatestDataset) == 1072, "P2pLatestDataset size mismatch");
2594
2531
  static_assert(alignof(P2pLatestDataset) == 8, "P2pLatestDataset alignment mismatch");
2595
2532
  static_assert(offsetof(P2pLatestDataset, KNOWN) == 2, "P2pLatestDataset.KNOWN offset mismatch");
2596
2533
  static_assert(offsetof(P2pLatestDataset, REASON) == 3, "P2pLatestDataset.REASON offset mismatch");
@@ -2601,19 +2538,19 @@ static_assert(offsetof(P2pLatestDataset, STANDARD) == 71, "P2pLatestDataset.STAN
2601
2538
  static_assert(offsetof(P2pLatestDataset, SCHEMA) == 88, "P2pLatestDataset.SCHEMA offset mismatch");
2602
2539
  static_assert(offsetof(P2pLatestDataset, PNM_CID) == 153, "P2pLatestDataset.PNM_CID offset mismatch");
2603
2540
  static_assert(offsetof(P2pLatestDataset, PNM_FILE_ID) == 282, "P2pLatestDataset.PNM_FILE_ID offset mismatch");
2604
- static_assert(offsetof(P2pLatestDataset, PNM_PUBLISH_MS) == 304, "P2pLatestDataset.PNM_PUBLISH_MS offset mismatch");
2605
- static_assert(offsetof(P2pLatestDataset, PNM_SIGNATURE_VERIFIED) == 312, "P2pLatestDataset.PNM_SIGNATURE_VERIFIED offset mismatch");
2606
- static_assert(offsetof(P2pLatestDataset, PNM_ATTRIBUTION) == 313, "P2pLatestDataset.PNM_ATTRIBUTION offset mismatch");
2607
- static_assert(offsetof(P2pLatestDataset, BATCH_ID) == 330, "P2pLatestDataset.BATCH_ID offset mismatch");
2608
- static_assert(offsetof(P2pLatestDataset, PROVIDER_ID) == 459, "P2pLatestDataset.PROVIDER_ID offset mismatch");
2609
- static_assert(offsetof(P2pLatestDataset, SOURCE_NAME) == 588, "P2pLatestDataset.SOURCE_NAME offset mismatch");
2610
- static_assert(offsetof(P2pLatestDataset, RECORD_COUNT) == 720, "P2pLatestDataset.RECORD_COUNT offset mismatch");
2611
- static_assert(offsetof(P2pLatestDataset, BYTE_COUNT) == 728, "P2pLatestDataset.BYTE_COUNT offset mismatch");
2612
- static_assert(offsetof(P2pLatestDataset, PARTS) == 736, "P2pLatestDataset.PARTS offset mismatch");
2613
- static_assert(offsetof(P2pLatestDataset, PUBLISHED_MS) == 744, "P2pLatestDataset.PUBLISHED_MS offset mismatch");
2614
- static_assert(offsetof(P2pLatestDataset, ETAG_FNV1A64) == 752, "P2pLatestDataset.ETAG_FNV1A64 offset mismatch");
2615
- static_assert(offsetof(P2pLatestDataset, REF) == 776, "P2pLatestDataset.REF offset mismatch");
2616
- constexpr size_t P2pLatestDataset_SIZE = 832;
2541
+ static_assert(offsetof(P2pLatestDataset, PNM_PUBLISH_MS) == 544, "P2pLatestDataset.PNM_PUBLISH_MS offset mismatch");
2542
+ static_assert(offsetof(P2pLatestDataset, PNM_SIGNATURE_VERIFIED) == 552, "P2pLatestDataset.PNM_SIGNATURE_VERIFIED offset mismatch");
2543
+ static_assert(offsetof(P2pLatestDataset, PNM_ATTRIBUTION) == 553, "P2pLatestDataset.PNM_ATTRIBUTION offset mismatch");
2544
+ static_assert(offsetof(P2pLatestDataset, BATCH_ID) == 570, "P2pLatestDataset.BATCH_ID offset mismatch");
2545
+ static_assert(offsetof(P2pLatestDataset, PROVIDER_ID) == 699, "P2pLatestDataset.PROVIDER_ID offset mismatch");
2546
+ static_assert(offsetof(P2pLatestDataset, SOURCE_NAME) == 828, "P2pLatestDataset.SOURCE_NAME offset mismatch");
2547
+ static_assert(offsetof(P2pLatestDataset, RECORD_COUNT) == 960, "P2pLatestDataset.RECORD_COUNT offset mismatch");
2548
+ static_assert(offsetof(P2pLatestDataset, BYTE_COUNT) == 968, "P2pLatestDataset.BYTE_COUNT offset mismatch");
2549
+ static_assert(offsetof(P2pLatestDataset, PARTS) == 976, "P2pLatestDataset.PARTS offset mismatch");
2550
+ static_assert(offsetof(P2pLatestDataset, PUBLISHED_MS) == 984, "P2pLatestDataset.PUBLISHED_MS offset mismatch");
2551
+ static_assert(offsetof(P2pLatestDataset, ETAG_FNV1A64) == 992, "P2pLatestDataset.ETAG_FNV1A64 offset mismatch");
2552
+ static_assert(offsetof(P2pLatestDataset, REF) == 1016, "P2pLatestDataset.REF offset mismatch");
2553
+ constexpr size_t P2pLatestDataset_SIZE = 1072;
2617
2554
  constexpr size_t P2pLatestDataset_ALIGN = 8;
2618
2555
 
2619
2556
  } // namespace Aligned
@@ -165,6 +165,11 @@ struct ProvenanceT : public ::flatbuffers::NativeTable {
165
165
  std::vector<uint64_t> SCHEMA_COUNTS{};
166
166
  std::vector<std::string> WARNINGS{};
167
167
  bool FROM_CACHE = false;
168
+ std::vector<std::unique_ptr<sdn::runtime::HeaderT>> ATTRIBUTES{};
169
+ ProvenanceT() = default;
170
+ ProvenanceT(const ProvenanceT &o);
171
+ ProvenanceT(ProvenanceT&&) FLATBUFFERS_NOEXCEPT = default;
172
+ ProvenanceT &operator=(ProvenanceT o) FLATBUFFERS_NOEXCEPT;
168
173
  };
169
174
 
170
175
  /// How a batch was produced: what was fetched, what came of it.
@@ -186,7 +191,8 @@ struct Provenance FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
186
191
  VT_SCHEMAS = 26,
187
192
  VT_SCHEMA_COUNTS = 28,
188
193
  VT_WARNINGS = 30,
189
- VT_FROM_CACHE = 32
194
+ VT_FROM_CACHE = 32,
195
+ VT_ATTRIBUTES = 34
190
196
  };
191
197
  const ::flatbuffers::String *SOURCE_URL() const {
192
198
  return GetPointer<const ::flatbuffers::String *>(VT_SOURCE_URL);
@@ -237,6 +243,11 @@ struct Provenance FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
237
243
  bool FROM_CACHE() const {
238
244
  return GetField<uint8_t>(VT_FROM_CACHE, 0) != 0;
239
245
  }
246
+ /// Descriptive provenance the parser has no field above for - the method, units, the date range covered, counts
247
+ /// of what was dropped or filled - as name / value pairs, kept in order (a name may repeat). Values are text.
248
+ const ::flatbuffers::Vector<::flatbuffers::Offset<sdn::runtime::Header>> *ATTRIBUTES() const {
249
+ return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<sdn::runtime::Header>> *>(VT_ATTRIBUTES);
250
+ }
240
251
  template <bool B = false>
241
252
  bool Verify(::flatbuffers::VerifierTemplate<B> &verifier) const {
242
253
  return VerifyTableStart(verifier) &&
@@ -268,6 +279,9 @@ struct Provenance FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
268
279
  verifier.VerifyVector(WARNINGS()) &&
269
280
  verifier.VerifyVectorOfStrings(WARNINGS()) &&
270
281
  VerifyField<uint8_t>(verifier, VT_FROM_CACHE, 1) &&
282
+ VerifyOffset(verifier, VT_ATTRIBUTES) &&
283
+ verifier.VerifyVector(ATTRIBUTES()) &&
284
+ verifier.VerifyVectorOfTables(ATTRIBUTES()) &&
271
285
  verifier.EndTable();
272
286
  }
273
287
  ProvenanceT *UnPack(const ::flatbuffers::resolver_function_t *_resolver = nullptr) const;
@@ -324,6 +338,9 @@ struct ProvenanceBuilder {
324
338
  void add_FROM_CACHE(bool FROM_CACHE) {
325
339
  fbb_.AddElement<uint8_t>(Provenance::VT_FROM_CACHE, static_cast<uint8_t>(FROM_CACHE), 0);
326
340
  }
341
+ void add_ATTRIBUTES(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<sdn::runtime::Header>>> ATTRIBUTES) {
342
+ fbb_.AddOffset(Provenance::VT_ATTRIBUTES, ATTRIBUTES);
343
+ }
327
344
  explicit ProvenanceBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
328
345
  : fbb_(_fbb) {
329
346
  start_ = fbb_.StartTable();
@@ -351,10 +368,12 @@ inline ::flatbuffers::Offset<Provenance> CreateProvenance(
351
368
  ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> SCHEMAS = 0,
352
369
  ::flatbuffers::Offset<::flatbuffers::Vector<uint64_t>> SCHEMA_COUNTS = 0,
353
370
  ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> WARNINGS = 0,
354
- bool FROM_CACHE = false) {
371
+ bool FROM_CACHE = false,
372
+ ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<sdn::runtime::Header>>> ATTRIBUTES = 0) {
355
373
  ProvenanceBuilder builder_(_fbb);
356
374
  builder_.add_NORMALIZED_COUNT(NORMALIZED_COUNT);
357
375
  builder_.add_RETRIEVED_MS(RETRIEVED_MS);
376
+ builder_.add_ATTRIBUTES(ATTRIBUTES);
358
377
  builder_.add_WARNINGS(WARNINGS);
359
378
  builder_.add_SCHEMA_COUNTS(SCHEMA_COUNTS);
360
379
  builder_.add_SCHEMAS(SCHEMAS);
@@ -387,7 +406,8 @@ inline ::flatbuffers::Offset<Provenance> CreateProvenanceDirect(
387
406
  const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *SCHEMAS = nullptr,
388
407
  const std::vector<uint64_t> *SCHEMA_COUNTS = nullptr,
389
408
  const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *WARNINGS = nullptr,
390
- bool FROM_CACHE = false) {
409
+ bool FROM_CACHE = false,
410
+ std::vector<::flatbuffers::Offset<sdn::runtime::Header>> *ATTRIBUTES = nullptr) {
391
411
  auto SOURCE_URL__ = SOURCE_URL ? _fbb.CreateString(SOURCE_URL) : 0;
392
412
  auto ETAG__ = ETAG ? _fbb.CreateString(ETAG) : 0;
393
413
  auto LAST_MODIFIED__ = LAST_MODIFIED ? _fbb.CreateString(LAST_MODIFIED) : 0;
@@ -399,6 +419,7 @@ inline ::flatbuffers::Offset<Provenance> CreateProvenanceDirect(
399
419
  auto SCHEMAS__ = SCHEMAS ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*SCHEMAS) : 0;
400
420
  auto SCHEMA_COUNTS__ = SCHEMA_COUNTS ? _fbb.CreateVector<uint64_t>(*SCHEMA_COUNTS) : 0;
401
421
  auto WARNINGS__ = WARNINGS ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*WARNINGS) : 0;
422
+ auto ATTRIBUTES__ = ATTRIBUTES ? _fbb.CreateVectorOfSortedTables<sdn::runtime::Header>(ATTRIBUTES) : 0;
402
423
  return sdn::runtime::CreateProvenance(
403
424
  _fbb,
404
425
  SOURCE_URL__,
@@ -415,7 +436,8 @@ inline ::flatbuffers::Offset<Provenance> CreateProvenanceDirect(
415
436
  SCHEMAS__,
416
437
  SCHEMA_COUNTS__,
417
438
  WARNINGS__,
418
- FROM_CACHE);
439
+ FROM_CACHE,
440
+ ATTRIBUTES__);
419
441
  }
420
442
 
421
443
  ::flatbuffers::Offset<Provenance> CreateProvenance(::flatbuffers::FlatBufferBuilder &_fbb, const ProvenanceT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
@@ -577,6 +599,46 @@ inline ::flatbuffers::Offset<ArchiveTarget> ArchiveTarget::Pack(::flatbuffers::F
577
599
  _NAME);
578
600
  }
579
601
 
602
+ inline ProvenanceT::ProvenanceT(const ProvenanceT &o)
603
+ : SOURCE_URL(o.SOURCE_URL),
604
+ HTTP_STATUS(o.HTTP_STATUS),
605
+ ETAG(o.ETAG),
606
+ LAST_MODIFIED(o.LAST_MODIFIED),
607
+ CONTENT_TYPE(o.CONTENT_TYPE),
608
+ RETRIEVED_MS(o.RETRIEVED_MS),
609
+ PARSER(o.PARSER),
610
+ PARSER_VERSION(o.PARSER_VERSION),
611
+ SOURCE_SHA256(o.SOURCE_SHA256),
612
+ NORMALIZED_SHA256(o.NORMALIZED_SHA256),
613
+ NORMALIZED_COUNT(o.NORMALIZED_COUNT),
614
+ SCHEMAS(o.SCHEMAS),
615
+ SCHEMA_COUNTS(o.SCHEMA_COUNTS),
616
+ WARNINGS(o.WARNINGS),
617
+ FROM_CACHE(o.FROM_CACHE) {
618
+ ATTRIBUTES.reserve(o.ATTRIBUTES.size());
619
+ for (const auto &ATTRIBUTES_ : o.ATTRIBUTES) { ATTRIBUTES.emplace_back((ATTRIBUTES_) ? new sdn::runtime::HeaderT(*ATTRIBUTES_) : nullptr); }
620
+ }
621
+
622
+ inline ProvenanceT &ProvenanceT::operator=(ProvenanceT o) FLATBUFFERS_NOEXCEPT {
623
+ std::swap(SOURCE_URL, o.SOURCE_URL);
624
+ std::swap(HTTP_STATUS, o.HTTP_STATUS);
625
+ std::swap(ETAG, o.ETAG);
626
+ std::swap(LAST_MODIFIED, o.LAST_MODIFIED);
627
+ std::swap(CONTENT_TYPE, o.CONTENT_TYPE);
628
+ std::swap(RETRIEVED_MS, o.RETRIEVED_MS);
629
+ std::swap(PARSER, o.PARSER);
630
+ std::swap(PARSER_VERSION, o.PARSER_VERSION);
631
+ std::swap(SOURCE_SHA256, o.SOURCE_SHA256);
632
+ std::swap(NORMALIZED_SHA256, o.NORMALIZED_SHA256);
633
+ std::swap(NORMALIZED_COUNT, o.NORMALIZED_COUNT);
634
+ std::swap(SCHEMAS, o.SCHEMAS);
635
+ std::swap(SCHEMA_COUNTS, o.SCHEMA_COUNTS);
636
+ std::swap(WARNINGS, o.WARNINGS);
637
+ std::swap(FROM_CACHE, o.FROM_CACHE);
638
+ std::swap(ATTRIBUTES, o.ATTRIBUTES);
639
+ return *this;
640
+ }
641
+
580
642
  inline ProvenanceT *Provenance::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
581
643
  auto _o = std::unique_ptr<ProvenanceT>(new ProvenanceT());
582
644
  UnPackTo(_o.get(), _resolver);
@@ -601,6 +663,7 @@ inline void Provenance::UnPackTo(ProvenanceT *_o, const ::flatbuffers::resolver_
601
663
  { auto _e = SCHEMA_COUNTS(); if (_e) { _o->SCHEMA_COUNTS.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->SCHEMA_COUNTS[_i] = _e->Get(_i); } } else { _o->SCHEMA_COUNTS.resize(0); } }
602
664
  { auto _e = WARNINGS(); if (_e) { _o->WARNINGS.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->WARNINGS[_i] = _e->Get(_i)->str(); } } else { _o->WARNINGS.resize(0); } }
603
665
  { auto _e = FROM_CACHE(); _o->FROM_CACHE = _e; }
666
+ { auto _e = ATTRIBUTES(); if (_e) { _o->ATTRIBUTES.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { if(_o->ATTRIBUTES[_i]) { _e->Get(_i)->UnPackTo(_o->ATTRIBUTES[_i].get(), _resolver); } else { _o->ATTRIBUTES[_i] = std::unique_ptr<sdn::runtime::HeaderT>(_e->Get(_i)->UnPack(_resolver)); } } } else { _o->ATTRIBUTES.resize(0); } }
604
667
  }
605
668
 
606
669
  inline ::flatbuffers::Offset<Provenance> CreateProvenance(::flatbuffers::FlatBufferBuilder &_fbb, const ProvenanceT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) {
@@ -626,6 +689,7 @@ inline ::flatbuffers::Offset<Provenance> Provenance::Pack(::flatbuffers::FlatBuf
626
689
  auto _SCHEMA_COUNTS = _o->SCHEMA_COUNTS.size() ? _fbb.CreateVector(_o->SCHEMA_COUNTS) : 0;
627
690
  auto _WARNINGS = _o->WARNINGS.size() ? _fbb.CreateVectorOfStrings(_o->WARNINGS) : 0;
628
691
  auto _FROM_CACHE = _o->FROM_CACHE;
692
+ auto _ATTRIBUTES = _o->ATTRIBUTES.size() ? _fbb.CreateVector<::flatbuffers::Offset<sdn::runtime::Header>> (_o->ATTRIBUTES.size(), [](size_t i, _VectorArgs *__va) { return sdn::runtime::CreateHeader(*__va->__fbb, __va->__o->ATTRIBUTES[i].get(), __va->__rehasher); }, &_va ) : 0;
629
693
  return sdn::runtime::CreateProvenance(
630
694
  _fbb,
631
695
  _SOURCE_URL,
@@ -642,7 +706,8 @@ inline ::flatbuffers::Offset<Provenance> Provenance::Pack(::flatbuffers::FlatBuf
642
706
  _SCHEMAS,
643
707
  _SCHEMA_COUNTS,
644
708
  _WARNINGS,
645
- _FROM_CACHE);
709
+ _FROM_CACHE,
710
+ _ATTRIBUTES);
646
711
  }
647
712
 
648
713
  inline IngestRequestT::IngestRequestT(const IngestRequestT &o)