9
UMLClass
684
414
207
432
siridb_t -- uuid: uuid_t tz: iso8601_tz_t shard_mask_num: uint16_t shard_mask_log: uint16_t buffer_size: size_t buffer_len: size_t start_ts: uint32_t max_series_id: uint32_t duration_num: uint64_t duration_log: uint64_t dbname: *char dbpath: *char buffer_path: *char time: *siridb_time_t server: *siridb_server_t replica: *siridb_server_t users: *siridb_users_t servers: *siridb_servers_t pools: *siridb_pools_t series: *ct_node_t series_map: *imap64_t shards: *imap64_t buffer_fp: *FILE -- siridb_new(): *siridb_t siridb_free(): void
UMLClass
0
414
207
126
siri_t -- loop: *uv_loop_t grammar: *cleri_grammar_t siridb_list: *siridb_list_t fh: *siri_fh_t -- siri_start(): int siri_free(): void
Relation
198
477
153
36
lt=<<<<<- m1=1 m2=1
10.0;10.0;150.0;10.0
Relation
288
378
99
90
lt=<<<<<- m2=0..* group=1
90.0;40.0;90.0;10.0;10.0;10.0;10.0;70.0;50.0;70.0
UMLClass
333
414
207
108
siridb_list_t -- siridb: *siridb_t next: *siridb_list_t -- siridb_list_new(): *siridb_list_t siridb_list_free(): void siridb_get(): *siridb_t group=1
Relation
531
477
171
36
lt=<<<<<- m1=1 m2=0..*
10.0;10.0;170.0;10.0
UMLClass
0
612
207
126
siri_fh_t -- size: uint16_t idx: uint16_t fpointers: **siri_fp_t -- siri_fh_new(): *siri_fh_t siri_fh_free(): void siri_fopen(): int
UMLClass
0
873
207
99
siri_fp_t -- fp: *FILE ref: uint8_t -- siri_fp_new(): *siri_fp_t siri_fp_decref(): void
Relation
99
531
27
99
lt=<<<<<-> m1=1 m2=1
10.0;10.0;10.0;90.0
Relation
99
729
63
162
lt=<<<<<-> m1=1 m2=0..size
10.0;10.0;10.0;160.0
UMLClass
306
612
261
144
siridb_shard_t -- id: uint64_t tp: uint8_t status: uint8_t fp: *siri_fp_t -- siridb_shard_create(): *siridb_shard_t siridb_shard_load(): int siridb_shard_free(): void
Relation
558
630
144
36
lt=<<<<<- m1=1 m2=0..*
140.0;10.0;10.0;10.0
Relation
198
747
180
180
lt=<<<<- m1=1 m2=1
180.0;10.0;180.0;170.0;10.0;170.0
Relation
198
621
126
36
lt=<- siri_fopen
10.0;20.0;120.0;20.0
UMLClass
1017
414
279
153
siridb_users_t -- user: *siridb_user_t next: *siridb_users_t -- siridb_users_load(): *siridb_users_t siridb_users_free(): void siridb_users_add_user(): int siridb_users_drop_user(): int siridb_users_get_user(): *siridb_user_t siridb_users_save(): int group=2
Relation
972
378
99
90
lt=<<<<<- m2=0..* group=2
90.0;40.0;90.0;10.0;10.0;10.0;10.0;70.0;50.0;70.0
Relation
882
477
153
36
lt=<<<<<- m1=1 m2=1
10.0;10.0;150.0;10.0
UMLClass
1422
414
279
144
siridb_user_t -- username: *char password: *char access_bit: siridb_access_t -- siridb_user_new(): *siridb_user_t siridb_user_free(): void siridb_user_prop(): void siridb_user_set_password(): int siridb_user_check_access(): int
Relation
1287
477
153
36
lt=<<<<<- m1=1 m2=0..*
10.0;10.0;150.0;10.0
UMLClass
1017
621
369
216
siridb_series_t -- id: uint32_t tp: uint8_t mask: uint16_t buffer: *siridb_buffer_t index: *siridb_series_idx_t -- siridb_series_load(): int siridb_series_new(): *siridb_series_t siridb_series_free(): void siridb_series_add_idx_num32(): void siridb_series_add_idx_num64(): void siridb_series_add_point(): void siridb_series_get_points_num32(): *siridb_points_t
Relation
882
648
153
36
lt=<<<<<- m1=1 m2=0..*
10.0;10.0;150.0;10.0
UMLNote
126
765
225
72
both siri_fh_t and siridb_shard_t can hold a reference to siri_fp_t, the last decref will actually destroy the object. bg=light_gray
UMLClass
1017
909
369
99
siridb_series_idx_t -- len: uint32_t has_overlap: uint8_t idx: *void -- Methods are provided by siridb_series_t
Relation
1179
828
27
99
lt=<<<<<- m1=1 m2=1
10.0;10.0;10.0;90.0
UMLClass
1215
1080
279
126
idx_num64_t -- start_ts: uint64_t end_ts: uint64_t shard: *siridb_shard_t pos: uint32_t len: uint16_t -- Methods are provided by siridb_series_t
Relation
1278
999
63
99
lt=<<<<<- m1=1 m2=0..len
10.0;10.0;10.0;90.0
UMLClass
909
1080
279
126
idx_num32_t -- start_ts: uint32_t end_ts: uint32_t shard: *siridb_shard_t pos: uint32_t len: uint16_t -- Methods are provided by siridb_series_t
Relation
1098
999
63
99
lt=<<<<<- m1=1 m2=0..len
10.0;10.0;10.0;90.0
Relation
486
747
639
522
lt=<<<<- m1=1 m2=1
690.0;510.0;690.0;560.0;10.0;560.0;10.0;10.0
Relation
450
747
864
549
lt=<<<<- m1=1 m2=1
940.0;510.0;940.0;590.0;10.0;590.0;10.0;10.0
UMLNote
783
1008
225
63
idx can be used with either idx_num32_t or idx_num64_t, not both.

bg=light_gray
UMLClass
576
180
315
126
siridb_pools_t -- size: uint16_t lookup: *siridb_lookup_t pool: *siridb_pool_t -- siridb_pools_init(): void siridb_pools_free(): void -siridb_pools_gen_lookup(): *siridb_lookup_t
Relation
747
297
27
135
lt=<<<<<- m1=1 m2=1
10.0;130.0;10.0;10.0
UMLClass
576
0
315
99
siridb_pool_t -- size: uint16_t server: *siridb_server_t[2] -- siridb_lookup_sn(): uint16_t siridb_lookup_sn_raw(): uint16_t
Relation
747
90
63
108
lt=<<<<<- m1=1 m2=0..size
10.0;100.0;10.0;10.0