irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods::experimental::query_builder Class Reference

#include <query_builder.hpp>

Collaboration diagram for irods::experimental::query_builder:
[legend]

Public Member Functions

auto type (query_type _v) noexcept -> query_builder &
 
auto zone_hint (const std::string &_v) -> query_builder &
 
auto row_limit (std::uintmax_t _v) noexcept -> query_builder &
 
auto row_offset (std::uintmax_t _v) noexcept -> query_builder &
 
auto bind_arguments (const std::vector< std::string > &_args) -> query_builder &
 
auto clear () -> query_builder &
 
template<typename ConnectionType >
auto build (ConnectionType &_conn, const std::string &_query) -> irods::query< ConnectionType >
 

Private Attributes

const std::vector< std::string > * args_ {}
 
std::string zone_hint_
 
std::uintmax_t limit_ = 0
 
std::uintmax_t offset_ = 0
 
query_type type_ = query_type::general
 

Detailed Description

Definition at line 18 of file query_builder.hpp.

Member Function Documentation

◆ bind_arguments()

auto irods::experimental::query_builder::bind_arguments ( const std::vector< std::string > &  _args) -> query_builder&
inline

Definition at line 45 of file query_builder.hpp.

References args_.

◆ build()

template<typename ConnectionType >
auto irods::experimental::query_builder::build ( ConnectionType &  _conn,
const std::string &  _query 
) -> irods::query<ConnectionType>
inline

◆ clear()

auto irods::experimental::query_builder::clear ( ) -> query_builder&
inline

Definition at line 51 of file query_builder.hpp.

References args_, limit_, offset_, type_, and zone_hint_.

◆ row_limit()

auto irods::experimental::query_builder::row_limit ( std::uintmax_t  _v) -> query_builder&
inlinenoexcept

Definition at line 33 of file query_builder.hpp.

References limit_.

◆ row_offset()

auto irods::experimental::query_builder::row_offset ( std::uintmax_t  _v) -> query_builder&
inlinenoexcept

Definition at line 39 of file query_builder.hpp.

References offset_.

◆ type()

auto irods::experimental::query_builder::type ( query_type  _v) -> query_builder&
inlinenoexcept

Definition at line 21 of file query_builder.hpp.

References type_.

Referenced by irods::experimental::administration::client::v1::groups().

◆ zone_hint()

auto irods::experimental::query_builder::zone_hint ( const std::string &  _v) -> query_builder&
inline

Member Data Documentation

◆ args_

const std::vector<std::string>* irods::experimental::query_builder::args_ {}
private

Definition at line 81 of file query_builder.hpp.

Referenced by bind_arguments(), build(), and clear().

◆ limit_

std::uintmax_t irods::experimental::query_builder::limit_ = 0
private

Definition at line 83 of file query_builder.hpp.

Referenced by build(), clear(), and row_limit().

◆ offset_

std::uintmax_t irods::experimental::query_builder::offset_ = 0
private

Definition at line 84 of file query_builder.hpp.

Referenced by build(), clear(), and row_offset().

◆ type_

query_type irods::experimental::query_builder::type_ = query_type::general
private

Definition at line 85 of file query_builder.hpp.

Referenced by build(), clear(), and type().

◆ zone_hint_

std::string irods::experimental::query_builder::zone_hint_
private

Definition at line 82 of file query_builder.hpp.

Referenced by build(), clear(), and zone_hint().


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