MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / delete_fragments

Method delete_fragments

tiledb/sm/cpp_api/array.h:363–370  ·  view source on GitHub ↗

* Deletes the fragments written between the input timestamps of an array * with the input uri. * * @param ctx TileDB context * @param uri The URI of the fragments' parent Array. * @param timestamp_start The epoch start timestamp in milliseconds. * @param timestamp_end The epoch end timestamp in milliseconds. Use * UINT64_MAX for the current timestamp. */

Source from the content-addressed store, hash-verified

361 * UINT64_MAX for the current timestamp.
362 */
363 static void delete_fragments(
364 const Context& ctx,
365 const std::string& uri,
366 uint64_t timestamp_start,
367 uint64_t timestamp_end) {
368 ctx.handle_error(tiledb_array_delete_fragments_v2(
369 ctx.ptr().get(), uri.c_str(), timestamp_start, timestamp_end));
370 }
371
372 /**
373 * Deletes the fragments with the input uris on an array with the input uri.

Calls 5

handle_errorMethod · 0.80
c_strMethod · 0.80
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected