26#include <olp/dataservice/read/DataServiceReadApi.h>
29namespace dataservice {
48 partitions.emplace_back(std::move(partition));
56 const std::vector<std::string>&
GetPartitions()
const {
return partitions; }
63 std::vector<std::string>&&
MovePartitions() {
return std::move(partitions); }
66 std::vector<std::string> partitions;
Represents the result of a prefetch operation for partitions.
Definition PrefetchPartitionsResult.h:35
void AddPartition(std::string partition)
Adds the partition ID that was successfully downloaded.
Definition PrefetchPartitionsResult.h:47
const std::vector< std::string > & GetPartitions() const
Gets the list of prefetched partitions.
Definition PrefetchPartitionsResult.h:56
PrefetchPartitionsResult()=default
A parent type of the current PrefetchedPartitions class.
std::vector< std::string > && MovePartitions()
Moves the list of prefetched partitions.
Definition PrefetchPartitionsResult.h:63
Rules all the other namespaces.
Definition AppleSignInProperties.h:24