22 #ifndef Hypertable_Lib_Client_h
23 #define Hypertable_Lib_Client_h
64 Client(
const std::string &install_dir,
const std::string &config_file,
65 uint32_t default_timeout_ms=0);
73 Client(
const std::string &install_dir =
String(), uint32_t default_timeout_ms=0);
86 bool create_intermediate=
false,
87 bool if_not_exists=
false);
160 #endif // Hypertable_Lib_Client_h
RangeLocatorPtr m_range_locator
NameIdMapperPtr get_nameid_mapper()
void drop_namespace(const std::string &name, Namespace *base=NULL, bool if_exists=false)
Removes a namespace.
NamespacePtr open_namespace(const std::string &name, Namespace *base=NULL)
Opens a Namespace.
NameIdMapperPtr m_namemap
HqlInterpreter * create_hql_interpreter(bool immutable_namespace=true)
std::string String
A String is simply a typedef to std::string.
std::shared_ptr< RangeLocator > RangeLocatorPtr
Smart pointer to RangeLocator.
Lib::Master::ClientPtr m_master_client
bool exists_namespace(const std::string &name, Namespace *base=NULL)
Checks if the namespace exists.
std::shared_ptr< NamespaceCache > NamespaceCachePtr
Smart pointer to NamespaceCache.
ApplicationQueueInterfacePtr m_app_queue
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.
std::shared_ptr< Namespace > NamespacePtr
Shared smart pointer to Namespace.
std::shared_ptr< Client > ClientPtr
Hyperspace::SessionPtr m_hyperspace
std::string m_install_dir
std::shared_ptr< Session > SessionPtr
TableCachePtr m_table_cache
The API of HQL interpreter.
std::shared_ptr< Properties > PropertiesPtr
std::shared_ptr< ApplicationQueueInterface > ApplicationQueueInterfacePtr
Smart pointer to ApplicationQueueInterface.
std::string m_toplevel_dir
std::shared_ptr< TableCache > TableCachePtr
Smart pointer to TableCache.
Entry point to AsyncComm service.
Hyperspace::SessionPtr & get_hyperspace_session()
Declarations for ConnectionManager.
void create_namespace(const std::string &name, Namespace *base=NULL, bool create_intermediate=false, bool if_not_exists=false)
Creates a namespace.
Declarations for MasterClient This file contains declarations for MasterClient, a client interface cl...
A String class based on std::string.
bool m_hyperspace_reconnect
Declarations for ApplicationQueueInterface.
std::shared_ptr< ConnectionManager > ConnectionManagerPtr
Smart pointer to ConnectionManager.
std::shared_ptr< NameIdMapper > NameIdMapperPtr
Smart pointer to NameIdMapper.
NamespaceCachePtr m_namespace_cache
ConnectionManagerPtr m_conn_manager
Lib::Master::ClientPtr get_master_client()