A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/nst__database_8hpp_source.html below:

NCBI C++ ToolKit: src/app/netstorage/nst_database.hpp Source File

1 #ifndef NETSTORAGE_DATABASE__HPP 2 #define NETSTORAGE_DATABASE__HPP 100  const string

& object_key,

101  const string

& object_loc,

Int8 size

,

104  bool

& size_was_null);

106  const string

& object_key,

107  const string

& object_loc,

Int8 size

,

112  bool

& size_was_null);

114  const string

& object_key,

120  const string

& object_key,

121  const string

& object_loc,

126  bool

& size_was_null);

128  const string

& object_key,

129  const string

& object_loc,

Int8

client_id,

134  const string

& object_key,

139  const string

& object_key,

Int8

user_id);

143  bool

create_if_not_found,

144  const string

& object_loc,

148  const string

& object_loc,

149  const string

& attr_name,

150  const string

& attr_value,

152  bool

create_if_not_found,

155  const string

& attr_name,

159  const string

& attr_name);

161

vector<string> & attr_names);

183

vector<string> & locators);

185  const string

& user_name_space,

188

vector<string> & locators);

207  const string

& procedure);

Database connection object.

map< string, string > ExecSP_GetGeneralDBInfo(void)

int ExecSP_GetAttribute(const string &object_key, const string &attr_name, bool need_update, string &value)

int ExecSP_GetObjectExpiration(const string &object_key, TNSTDBValue< CTime > &expiration, TNSTDBValue< Int8 > &individual_object_ttl)

bool x_ReadDbAccessInfo(bool is_initialization)

int x_CheckStatus(CQuery &query, const string &procedure)

int ExecSP_GetClientObjects(const string &client_name, TNSTDBValue< Int8 > limit, Int8 &total, vector< string > &locators)

bool IsConnected(void) const

int ExecSP_UpdateObjectOnRead(const string &object_key, const string &object_loc, Int8 size, Int8 client_id, const TNSTDBValue< CTimeSpan > &ttl, const TNSTDBValue< CTimeSpan > &prolong_on_read, const TNSTDBValue< CTime > &object_expiration, bool &size_was_null)

int ExecSP_SetExpiration(const string &object_key, const TNSTDBValue< CTimeSpan > &ttl, bool create_if_not_found, const string &object_loc, Int8 client_id, TNSTDBValue< Int8 > &object_size)

CRef< CNSTDBConnectionThread > m_RestoreConnectionThread

int ExecSP_GetUsers(vector< pair< string, string > > &users)

int ExecSP_UpdateUserIDForObject(const string &object_key, Int8 user_id)

int ExecSP_UpdateUserKeyObjectOnWrite(const string &object_key, const string &object_loc, Int8 size, Int8 client_id, const TNSTDBValue< CTimeSpan > &ttl, const TNSTDBValue< CTimeSpan > &prolong_on_write, const TNSTDBValue< CTime > &object_expiration)

int ExecSP_GetClients(vector< string > &names)

int ExecSP_UpdateObjectOnRelocate(const string &object_key, const string &object_loc, Int8 client_id, const TNSTDBValue< CTimeSpan > &ttl, const TNSTDBValue< CTimeSpan > &prolong_on_relocate, const TNSTDBValue< CTime > &object_expiration)

int ExecSP_CreateClient(const string &client, Int8 &client_id)

map< string, string > ExecSP_GetStatDBInfo(void)

int ExecSP_GetUserObjects(const string &user_name, const string &user_name_space, TNSTDBValue< Int8 > limit, Int8 &total, vector< string > &locators)

int ExecSP_UpdateObjectOnWrite(const string &object_key, const string &object_loc, Int8 size, Int8 client_id, Int8 user_id, const TNSTDBValue< CTimeSpan > &ttl, const TNSTDBValue< CTimeSpan > &prolong_on_write, const TNSTDBValue< CTime > &object_expiration, bool &size_was_null)

CNSTDatabase(const CNSTDatabase &conn)

int ExecSP_AddAttribute(const string &object_key, const string &object_loc, const string &attr_name, const string &attr_value, Int8 client_id, bool create_if_not_found, const TNSTDBValue< CTimeSpan > &ttl)

void x_CreateDatabase(bool is_initialization)

int UpdateExpirationIfExists(const string &object_key, const TNSTDBValue< CTimeSpan > &ttl, const TNSTDBValue< CTimeSpan > &prolong_on_read, const TNSTDBValue< CTime > &object_expiration)

int ExecSP_CreateObjectWithClientID(const string &object_key, const string &object_loc, Int8 size, Int8 client_id, Int8 user_id, const TNSTDBValue< CTimeSpan > ttl, bool &size_was_null)

void InitialConnect(void)

CNetStorageServer * m_Server

int ExecSP_DoesObjectExist(const string &object_key)

int ExecSP_GetObjectFixedAttributes(const string &object_key, TNSTDBValue< CTime > &expiration, TNSTDBValue< CTime > &creation, TNSTDBValue< CTime > &obj_read, TNSTDBValue< CTime > &obj_write, TNSTDBValue< CTime > &attr_read, TNSTDBValue< CTime > &attr_write, TNSTDBValue< Int8 > &read_count, TNSTDBValue< Int8 > &write_count, TNSTDBValue< string > &client_name, TNSTDBValue< string > &user_namespace, TNSTDBValue< string > &user_name, TNSTDBValue< Int8 > &obj_ttl)

CNSTDatabase & operator=(const CNSTDatabase &conn)

SDbAccessInfo m_DbAccessInfo

int ExecSP_GetObjectSize(const string &object_key, TNSTDBValue< Int8 > &object_size)

CNSTDatabase(CNetStorageServer *server)

CFastMutex m_SPTimeoutMutex

CTimeout GetExecuteSPTimeout(void)

int ExecSP_GetObjectSizeAndLocator(const string &object_key, TNSTDBValue< Int8 > &object_size, TNSTDBValue< string > &object_locator)

int ExecSP_RemoveObject(const string &object_key)

int ExecSP_GetAttributeNames(const string &object_key, vector< string > &attr_names)

int ExecSP_DelAttribute(const string &object_key, const string &attr_name)

void x_PreCheckConnection(void)

CJsonNode SetParameters(const IRegistry &reg)

void x_PostCheckConnection(void)

int ExecSP_UpdateObjectSizeIfNULL(const string &object_key, TNSTDBValue< Int8 > &object_size)

void x_CalculateExpiration(const CTime &current_time, const TNSTDBValue< CTimeSpan > &ttl, const TNSTDBValue< CTimeSpan > &prolong, const TNSTDBValue< CTime > &object_expiration, TNSTDBValue< CTime > &exp_record_found, TNSTDBValue< CTime > &exp_record_not_found)

int ExecSP_CreateUser(const CNSTUserID &user, Int8 &user_id)

Object used to execute queries and stored procedures on the database server and retrieve result sets.

CTimeout – Timeout interval.

static CS_CONNECTION * conn

static const struct name_t names[]

int64_t Int8

8-byte (64-bit) signed integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

const struct ncbi::grid::netcache::search::fields::SIZE size

const GenericPointer< typename T::ValueType > T2 value

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

const int kSPObjectExpired

const int kSPObjectNotFound

static CNamedPipeClient * client

bool operator==(const TNSTDBValue< ValueType > &other) const

bool operator!=(const TNSTDBValue< ValueType > &other) const


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4