use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method setLastAccessTime_Missing.
public void setLastAccessTime_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "lastAccessTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method setErrorCount_Histogram.
public void setErrorCount_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(name, "errorCount");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method filter.
// ===================================================================================
// Aggregation Set
// =========
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsFailureUrlCQ> queryLambda, ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
FailureUrlCQ cq = new FailureUrlCQ();
if (queryLambda != null) {
queryLambda.callback(cq);
}
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method setThreadName_IpRange.
public void setThreadName_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "threadName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method setErrorCount_Range.
public void setErrorCount_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
RangeAggregationBuilder builder = regRangeA(name, "errorCount");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations