use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsUserCA method setPager_Terms.
public void setPager_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "pager");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsUserCA method setPostalCode_Terms.
public void setPostalCode_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "postalCode");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsUserCA method setTelephoneNumber_Terms.
public void setTelephoneNumber_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "telephoneNumber");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsUserCA method setSurname_Terms.
public void setSurname_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "surname");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsUserCA method setGroups_Terms.
public void setGroups_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "groups");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations