GPUdb C++ API  Version 6.2.0.3
gpudb::GPUdb::Options Class Reference

#include <gpudb/GPUdb.hpp>

Public Member Functions

 Options ()
 
boost::asio::ssl::context * getSslContext () const
 
std::string getUsername () const
 
std::string getPassword () const
 
bool getUseSnappy () const
 
size_t getThreadCount () const
 
avro::ExecutorPtr getExecutor () const
 
std::map< std::string, std::string > & getHttpHeaders ()
 
const std::map< std::string, std::string > & getHttpHeaders () const
 
size_t getTimeout () const
 
uint16_t getHostManagerPort () const
 
OptionssetSslContext (boost::asio::ssl::context *value)
 
OptionssetUsername (const std::string &value)
 
OptionssetPassword (const std::string &value)
 
OptionssetUseSnappy (const bool value)
 
OptionssetThreadCount (const size_t value)
 
OptionssetExecutor (const avro::ExecutorPtr value)
 
OptionssetHttpHeaders (const std::map< std::string, std::string > &value)
 
OptionsaddHttpHeader (const std::string &header, const std::string &value)
 
OptionssetTimeout (const size_t value)
 
OptionssetHostManagerPort (const uint16_t value)
 

Detailed Description

Definition at line 59 of file GPUdb.hpp.

Constructor & Destructor Documentation

◆ Options()

gpudb::GPUdb::Options::Options ( )

Member Function Documentation

◆ addHttpHeader()

Options& gpudb::GPUdb::Options::addHttpHeader ( const std::string &  header,
const std::string &  value 
)

◆ getExecutor()

avro::ExecutorPtr gpudb::GPUdb::Options::getExecutor ( ) const

◆ getHostManagerPort()

uint16_t gpudb::GPUdb::Options::getHostManagerPort ( ) const

◆ getHttpHeaders() [1/2]

std::map<std::string, std::string>& gpudb::GPUdb::Options::getHttpHeaders ( )

◆ getHttpHeaders() [2/2]

const std::map<std::string, std::string>& gpudb::GPUdb::Options::getHttpHeaders ( ) const

◆ getPassword()

std::string gpudb::GPUdb::Options::getPassword ( ) const

◆ getSslContext()

boost::asio::ssl::context* gpudb::GPUdb::Options::getSslContext ( ) const

◆ getThreadCount()

size_t gpudb::GPUdb::Options::getThreadCount ( ) const

◆ getTimeout()

size_t gpudb::GPUdb::Options::getTimeout ( ) const

◆ getUsername()

std::string gpudb::GPUdb::Options::getUsername ( ) const

◆ getUseSnappy()

bool gpudb::GPUdb::Options::getUseSnappy ( ) const

◆ setExecutor()

Options& gpudb::GPUdb::Options::setExecutor ( const avro::ExecutorPtr  value)

◆ setHostManagerPort()

Options& gpudb::GPUdb::Options::setHostManagerPort ( const uint16_t  value)

◆ setHttpHeaders()

Options& gpudb::GPUdb::Options::setHttpHeaders ( const std::map< std::string, std::string > &  value)

◆ setPassword()

Options& gpudb::GPUdb::Options::setPassword ( const std::string &  value)

◆ setSslContext()

Options& gpudb::GPUdb::Options::setSslContext ( boost::asio::ssl::context *  value)

◆ setThreadCount()

Options& gpudb::GPUdb::Options::setThreadCount ( const size_t  value)

◆ setTimeout()

Options& gpudb::GPUdb::Options::setTimeout ( const size_t  value)

◆ setUsername()

Options& gpudb::GPUdb::Options::setUsername ( const std::string &  value)

◆ setUseSnappy()

Options& gpudb::GPUdb::Options::setUseSnappy ( const bool  value)

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