pub struct DataSourceServiceClient<T>(/* private fields */);
Expand description
Data sources are data input to runs, including databases, CSV, video, and streaming data. They contain channels that represent the series data. The DataSource Service is responsible for indexing and searching channels across data sources.
Implementations§
Source§impl<T> DataSourceServiceClient<T>where
T: Client,
impl<T> DataSourceServiceClient<T>where
T: Client,
Sourcepub fn search_channels(
&self,
auth_: &BearerToken,
query: &SearchChannelsRequest,
) -> Result<SearchChannelsResponse, Error>
pub fn search_channels( &self, auth_: &BearerToken, query: &SearchChannelsRequest, ) -> Result<SearchChannelsResponse, Error>
Returns channels that match the search criteria. Results are sorted by similarity score.
Sourcepub fn search_filtered_channels(
&self,
auth_: &BearerToken,
query: &SearchFilteredChannelsRequest,
) -> Result<SearchFilteredChannelsResponse, Error>
pub fn search_filtered_channels( &self, auth_: &BearerToken, query: &SearchFilteredChannelsRequest, ) -> Result<SearchFilteredChannelsResponse, Error>
Returns channels that match the search criteria. Results are sorted by similarity score.
Sourcepub fn search_hierarchical_channels(
&self,
auth_: &BearerToken,
query: &SearchHierarchicalChannelsRequest,
) -> Result<SearchHierarchicalChannelsResponse, Error>
pub fn search_hierarchical_channels( &self, auth_: &BearerToken, query: &SearchHierarchicalChannelsRequest, ) -> Result<SearchHierarchicalChannelsResponse, Error>
Returns only channels that are direct children of the parent. Returns results sorted alphabetically.
Sourcepub fn index_channel_prefix_tree(
&self,
auth_: &BearerToken,
request: &IndexChannelPrefixTreeRequest,
) -> Result<ChannelPrefixTree, Error>
pub fn index_channel_prefix_tree( &self, auth_: &BearerToken, request: &IndexChannelPrefixTreeRequest, ) -> Result<ChannelPrefixTree, Error>
Indexes the channel prefix tree for a specified data source. This operation constructs a prefix tree from the channels available in the data source.
Sourcepub fn batch_get_channel_prefix_trees(
&self,
auth_: &BearerToken,
request: &BatchGetChannelPrefixTreeRequest,
) -> Result<BatchGetChannelPrefixTreeResponse, Error>
pub fn batch_get_channel_prefix_trees( &self, auth_: &BearerToken, request: &BatchGetChannelPrefixTreeRequest, ) -> Result<BatchGetChannelPrefixTreeResponse, Error>
Returns the channel prefix tree for each of the specified data sources. If the tree for a data source has not been indexed, it will be omitted from the map.
Returns the the set of all tag keys and their values that are available for the specified channel given an initial set of filters.
Sourcepub fn get_data_scope_bounds(
&self,
auth_: &BearerToken,
request: &BatchGetDataScopeBoundsRequest,
) -> Result<BatchGetDataScopeBoundsResponse, Error>
pub fn get_data_scope_bounds( &self, auth_: &BearerToken, request: &BatchGetDataScopeBoundsRequest, ) -> Result<BatchGetDataScopeBoundsResponse, Error>
Returns the maximum data timestamps for the specified data scopes. Responses are returned in the same order as requests.
Trait Implementations§
Source§impl<T: Clone> Clone for DataSourceServiceClient<T>
impl<T: Clone> Clone for DataSourceServiceClient<T>
Source§fn clone(&self) -> DataSourceServiceClient<T>
fn clone(&self) -> DataSourceServiceClient<T>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more