|
quasardb C API
|
Functions | |
| QDB_API_LINKAGE qdb_error_t | qdb_suffix_get (qdb_handle_t handle, const char *suffix, qdb_int_t max_count, const char ***results, size_t *result_count) |
| Retrieves the list of all entries matching the provided suffix. More... | |
| QDB_API_LINKAGE qdb_error_t | qdb_suffix_count (qdb_handle_t handle, const char *suffix, qdb_uint_t *result_count) |
| Retrieves the count of all entries matching the provided suffix. More... | |
| QDB_API_LINKAGE qdb_error_t | qdb_suffix_approximate_count (qdb_handle_t handle, const char *suffix, qdb_uint_t *result_count) |
| Retrieves the approximate count of all entries matching the provided suffix. More... | |
| QDB_API_LINKAGE qdb_error_t qdb_suffix_approximate_count | ( | qdb_handle_t | handle, |
| const char * | suffix, | ||
| qdb_uint_t * | result_count | ||
| ) |
Retrieves the approximate count of all entries matching the provided suffix.
A suffix-based count counts all entries matching a provided suffix.
| handle | A valid handle previously initialized by qdb_open or qdb_open_tcp. | |
| suffix | A pointer to a null-terminated UTF-8 string representing the desired suffix | |
| [out] | result_count | A pointer to an integer giving the results count |
| QDB_API_LINKAGE qdb_error_t qdb_suffix_count | ( | qdb_handle_t | handle, |
| const char * | suffix, | ||
| qdb_uint_t * | result_count | ||
| ) |
Retrieves the count of all entries matching the provided suffix.
A suffix-based count counts all entries matching a provided suffix.
| handle | A valid handle previously initialized by qdb_open or qdb_open_tcp. | |
| suffix | A pointer to a null-terminated UTF-8 string representing the desired suffix | |
| [out] | result_count | A pointer to an integer giving the results count |
| QDB_API_LINKAGE qdb_error_t qdb_suffix_get | ( | qdb_handle_t | handle, |
| const char * | suffix, | ||
| qdb_int_t | max_count, | ||
| const char *** | results, | ||
| size_t * | result_count | ||
| ) |
Retrieves the list of all entries matching the provided suffix.
A suffix-based search will enable you to find all entries matching a provided suffix.
This function returns the list of aliases. It's up to the user to query the content associated with every entry, if needed.
| handle | A valid handle previously initialized by qdb_open or qdb_open_tcp. | |
| suffix | A pointer to a null-terminated UTF-8 string representing the desired suffix | |
| max_count | An integer limiting the number of results returned by the function | |
| [out] | results | A pointer to a list of results |
| [out] | result_count | A pointer to an integer giving the results count |
1.8.5