quasardb C API: qdb/query.h File Reference

quasardb C API

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Typedefs | Enumerations | Functions
query.h File Reference
`#include "ts.h"`

## Data Structures
struct | qdb_point_result_t
| A variadic structure holding the result type as well as the result value. More...
struct | qdb_query_result_t
| Holds the result of a query. More...
struct | qdb_query_experimental_column_t
| Holds a column of an experimental query. More...
struct | qdb_query_experimental_result_t
| Holds the result of an experimental query. More...
struct | qdb_query_arrow_result_t
| Holds the result of a query in Arrow format. More...

## Typedefs
typedef enum qdb_query_result_value_type_t | qdb_query_result_value_type_t
| The type of a result.
typedef struct qdb_dedup_handle_internal * | qdb_dedup_handle_t
| An opaque handle to internal API-allocated structures needed for deduplicating query results.
typedef struct qdb_query_cont_internal * | qdb_query_cont_handle_t
| An opaque handle to internal API-allocated structures needed for managing a continuous query.
typedef int | qdb_query_cont_callback_t (void *, qdb_error_t, const qdb_query_result_t *)
| A callback used by qdb_query_continuous. The first parameter of the callback will receive the context given when calling qdb_query_continuous The second parameter is the error result of the operation The third parameter are the new results for the query since the callback has been last called. More...
typedef enum qdb_query_continuous_mode_type_t | qdb_query_continuous_mode_type_t
| The continuous query mode.

## Enumerations
enum | qdb_query_result_value_type_t
| The type of a result.
enum | qdb_query_continuous_mode_type_t
| The continuous query mode.

## Functions
QDB_API_LINKAGE qdb_error_t | qdb_query_find (qdb_handle_t handle, const char *query, const char ***aliases, size_t *alias_count)
| Retrieves all entries' aliases that match the specified find query. More...
QDB_API_LINKAGE qdb_error_t | qdb_query (qdb_handle_t handle, const char *query, qdb_query_result_t **result)
| Run the provided query and creates a table directory with the results. More...
QDB_API_LINKAGE qdb_error_t | qdb_query_copy_results (qdb_handle_t handle, const qdb_query_result_t *result, qdb_query_result_t **result_copy)
| Creates a clone of a query result. More...
QDB_API_LINKAGE qdb_error_t | qdb_query_experimental (qdb_handle_t handle, const char *query, qdb_query_experimental_result_t **result)
| Run the provided query to return a table. More...
QDB_API_LINKAGE qdb_error_t | qdb_query_to_arrow (qdb_handle_t handle, const qdb_query_result_t *result, qdb_query_arrow_result_t **result_copy)
| Copies a query result to the Arrow format. More...
QDB_API_LINKAGE qdb_error_t | qdb_query_experimental_to_arrow (qdb_handle_t handle, const qdb_query_experimental_result_t *result, qdb_query_arrow_result_t **result_copy)
| Copies a query result to the Arrow format. More...
QDB_API_LINKAGE qdb_error_t | qdb_init_query_dedup (qdb_handle_t handle, qdb_dedup_handle_t *dedup_handle)
| Creates a qdb_dedup_handle_t. More...
QDB_API_LINKAGE qdb_error_t | qdb_query_dedup (qdb_dedup_handle_t dedup_handle, const qdb_query_result_t *result, qdb_query_result_t **dedup_result)
| Deduplicates query results. More...
QDB_API_LINKAGE qdb_error_t | qdb_query_dedup_prune (qdb_dedup_handle_t dedup_handle, const qdb_ts_range_t *range)
| Removes previously seen rows from the given deduplication handler. More...
QDB_API_LINKAGE qdb_error_t | qdb_query_continuous (qdb_handle_t handle, const char *query, qdb_query_continuous_mode_type_t mode, qdb_query_cont_callback_t cb, void *cb_context, qdb_query_cont_handle_t *cont_handle)
| Continuously and efficiently query the server with the given query. More...