GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
 
std::string getPrimaryUrl () const
 Return the URL of the primary cluster, if any (empty string delineates that none was set) More...
 
bool getUseSnappy () const
 
size_t getThreadCount () const
 
avro::ExecutorPtr getExecutor () const
 
std::map< std::string,
std::string > & 
getHttpHeaders ()
 Get the HTTP headers (will include the high-availability synchronicity override header) More...
 
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)
 
OptionssetPrimaryUrl (const std::string &value)
 Set the URL for the primary cluster. More...
 
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 60 of file GPUdb.hpp.

Constructor & Destructor Documentation

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

Member Function Documentation

Options& gpudb::GPUdb::Options::addHttpHeader ( const std::string &  header,
const std::string &  value 
)
avro::ExecutorPtr gpudb::GPUdb::Options::getExecutor ( ) const
uint16_t gpudb::GPUdb::Options::getHostManagerPort ( ) const
std::map<std::string, std::string>& gpudb::GPUdb::Options::getHttpHeaders ( )

Get the HTTP headers (will include the high-availability synchronicity override header)

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

Return the URL of the primary cluster, if any (empty string delineates that none was set)

boost::asio::ssl::context* gpudb::GPUdb::Options::getSslContext ( ) const
size_t gpudb::GPUdb::Options::getThreadCount ( ) const
size_t gpudb::GPUdb::Options::getTimeout ( ) const
std::string gpudb::GPUdb::Options::getUsername ( ) const
bool gpudb::GPUdb::Options::getUseSnappy ( ) const
Options& gpudb::GPUdb::Options::setExecutor ( const avro::ExecutorPtr  value)
Options& gpudb::GPUdb::Options::setHostManagerPort ( const uint16_t  value)
Options& gpudb::GPUdb::Options::setHttpHeaders ( const std::map< std::string, std::string > &  value)
Options& gpudb::GPUdb::Options::setPassword ( const std::string &  value)
Options& gpudb::GPUdb::Options::setPrimaryUrl ( const std::string &  value)

Set the URL for the primary cluster.

Options& gpudb::GPUdb::Options::setSslContext ( boost::asio::ssl::context *  value)
Options& gpudb::GPUdb::Options::setThreadCount ( const size_t  value)
Options& gpudb::GPUdb::Options::setTimeout ( const size_t  value)
Options& gpudb::GPUdb::Options::setUsername ( const std::string &  value)
Options& gpudb::GPUdb::Options::setUseSnappy ( const bool  value)

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