9#include <boost/optional.hpp>
11#include <viam/sdk/app/viam_client.hpp>
18 enum class TabularDataSourceType { k_standard, k_hot_storage, k_pipeline_sink };
23 TabularDataSourceType
src_type = TabularDataSourceType::k_hot_storage;
32 using BSONBytes = std::vector<uint8_t>;
51 const std::vector<BSONBytes>& mql_binary,
56 const std::vector<BSONBytes>& mql_binary);
63 std::unique_ptr<impl> pimpl_;
Definition data_client.hpp:16
std::vector< BSONBytes > tabular_data_by_mql(const std::string &org_id, const std::vector< BSONBytes > &mql_binary)
Convenience overload with default options.
std::vector< BSONBytes > tabular_data_by_mql(const std::string &org_id, const std::vector< BSONBytes > &mql_binary, const tabular_data_by_mql_opts &opts)
Request tabular data using an MQL query.
Definition viam_client.hpp:6
Options which are passed to a tabular_data_by_mql request.
Definition data_client.hpp:21
boost::optional< std::string > query_prefix
Used to specify a saved query to run.
Definition data_client.hpp:29
TabularDataSourceType src_type
Source type for the query.
Definition data_client.hpp:23
boost::optional< std::string > pipeline_id
Pipeline ID for requests with pipeline sink source type.
Definition data_client.hpp:26