use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsFileAuthenticationCA method setParameters_Terms.
public void setParameters_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "parameters");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsJobLogCA method setJobName_Terms.
public void setJobName_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsJobLogCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "jobName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
JobLogCA ca = new JobLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsFileConfigCA method setExcludedPaths_Terms.
public void setExcludedPaths_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "excludedPaths");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigCA ca = new FileConfigCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsJobLogCA method setScriptData_Terms.
public void setScriptData_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsJobLogCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "scriptData");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
JobLogCA ca = new JobLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder in project fess by codelibs.
the class BsJobLogCA method setTarget_Terms.
public void setTarget_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsJobLogCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "target");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
JobLogCA ca = new JobLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations