use of org.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.
the class BsScheduledJobCA method setCrawler_Missing.
public void setCrawler_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsScheduledJobCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "crawler");
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.missing.MissingAggregationBuilder in project fess by codelibs.
the class BsPathMappingCA method setProcessType_Missing.
public void setProcessType_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "processType");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
PathMappingCA ca = new PathMappingCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.
the class BsRequestHeaderCA method setCreatedTime_Missing.
public void setCreatedTime_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsRequestHeaderCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "createdTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RequestHeaderCA ca = new RequestHeaderCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.
the class BsRequestHeaderCA method setUpdatedTime_Missing.
public void setUpdatedTime_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsRequestHeaderCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "updatedTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RequestHeaderCA ca = new RequestHeaderCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.missing.MissingAggregationBuilder in project fess by codelibs.
the class BsRequestHeaderCA method setUpdatedBy_Missing.
public void setUpdatedBy_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsRequestHeaderCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RequestHeaderCA ca = new RequestHeaderCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations