MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / executeSearch

Method executeSearch

src/core/TSDB.java:2056–2063  ·  view source on GitHub ↗

Executes a search query using the search plugin @param query The query to execute @return A deferred object to wait on for the results to be fetched @throws IllegalStateException if the search plugin has not been enabled or configured @since 2.0

(final SearchQuery query)

Source from the content-addressed store, hash-verified

2054 * @since 2.0
2055 */
2056 public Deferred<SearchQuery> executeSearch(final SearchQuery query) {
2057 if (search == null) {
2058 throw new IllegalStateException(
2059 "Searching has not been enabled on this TSD");
2060 }
2061
2062 return search.executeQuery(query);
2063 }
2064
2065 /**
2066 * Simply logs plugin errors when they're thrown by attaching as an errorback.

Callers 1

executeMethod · 0.80

Calls 1

executeQueryMethod · 0.45

Tested by

no test coverage detected