use of org.codelibs.fess.es.log.cbean.ca.UserInfoCA in project fess by codelibs.
the class BsUserInfoCA method filter.
// ===================================================================================
// Aggregation Set
// =========
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsUserInfoCQ> queryLambda, ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
UserInfoCQ cq = new UserInfoCQ();
if (queryLambda != null) {
queryLambda.callback(cq);
}
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
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_DateHistogram.
public void setCreatedAt_DateHistogram(String name, ConditionOptionCall<DateHistogramAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
DateHistogramAggregationBuilder builder = regDateHistogramA(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 setCreatedAt_Missing.
public void setCreatedAt_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(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 sampler.
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
SamplerAggregationBuilder builder = regSamplerA(name);
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_Missing.
public void setUpdatedAt_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsUserInfoCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "updatedAt");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
UserInfoCA ca = new UserInfoCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations