use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsThumbnailQueueCA method setCreatedBy_Terms.
public void setCreatedBy_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ThumbnailQueueCA ca = new ThumbnailQueueCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsThumbnailQueueCA method setPath_Terms.
public void setPath_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "path");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ThumbnailQueueCA ca = new ThumbnailQueueCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsScheduledJobCA method setCreatedBy_Terms.
public void setCreatedBy_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ScheduledJobCA ca = new ScheduledJobCA();
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 setAuthRealm_Terms.
public void setAuthRealm_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "authRealm");
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 setProtocolScheme_Terms.
public void setProtocolScheme_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "protocolScheme");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
WebAuthenticationCA ca = new WebAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations