use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsPathMappingCA method setUpdatedBy_IpRange.
public void setUpdatedBy_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
PathMappingCA ca = new PathMappingCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsPathMappingCA method setReplacement_IpRange.
public void setReplacement_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsPathMappingCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "replacement");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
PathMappingCA ca = new PathMappingCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsRelatedContentCA method setCreatedBy_IpRange.
public void setCreatedBy_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsRelatedContentCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RelatedContentCA ca = new RelatedContentCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsRelatedContentCA method setContent_IpRange.
public void setContent_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsRelatedContentCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "content");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RelatedContentCA ca = new RelatedContentCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsLabelTypeCA method setUpdatedBy_IpRange.
public void setUpdatedBy_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsLabelTypeCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
LabelTypeCA ca = new LabelTypeCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations