use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method sampler.
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
SamplerAggregationBuilder builder = regSamplerA(name);
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setUpdatedBy_Terms.
public void setUpdatedBy_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setUpdatedBy_Missing.
public void setUpdatedBy_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "updatedBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setHostname_IpRange.
public void setHostname_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "hostname");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setUpdatedTime_Range.
public void setUpdatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
RangeAggregationBuilder builder = regRangeA(name, "updatedTime");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations