use of org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA in project fess by codelibs.
the class BsScheduledJobCA method setUpdatedBy_SignificantTerms.
public void setUpdatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(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 setScriptData_Terms.
public void setScriptData_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "scriptData");
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 setAvailable_Range.
public void setAvailable_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
RangeAggregationBuilder builder = regRangeA(name, "available");
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 setTarget_Missing.
public void setTarget_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "target");
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_Terms.
public void setCronExpression_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "cronExpression");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ScheduledJobCA ca = new ScheduledJobCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations