use of org.codelibs.fess.es.log.cbean.ca.ClickLogCA in project fess by codelibs.
the class BsClickLogCA method setQueryRequestedAt_DateHistogram.
public void setQueryRequestedAt_DateHistogram(String name, ConditionOptionCall<DateHistogramAggregationBuilder> opLambda, OperatorCall<BsClickLogCA> aggsLambda) {
DateHistogramAggregationBuilder builder = regDateHistogramA(name, "queryRequestedAt");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ClickLogCA ca = new ClickLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.log.cbean.ca.ClickLogCA in project fess by codelibs.
the class BsClickLogCA method setOrder_Missing.
public void setOrder_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsClickLogCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "order");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ClickLogCA ca = new ClickLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.log.cbean.ca.ClickLogCA in project fess by codelibs.
the class BsClickLogCA method setUrl_Missing.
public void setUrl_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsClickLogCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "url");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ClickLogCA ca = new ClickLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations