use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsFavoriteLogCA method setUserInfoId_IpRange.
public void setUserInfoId_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsFavoriteLogCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "userInfoId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FavoriteLogCA ca = new FavoriteLogCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsFailureUrlCA method setErrorName_IpRange.
public void setErrorName_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "errorName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsFailureUrlCA method setThreadName_IpRange.
public void setThreadName_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "threadName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsElevateWordToLabelCA method setElevateWordId_IpRange.
public void setElevateWordId_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "elevateWordId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder in project fess by codelibs.
the class BsElevateWordToLabelCA method setLabelTypeId_IpRange.
public void setLabelTypeId_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "labelTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations