MXS-2363 Skeleton of /v1/maxscale/query_classifier/cache
URL routing in place, callback exists, but no actual information.
This commit is contained in:
@ -66,4 +66,13 @@ bool qc_alter_from_json(json_t* pJson);
|
||||
*/
|
||||
std::unique_ptr<json_t> qc_classify_as_json(const char* zHost, const std::string& statement);
|
||||
|
||||
/**
|
||||
* Return query classifier cache content.
|
||||
*
|
||||
* @param zHost The MaxScale host.
|
||||
*
|
||||
* @return A json object containing information about the query classifier cache.
|
||||
*/
|
||||
std::unique_ptr<json_t> qc_cache_as_json(const char* zHost);
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user