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

Method timestamp_range

tiledb/sm/cpp_api/array_schema.h:445–451  ·  view source on GitHub ↗

* Get timestamp range of schema. * * **Example:** * @code{.cpp} * tiledb::Context ctx; * tiledb::ArraySchema schema(ctx.ptr().get(), TILEDB_SPARSE); * std::pair timestamp_range = schema.timestamp_range(); * @endcode * * @return Timestamp range of this `ArraySchema` instance. */

Source from the content-addressed store, hash-verified

443 * @return Timestamp range of this `ArraySchema` instance.
444 */
445 std::pair<uint64_t, uint64_t> timestamp_range() {
446 auto& ctx = ctx_.get();
447 uint64_t lo, hi;
448 ctx.handle_error(tiledb_array_schema_timestamp_range(
449 ctx.ptr().get(), schema_.get(), &lo, &hi));
450 return {lo, hi};
451 }
452
453 /**
454 * Adds an Attribute to the array.

Callers 4

vacuumMethod · 0.45
consolidate_fragmentsMethod · 0.45
consolidate_internalMethod · 0.45

Calls 4

handle_errorMethod · 0.80
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected