Apache OpenDALâ„¢ C++ Binding
The C++ binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Public Attributes | List of all members
opendal::ReadRange Struct Reference

Byte range used by read operations. More...

#include <data_structure.hpp>

Public Types

enum class  Type : std::uint8_t { FULL = 0 , OFFSET = 1 , RANGE = 2 , SUFFIX = 3 }
 

Static Public Member Functions

static ReadRange Full ()
 
static ReadRange Offset (std::uint64_t offset)
 
static ReadRange Range (std::uint64_t start, std::uint64_t end)
 
static ReadRange Suffix (std::uint64_t size)
 

Public Attributes

Type type {Type::FULL}
 
std::uint64_t start {0}
 
std::uint64_t end {0}
 

Detailed Description

Byte range used by read operations.

Member Enumeration Documentation

◆ Type

enum class opendal::ReadRange::Type : std::uint8_t
strong
Enumerator
FULL 
OFFSET 
RANGE 
SUFFIX 

Member Function Documentation

◆ Full()

static ReadRange opendal::ReadRange::Full ( )
inlinestatic

◆ Offset()

static ReadRange opendal::ReadRange::Offset ( std::uint64_t  offset)
inlinestatic

◆ Range()

static ReadRange opendal::ReadRange::Range ( std::uint64_t  start,
std::uint64_t  end 
)
inlinestatic

◆ Suffix()

static ReadRange opendal::ReadRange::Suffix ( std::uint64_t  size)
inlinestatic

Member Data Documentation

◆ end

std::uint64_t opendal::ReadRange::end {0}

◆ start

std::uint64_t opendal::ReadRange::start {0}

◆ type

Type opendal::ReadRange::type {Type::FULL}

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