use of org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA in project fess by codelibs.
the class BsScheduledJobCA method setCrawler_Histogram.
public void setCrawler_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(name, "crawler");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ScheduledJobCA ca = new ScheduledJobCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA in project fess by codelibs.
the class BsScheduledJobCA method setCronExpression_Missing.
public void setCronExpression_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "cronExpression");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ScheduledJobCA ca = new ScheduledJobCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA in project fess by codelibs.
the class BsScheduledJobCA method setJobLogging_Missing.
public void setJobLogging_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "jobLogging");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ScheduledJobCA ca = new ScheduledJobCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA in project fess by codelibs.
the class BsScheduledJobCA method setUpdatedBy_Missing.
public void setUpdatedBy_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ScheduledJobCA ca = new ScheduledJobCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA in project fess by codelibs.
the class BsScheduledJobCA method setScriptType_SignificantTerms.
public void setScriptType_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "scriptType");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ScheduledJobCA ca = new ScheduledJobCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations