olp-cpp-sdk  1.22.0
Public Member Functions | List of all members
olp::dataservice::read::PrefetchPartitionsResult Class Reference

Represents the result of a prefetch operation for partitions. More...

#include <PrefetchPartitionsResult.h>

Public Member Functions

 PrefetchPartitionsResult ()=default
 A parent type of the current PrefetchedPartitions class.
 
void AddPartition (std::string partition)
 Adds the partition ID that was successfully downloaded. More...
 
const std::vector< std::string > & GetPartitions () const
 Gets the list of prefetched partitions. More...
 
std::vector< std::string > && MovePartitions ()
 Moves the list of prefetched partitions. More...
 

Detailed Description

Represents the result of a prefetch operation for partitions.

Member Function Documentation

◆ AddPartition()

void olp::dataservice::read::PrefetchPartitionsResult::AddPartition ( std::string  partition)
inline

Adds the partition ID that was successfully downloaded.

Parameters
partitionThe 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: