use of org.codelibs.fess.es.config.cbean.ca.AccessTokenCA in project fess by codelibs.
the class BsAccessTokenCA method setExpiredTime_Histogram.
public void setExpiredTime_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
HistogramAggregationBuilder builder = regHistogramA(name, "expiredTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
AccessTokenCA ca = new AccessTokenCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.AccessTokenCA in project fess by codelibs.
the class BsAccessTokenCA method setParameterName_SignificantTerms.
public void setParameterName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "parameter_name");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
AccessTokenCA ca = new AccessTokenCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.AccessTokenCA in project fess by codelibs.
the class BsAccessTokenCA method setToken_Missing.
public void setToken_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "token");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
AccessTokenCA ca = new AccessTokenCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.AccessTokenCA in project fess by codelibs.
the class BsAccessTokenCA method setUpdatedBy_IpRange.
public void setUpdatedBy_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
AccessTokenCA ca = new AccessTokenCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.AccessTokenCA in project fess by codelibs.
the class BsAccessTokenCA method setUpdatedBy_SignificantTerms.
public void setUpdatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
AccessTokenCA ca = new AccessTokenCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations