use of org.codelibs.fess.es.config.cbean.ca.WebConfigToLabelCA in project fess by codelibs.
the class BsWebConfigToLabelCA method filter.
// ===================================================================================
// Aggregation Set
// =========
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsWebConfigToLabelCQ> queryLambda, ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
WebConfigToLabelCQ cq = new WebConfigToLabelCQ();
if (queryLambda != null) {
queryLambda.callback(cq);
}
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigToLabelCA ca = new WebConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.WebConfigToLabelCA in project fess by codelibs.
the class BsWebConfigToLabelCA method setWebConfigId_SignificantTerms.
public void setWebConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "webConfigId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigToLabelCA ca = new WebConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.WebConfigToLabelCA in project fess by codelibs.
the class BsWebConfigToLabelCA method setWebConfigId_IpRange.
public void setWebConfigId_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "webConfigId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigToLabelCA ca = new WebConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.WebConfigToLabelCA in project fess by codelibs.
the class BsWebConfigToLabelCA method setLabelTypeId_Missing.
public void setLabelTypeId_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "labelTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigToLabelCA ca = new WebConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.WebConfigToLabelCA in project fess by codelibs.
the class BsWebConfigToLabelCA method setLabelTypeId_SignificantTerms.
public void setLabelTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "labelTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigToLabelCA ca = new WebConfigToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations