Represents the result of a prefetch operation for partitions.
More...
#include <PrefetchPartitionsResult.h>
|
|
| PrefetchPartitionsResult ()=default |
| | A parent type of the current PrefetchedPartitions class.
|
| |
| void | AddPartition (std::string partition) |
| | Adds the partition ID that was successfully downloaded.
|
| |
| const std::vector< std::string > & | GetPartitions () const |
| | Gets the list of prefetched partitions.
|
| |
| std::vector< std::string > && | MovePartitions () |
| | Moves the list of prefetched partitions.
|
| |
Represents the result of a prefetch operation for partitions.
◆ AddPartition()
| void olp::dataservice::read::PrefetchPartitionsResult::AddPartition |
( |
std::string |
partition | ) |
|
|
inline |
Adds the partition ID that was successfully downloaded.
- Parameters
-
| partition | The partition ID. |
◆ GetPartitions()
| const std::vector< std::string > & olp::dataservice::read::PrefetchPartitionsResult::GetPartitions |
( |
| ) |
const |
|
inline |
Gets the list of prefetched partitions.
- Returns
- The list of partitions.
◆ MovePartitions()
| std::vector< std::string > && olp::dataservice::read::PrefetchPartitionsResult::MovePartitions |
( |
| ) |
|
|
inline |
Moves the list of prefetched partitions.
- Returns
- A forwarding reference to the partitions.
The documentation for this class was generated from the following file: