Getting the Written Fragment Info

A write operation can create one or more fragments. You can get information about the written fragments as follows:

// ... create context ctx
// ... create query

// Get the number of written fragments
unsigned int num;
tiledb_query_get_fragment_num(ctx, query, &num);

// Get the fragment URI by index (0 <= idx < num) 
const char* uri;
tiledb_query_get_fragment_uri(ctx, query, idx, &uri); 

// Get the timestamp range by index (0 <= idx < num)
unsigned long long t1, t2;
tiledb_query_get_fragment_timestamp_range(ctx, query, idx, &t1, &t2);

Last updated