* 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. */
| 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. |
no test coverage detected