0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Hypertable::Client Class Reference

#include <Client.h>

Collaboration diagram for Hypertable::Client:
Collaboration graph
[legend]

Public Member Functions

 Client (const std::string &install_dir, const std::string &config_file, uint32_t default_timeout_ms=0)
 Constructs the object using the specified config file. More...
 
 Client (const std::string &install_dir=String(), uint32_t default_timeout_ms=0)
 Constructs the object using the default config file. More...
 
 ~Client ()
 
void create_namespace (const std::string &name, Namespace *base=NULL, bool create_intermediate=false, bool if_not_exists=false)
 Creates a namespace. More...
 
NamespacePtr open_namespace (const std::string &name, Namespace *base=NULL)
 Opens a Namespace. More...
 
bool exists_namespace (const std::string &name, Namespace *base=NULL)
 Checks if the namespace exists. More...
 
void drop_namespace (const std::string &name, Namespace *base=NULL, bool if_exists=false)
 Removes a namespace. More...
 
Hyperspace::SessionPtrget_hyperspace_session ()
 
Lib::Master::ClientPtr get_master_client ()
 
NameIdMapperPtr get_nameid_mapper ()
 
void close ()
 
void shutdown ()
 
HqlInterpretercreate_hql_interpreter (bool immutable_namespace=true)
 

Private Member Functions

void initialize ()
 

Private Attributes

PropertiesPtr m_props
 
Commm_comm
 
ConnectionManagerPtr m_conn_manager
 
ApplicationQueueInterfacePtr m_app_queue
 
Hyperspace::SessionPtr m_hyperspace
 
NameIdMapperPtr m_namemap
 
Lib::Master::ClientPtr m_master_client
 
RangeLocatorPtr m_range_locator
 
uint32_t m_timeout_ms
 
std::string m_install_dir
 
TableCachePtr m_table_cache
 
NamespaceCachePtr m_namespace_cache
 
bool m_hyperspace_reconnect
 
std::string m_toplevel_dir
 

Detailed Description

Definition at line 54 of file Client.h.


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