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

Class TemporalPolicy

tiledb/sm/cpp_api/array.h:82–115  ·  view source on GitHub ↗

* Class representing a TileDB temporal policy object. * * @details * A TemporalPolicy object dictates the timestamp usage with which an Array is * opened. TimeTravel represents opening at a single point in time, while * TimestampStartEnd will open between the two specified times. * Note that this class was created specifically to maintain timestamps for the * Array class, but its semantics

Source from the content-addressed store, hash-verified

80 * @endcode
81 */
82class TemporalPolicy {
83 /**
84 * Make available the internals of TemporalPolicy to Array.
85 */
86 friend class Array;
87
88 public:
89 TemporalPolicy()
90 : timestamp_start_(0)
91 , timestamp_end_(UINT64_MAX) {};
92
93 TemporalPolicy(const TimeTravelMarker&, uint64_t timestamp)
94 : timestamp_start_(0)
95 , timestamp_end_(timestamp) {};
96
97 TemporalPolicy(
98 const TimestampStartEndMarker&,
99 uint64_t timestamp_start,
100 uint64_t timestamp_end)
101 : timestamp_start_(timestamp_start)
102 , timestamp_end_(timestamp_end) {};
103
104 private:
105 inline uint64_t timestamp_start() const {
106 return timestamp_start_;
107 }
108
109 inline uint64_t timestamp_end() const {
110 return timestamp_end_;
111 }
112
113 const uint64_t timestamp_start_;
114 const uint64_t timestamp_end_;
115};
116
117/** Marker class to enforce an AES_256_GCM encryption type. */
118class AESGCMEncryptionTypeMarker {};

Callers 15

read_with_time_travelFunction · 0.85
write_sparseMethod · 0.85
write_sparseMethod · 0.85
write_denseMethod · 0.85
write_dense_stringMethod · 0.85
write_sparseMethod · 0.85
write_sparse_dimsMethod · 0.85
write_sparseMethod · 0.85
read_sparseMethod · 0.85
write_sparseMethod · 0.85

Calls

no outgoing calls

Tested by 5

write_sparseMethod · 0.68
write_sparseMethod · 0.68
write_denseMethod · 0.68
write_dense_stringMethod · 0.68
write_sparseMethod · 0.68