Public Member Functions | List of all members
Aws::FileManagement::DataReader< T > Class Template Referenceabstract

#include <file_manager.h>

Inheritance diagram for Aws::FileManagement::DataReader< T >:
Inheritance graph
[legend]

Public Member Functions

virtual void deleteStaleData ()=0
 
virtual void fileUploadCompleteStatus (const Aws::DataFlow::UploadStatus &upload_status, const FileObject< T > &log_messages)=0
 
virtual bool isDataAvailableToRead ()=0
 
virtual FileObject< T > readBatch (size_t batch_size)=0
 
virtual void setStatusMonitor (std::shared_ptr< StatusMonitor > status_monitor)=0
 
- Public Member Functions inherited from Service
ServiceState getState ()
 
virtual std::string getStatusString ()
 
 Service ()
 
virtual bool shutdown ()
 
virtual bool start ()
 
virtual ~Service ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from Service
void setState (ServiceState new_state)
 

Detailed Description

template<typename T>
class Aws::FileManagement::DataReader< T >

Definition at line 46 of file file_manager.h.

Member Function Documentation

template<typename T>
virtual void Aws::FileManagement::DataReader< T >::deleteStaleData ( )
pure virtual
template<typename T>
virtual void Aws::FileManagement::DataReader< T >::fileUploadCompleteStatus ( const Aws::DataFlow::UploadStatus upload_status,
const FileObject< T > &  log_messages 
)
pure virtual

Handle an upload complete status.

Parameters
upload_statusthe status of an attempted upload of data
log_messagesthe data which was attempted to be uploaded

Implemented in Aws::FileManagement::FileManager< T >.

template<typename T>
virtual bool Aws::FileManagement::DataReader< T >::isDataAvailableToRead ( )
pure virtual

Return if data is available to read.

Returns

Implemented in Aws::FileManagement::FileManager< T >.

template<typename T>
virtual FileObject<T> Aws::FileManagement::DataReader< T >::readBatch ( size_t  batch_size)
pure virtual

Read a specific amount of data from a file.

Parameters
batch_sizeto read
Returns
a FileObject containing the data read plus some metadata about the file read
template<typename T>
virtual void Aws::FileManagement::DataReader< T >::setStatusMonitor ( std::shared_ptr< StatusMonitor status_monitor)
pure virtual

The documentation for this class was generated from the following file:


file_management
Author(s): AWS RoboMaker
autogenerated on Fri May 7 2021 02:18:23