use of org.elasticsearch.search.aggregations.bucket.range.ip.IpRangeAggregationBuilder in project fess by codelibs.
the class BsUserCA method setPager_IpRange.
public void setPager_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "pager");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
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 BsUserCA method setEmployeeType_IpRange.
public void setEmployeeType_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "employeeType");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
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 BsUserCA method setHomePostalAddress_IpRange.
public void setHomePostalAddress_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "homePostalAddress");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
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 BsUserCA method setGivenName_IpRange.
public void setGivenName_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "givenName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
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 BsUserCA method setPostOfficeBox_IpRange.
public void setPostOfficeBox_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "postOfficeBox");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations