Search in sources :

Example 1 with WebAuthenticationCA

use of org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA in project fess by codelibs.

the class BsWebAuthenticationCA method setProtocolScheme_SignificantTerms.

public void setProtocolScheme_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "protocolScheme");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebAuthenticationCA ca = new WebAuthenticationCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : WebAuthenticationCA(org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA) SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder)

Example 2 with WebAuthenticationCA

use of org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA in project fess by codelibs.

the class BsWebAuthenticationCA method setCreatedTime_Range.

public void setCreatedTime_Range(String name, ConditionOptionCall<RangeAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
    RangeAggregationBuilder builder = regRangeA(name, "createdTime");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebAuthenticationCA ca = new WebAuthenticationCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : WebAuthenticationCA(org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA) RangeAggregationBuilder(org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder) IpRangeAggregationBuilder(org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder)

Example 3 with WebAuthenticationCA

use of org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA in project fess by codelibs.

the class BsWebAuthenticationCA method setHostname_Missing.

public void setHostname_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
    MissingAggregationBuilder builder = regMissingA(name, "hostname");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebAuthenticationCA ca = new WebAuthenticationCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : WebAuthenticationCA(org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA) MissingAggregationBuilder(org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)

Example 4 with WebAuthenticationCA

use of org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA in project fess by codelibs.

the class BsWebAuthenticationCA method setPort_Histogram.

public void setPort_Histogram(String name, ConditionOptionCall<HistogramAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
    HistogramAggregationBuilder builder = regHistogramA(name, "port");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebAuthenticationCA ca = new WebAuthenticationCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : HistogramAggregationBuilder(org.opensearch.search.aggregations.bucket.histogram.HistogramAggregationBuilder) WebAuthenticationCA(org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)

Example 5 with WebAuthenticationCA

use of org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA in project fess by codelibs.

the class BsWebAuthenticationCA method sampler.

public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsWebAuthenticationCA> aggsLambda) {
    SamplerAggregationBuilder builder = regSamplerA(name);
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        WebAuthenticationCA ca = new WebAuthenticationCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : WebAuthenticationCA(org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA) SamplerAggregationBuilder(org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder)

Aggregations

WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)48 SignificantTermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder)18 MissingAggregationBuilder (org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder)12 IpRangeAggregationBuilder (org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder)12 TermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder)9 HistogramAggregationBuilder (org.opensearch.search.aggregations.bucket.histogram.HistogramAggregationBuilder)3 RangeAggregationBuilder (org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder)3 WebAuthenticationCQ (org.codelibs.fess.es.config.cbean.cq.WebAuthenticationCQ)1 BsWebAuthenticationCQ (org.codelibs.fess.es.config.cbean.cq.bs.BsWebAuthenticationCQ)1 FilterAggregationBuilder (org.opensearch.search.aggregations.bucket.filter.FilterAggregationBuilder)1 GlobalAggregationBuilder (org.opensearch.search.aggregations.bucket.global.GlobalAggregationBuilder)1 SamplerAggregationBuilder (org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder)1