|
| StorageClient (HttpClient *client) |
| Storage Client constructor stores the provided HttpClient into the map.
|
|
| StorageClient (const std::string &hostname, const unsigned short port) |
|
| ~StorageClient () |
| Destructor for storage client.
|
|
ResultSet * | queryTable (const std::string &schema, const std::string &tablename, const Query &query) |
| Query a table. More...
|
|
ResultSet * | queryTable (const std::string &tablename, const Query &query) |
| Query a table. More...
|
|
ReadingSet * | queryTableToReadings (const std::string &tableName, const Query &query) |
| Query a table and return a ReadingSet pointer. More...
|
|
int | insertTable (const std::string &schema, const std::string &tableName, const InsertValues &values) |
|
int | insertTable (const std::string &schema, const std::string &tableName, const std::vector< InsertValues > &values) |
|
int | insertTable (const std::string &tableName, const std::vector< InsertValues > &values) |
|
int | updateTable (const std::string &schema, const std::string &tableName, const InsertValues &values, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &schema, const std::string &tableName, const JSONProperties &json, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &schema, const std::string &tableName, const InsertValues &values, const JSONProperties &json, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &schema, const std::string &tableName, const ExpressionValues &values, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &schema, const std::string &tableName, std::vector< std::pair< ExpressionValues *, Where *>> &updates, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &schema, const std::string &tableName, const InsertValues &values, const ExpressionValues &expressoins, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | deleteTable (const std::string &schema, const std::string &tableName, const Query &query) |
| Delete from a table. More...
|
|
int | insertTable (const std::string &tableName, const InsertValues &values) |
|
int | updateTable (const std::string &tableName, const InsertValues &values, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &tableName, const JSONProperties &json, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &tableName, const InsertValues &values, const JSONProperties &json, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &tableName, const ExpressionValues &values, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &tableName, std::vector< std::pair< ExpressionValues *, Where *>> &updates, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &tableName, const InsertValues &values, const ExpressionValues &expressions, const Where &where, const UpdateModifier *modifier=NULL) |
|
int | updateTable (const std::string &schema, const std::string &tableName, std::vector< std::pair< InsertValue *, Where * > > &updates, const UpdateModifier *modifier) |
|
int | updateTable (const std::string &tableName, std::vector< std::pair< InsertValue *, Where *> > &updates, const UpdateModifier *modifier=NULL) |
|
int | deleteTable (const std::string &tableName, const Query &query) |
| Delete from a table. More...
|
|
bool | readingAppend (Reading &reading) |
| Append a single reading.
|
|
bool | readingAppend (const std::vector< Reading *> &readings) |
| Append multiple readings. More...
|
|
ResultSet * | readingQuery (const Query &query) |
| Perform a generic query against the readings data. More...
|
|
ReadingSet * | readingQueryToReadings (const Query &query) |
| Perform a generic query against the readings data, returning ReadingSet object. More...
|
|
ReadingSet * | readingFetch (const unsigned long readingId, const unsigned long count) |
| Retrieve a set of readings for sending on the northbound interface of Fledge. More...
|
|
PurgeResult | readingPurgeByAge (unsigned long age, unsigned long sent, bool purgeUnsent) |
| Purge the readings by age. More...
|
|
PurgeResult | readingPurgeBySize (unsigned long size, unsigned long sent, bool purgeUnsent) |
| Purge the readings by size. More...
|
|
PurgeResult | readingPurgeByAsset (const std::string &asset) |
| Purge the readings by asset name. More...
|
|
bool | registerAssetNotification (const std::string &assetName, const std::string &callbackUrl) |
| Register interest for a Reading asset name. More...
|
|
bool | unregisterAssetNotification (const std::string &assetName, const std::string &callbackUrl) |
| Unregister interest for a Reading asset name. More...
|
|
bool | registerTableNotification (const std::string &tableName, const std::string &key, std::vector< std::string > keyValues, const std::string &operation, const std::string &callbackUrl) |
| Register interest for a table. More...
|
|
bool | unregisterTableNotification (const std::string &tableName, const std::string &key, std::vector< std::string > keyValues, const std::string &operation, const std::string &callbackUrl) |
| Unregister interest for a table name. More...
|
|
void | registerManagement (ManagementClient *mgmnt) |
|
bool | createSchema (const std::string &) |
| Function to create Storage Schema.
|
|
bool | deleteHttpClient () |
| Delete HttpClient object for current thread.
|
|
Client for accessing the storage service.