use of org.elasticsearch.search.aggregations.bucket.range.ip.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.elasticsearch.search.aggregations.bucket.range.ip.IpRangeAggregationBuilder in project fess by codelibs.
the class BsRequestHeaderCA method setWebConfigId_IpRange.
public void setWebConfigId_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsRequestHeaderCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "webConfigId");
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.range.ip.IpRangeAggregationBuilder in project fess by codelibs.
the class BsRequestHeaderCA method setCreatedBy_IpRange.
public void setCreatedBy_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsRequestHeaderCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "createdBy");
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.range.ip.IpRangeAggregationBuilder in project fess by codelibs.
the class BsRoleTypeCA method setName_IpRange.
public void setName_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsRoleTypeCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "name");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RoleTypeCA ca = new RoleTypeCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.elasticsearch.search.aggregations.bucket.range.ip.IpRangeAggregationBuilder in project fess by codelibs.
the class BsRequestHeaderCA method setName_IpRange.
public void setName_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsRequestHeaderCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "name");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
RequestHeaderCA ca = new RequestHeaderCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations