class TrendAction extends Action<TrendRequest> {

    @Override
    public ActionResponse execute(TrendRequest parameter) {
        SearchRequestBuilder searchRequestBuilder = getRequestBuilder(parameter);
        try {
            SearchResponse searchResponse = searchRequestBuilder.execute()
                    .actionGet(getGetQueryTimeout());
            return getResponse(searchResponse, parameter);
        } catch (ElasticsearchException e) {
            throw FoxtrotExceptions.createQueryExecutionException(parameter, e);
        }
    }

    public  TrendAction(TrendRequest parameter, AnalyticsLoader analyticsLoader);

}