29 #include <olp/dataservice/read/DataServiceReadApi.h>
30 #include <olp/dataservice/read/model/VersionDependency.h>
33 namespace dataservice {
48 dependencies_ = std::move(dependencies);
57 std::map<std::string, std::int64_t> partition_counts) {
58 partition_counts_ = std::move(partition_counts);
66 void SetVersion(std::int64_t version) { version_ = version; }
73 void SetTimestamp(std::int64_t timestamp) { timestamp_ = timestamp; }
90 return partition_counts_;
108 std::int64_t version_;
109 std::int64_t timestamp_;
110 std::vector<VersionDependency> dependencies_;
111 std::map<std::string, std::int64_t> partition_counts_;
Represents a version info.
Definition: VersionInfo.h:40
const std::vector< VersionDependency > & GetDependencies() const
Gets the vector of version dependencies.
Definition: VersionInfo.h:80
std::int64_t GetVersion() const
Gets the catalog version.
Definition: VersionInfo.h:98
void SetDependencies(std::vector< VersionDependency > dependencies)
Sets the vector of version dependencies.
Definition: VersionInfo.h:47
void SetVersion(std::int64_t version)
Sets the catalog version.
Definition: VersionInfo.h:66
void SetPartitionCounts(std::map< std::string, std::int64_t > partition_counts)
Sets the map of partition counts.
Definition: VersionInfo.h:56
void SetTimestamp(std::int64_t timestamp)
Sets the timestamp of the catalog version.
Definition: VersionInfo.h:73
const std::map< std::string, std::int64_t > & GetPartitionCounts() const
Gets the map of partition counts.
Definition: VersionInfo.h:89
std::int64_t GetTimestamp() const
Gets the timestamp of the catalog version.
Definition: VersionInfo.h:105
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24