use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method setLastAccessTime_Histogram.
public void setLastAccessTime_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(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 setErrorName_Missing.
public void setErrorName_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "errorName");
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_Missing.
public void setErrorCount_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(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 setUrl_IpRange.
public void setUrl_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "url");
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_Terms.
public void setThreadName_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "threadName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations