Turi Create  4.0
turi::s3_device Class Reference

#include <core/storage/fileio/s3_fstream.hpp>

Public Member Functions

std::streamsize optimal_buffer_size () const
 
std::streampos seek (std::streamoff off, std::ios_base::seekdir way, std::ios_base::openmode)
 
size_t file_size () const
 

Detailed Description

s3 file source is used to construct boost iostreams

Definition at line 22 of file s3_fstream.hpp.

Member Function Documentation

◆ file_size()

size_t turi::s3_device::file_size ( ) const

Returns the file size of the opened file. Returns (size_t)(-1) if there is no file opened, or if there is an error obtaining the file size.

◆ optimal_buffer_size()

std::streamsize turi::s3_device::optimal_buffer_size ( ) const
inline

the optimal buffer size is 0.

Definition at line 51 of file s3_fstream.hpp.

◆ seek()

std::streampos turi::s3_device::seek ( std::streamoff  off,
std::ios_base::seekdir  way,
std::ios_base::openmode   
)

Seeks to a different location.


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