use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsWebAuthenticationCA method setParameters_Terms.
public void setParameters_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "parameters");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebAuthenticationCA ca = new WebAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsWebConfigCA method setUrls_Terms.
public void setUrls_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "urls");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigCA ca = new WebConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsWebAuthenticationCA method setPassword_Terms.
public void setPassword_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "password");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebAuthenticationCA ca = new WebAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsWebAuthenticationCA method setHostname_Terms.
public void setHostname_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "hostname");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebAuthenticationCA ca = new WebAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsWebConfigCA method setUserAgent_Terms.
public void setUserAgent_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "userAgent");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebConfigCA ca = new WebConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations