use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsUserCA method setPassword_IpRange.
public void setPassword_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "password");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsUserCA method setBusinessCategory_IpRange.
public void setBusinessCategory_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "businessCategory");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsUserCA method setRoles_IpRange.
public void setRoles_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "roles");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.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.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsUserCA method setInitials_IpRange.
public void setInitials_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsUserCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "initials");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserCA ca = new UserCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations