com.es.plus.adapter.params.EsAggResponse Maven / Gradle / Ivy
package com.es.plus.adapter.params;
import org.elasticsearch.search.aggregations.Aggregations;
public interface EsAggResponse {
/**
* 获取聚合
*
* @return {@link Aggregations}
*/
Aggregations getAggregations();
/**
* 获取es-plus提供的聚合
*
* @return {@link Aggregations}
*/
EsAggResult getEsAggResult(EsAggResultQuery esAggResultQuery);
/**
* 设置聚合
*
* @param aggregations 聚合
*/
void setAggregations(Aggregations aggregations);
/**
* 洞穴类
*
* @param tClass t类
*/
void settClass(Class tClass);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy