use of org.codelibs.fess.es.log.cbean.ca.UserInfoCA in project fess by codelibs.
the class BsUserInfoCA method setUpdatedAt_DateRange.
public void setUpdatedAt_DateRange(String name, ConditionOptionCall<DateRangeAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
DateRangeAggregationBuilder builder = regDateRangeA(name, "updatedAt");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserInfoCA ca = new UserInfoCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.log.cbean.ca.UserInfoCA in project fess by codelibs.
the class BsUserInfoCA method setUpdatedAt_DateHistogram.
public void setUpdatedAt_DateHistogram(String name, ConditionOptionCall<DateHistogramAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
DateHistogramAggregationBuilder builder = regDateHistogramA(name, "updatedAt");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserInfoCA ca = new UserInfoCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.log.cbean.ca.UserInfoCA in project fess by codelibs.
the class BsUserInfoCA method setCreatedAt_DateRange.
public void setCreatedAt_DateRange(String name, ConditionOptionCall<DateRangeAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
DateRangeAggregationBuilder builder = regDateRangeA(name, "createdAt");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserInfoCA ca = new UserInfoCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.log.cbean.ca.UserInfoCA in project fess by codelibs.
the class BsUserInfoCA method global.
public void global(String name, ConditionOptionCall<GlobalAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
GlobalAggregationBuilder builder = regGlobalA(name);
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserInfoCA ca = new UserInfoCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations