Interface TimeSeries.Query<V>
- Type Parameters:
- V- query value type
- All Known Subinterfaces:
- TimeSeries.RangeQuery<V>
- Enclosing interface:
- TimeSeries
 A default query that performs a value range query of an entire time
 series can be obtained using TimeSeries.rangeQuery() and further
 configured using methods of the TimeSeries.RangeQuery interface.
- 
Method SummaryModifier and TypeMethodDescriptionselectFrom(String topicPath) Evaluate this query for a time series topic.
- 
Method Details- 
selectFromEvaluate this query for a time series topic.The session must have the READ_TOPICtopic permission fortopicPathto evaluate a query. TheQUERY_OBSOLETE_TIME_SERIES_EVENTStopic permission is also required if this is anedit rangequery, or avalue range querywith anedit range.- Parameters:
- topicPath- the path of the time series topic to query
- Returns:
- a CompletableFuture that completes when a response is
         received from the server.
         If the query returned results, the CompletableFuture will complete successfully and provide an TimeSeries.QueryResult.Otherwise, the CompletableFuture will complete exceptionally with a CompletionException. Common reasons for failure, listed by the exception reported as thecause, include:- NoSuchTopicException– if there is no topic bound to- topicPath;
- IncompatibleTopicException– if the topic bound to- topicPathis not a time series topic;
- IncompatibleTopicException– if the- query value typeis incompatible with the event data type of the time series topic bound to- topicPath;
- TimeSeries.InvalidQueryException– if the range query is not valid for the time series;
- PermissionsException– if the calling session does not have- READ_TOPICpermission for- topicPath;
- PermissionsException– if the calling session does not have- QUERY_OBSOLETE_TIME_SERIES_EVENTSpermission for- topicPathand this is an- edit rangequery, or a- value range querywith an- edit range;
- SessionClosedException– if the session is closed.
 
 
 
-