update esflute
This commit is contained in:
parent
a61219b117
commit
5f80207f01
160 changed files with 53344 additions and 0 deletions
|
@ -158,6 +158,9 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
|
|||
list.setTotalShards(response.getTotalShards());
|
||||
list.setSuccessfulShards(response.getSuccessfulShards());
|
||||
list.setFailedShards(response.getFailedShards());
|
||||
|
||||
list.setAggregation(response.getAggregations());
|
||||
|
||||
// #pending others
|
||||
|
||||
return list;
|
||||
|
|
|
@ -0,0 +1,282 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.allcommon;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.dbflute.exception.InvalidQueryRegisteredException;
|
||||
import org.elasticsearch.index.query.QueryBuilder;
|
||||
import org.elasticsearch.search.aggregations.AbstractAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.histogram.DateHistogramBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.histogram.HistogramBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.date.DateRangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.avg.AvgBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.max.MaxBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.min.MinBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.percentiles.PercentileRanksBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.percentiles.PercentilesBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.stats.StatsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.stats.extended.ExtendedStatsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.sum.SumBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class EsAbstractConditionAggregation {
|
||||
|
||||
protected static final String CA_PROPERTY = "conditionAggregation";
|
||||
|
||||
// ===================================================================================
|
||||
// Attribute
|
||||
// =========
|
||||
protected List<AbstractAggregationBuilder> aggregationBuilderList;
|
||||
|
||||
// ===================================================================================
|
||||
// Control
|
||||
// =======
|
||||
|
||||
public boolean hasAggregations() {
|
||||
return aggregationBuilderList != null && !aggregationBuilderList.isEmpty();
|
||||
}
|
||||
|
||||
public List<AbstractAggregationBuilder> getAggregationBuilderList() {
|
||||
return aggregationBuilderList != null ? aggregationBuilderList : Collections.emptyList();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// =====
|
||||
public void addAggregation(AbstractAggregationBuilder aggregationBuilder) {
|
||||
assertObjectNotNull("aggregationBuilder", aggregationBuilder);
|
||||
regA(aggregationBuilder);
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Register
|
||||
// ========
|
||||
|
||||
protected AvgBuilder regAvgA(String name, String field) {
|
||||
AvgBuilder builder = AggregationBuilders.avg(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected MaxBuilder regMaxA(String name, String field) {
|
||||
MaxBuilder builder = AggregationBuilders.max(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected MinBuilder regMinA(String name, String field) {
|
||||
MinBuilder builder = AggregationBuilders.min(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected SumBuilder regSumA(String name, String field) {
|
||||
SumBuilder builder = AggregationBuilders.sum(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected ExtendedStatsBuilder regExtendedStatsA(String name, String field) {
|
||||
ExtendedStatsBuilder builder = AggregationBuilders.extendedStats(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected StatsBuilder regStatsA(String name, String field) {
|
||||
StatsBuilder builder = AggregationBuilders.stats(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected PercentilesBuilder regPercentilesA(String name, String field) {
|
||||
PercentilesBuilder builder = AggregationBuilders.percentiles(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected PercentileRanksBuilder regPercentileRanksA(String name, String field) {
|
||||
PercentileRanksBuilder builder = AggregationBuilders.percentileRanks(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected CardinalityBuilder regCardinalityA(String name, String field) {
|
||||
CardinalityBuilder builder = AggregationBuilders.cardinality(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected ValueCountBuilder regCountA(String name, String field) {
|
||||
ValueCountBuilder builder = AggregationBuilders.count(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected TermsBuilder regTermsA(String name, String field) {
|
||||
TermsBuilder builder = AggregationBuilders.terms(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected SignificantTermsBuilder regSignificantTermsA(String name, String field) {
|
||||
SignificantTermsBuilder builder = AggregationBuilders.significantTerms(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected HistogramBuilder regHistogramA(String name, String field) {
|
||||
HistogramBuilder builder = AggregationBuilders.histogram(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected DateHistogramBuilder regDateHistogramA(String name, String field) {
|
||||
DateHistogramBuilder builder = AggregationBuilders.dateHistogram(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected RangeBuilder regRangeA(String name, String field) {
|
||||
RangeBuilder builder = AggregationBuilders.range(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected DateRangeBuilder regDateRangeA(String name, String field) {
|
||||
DateRangeBuilder builder = AggregationBuilders.dateRange(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected IPv4RangeBuilder regIpRangeA(String name, String field) {
|
||||
IPv4RangeBuilder builder = AggregationBuilders.ipRange(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected MissingBuilder regMissingA(String name, String field) {
|
||||
MissingBuilder builder = AggregationBuilders.missing(name).field(field);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected FilterAggregationBuilder regFilterA(String name, QueryBuilder filter) {
|
||||
FilterAggregationBuilder builder = AggregationBuilders.filter(name).filter(filter);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected GlobalBuilder regGlobalA(String name) {
|
||||
GlobalBuilder builder = AggregationBuilders.global(name);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected SamplerAggregationBuilder regSamplerA(String name) {
|
||||
SamplerAggregationBuilder builder = AggregationBuilders.sampler(name);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected ScriptedMetricBuilder regScriptedMetricA(String name) {
|
||||
ScriptedMetricBuilder builder = AggregationBuilders.scriptedMetric(name);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected TopHitsBuilder regTopHitsA(String name) {
|
||||
TopHitsBuilder builder = AggregationBuilders.topHits(name);
|
||||
regA(builder);
|
||||
return builder;
|
||||
}
|
||||
|
||||
protected void regA(AbstractAggregationBuilder builder) {
|
||||
assertObjectNotNull("builder", builder);
|
||||
if (aggregationBuilderList == null) {
|
||||
aggregationBuilderList = new ArrayList<>();
|
||||
}
|
||||
aggregationBuilderList.add(builder);
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Invalid Aggregation
|
||||
// =============
|
||||
protected void checkEsInvalidAggregation(String name, Object value) {
|
||||
if (value == null || (value instanceof String && ((String) value).isEmpty())) {
|
||||
String msg = "Cannot register null or empty aggregation: name=" + name + " value=" + value;
|
||||
throw new InvalidQueryRegisteredException(msg);
|
||||
}
|
||||
}
|
||||
|
||||
protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) {
|
||||
if (values == null || values.isEmpty()) {
|
||||
String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
|
||||
throw new InvalidQueryRegisteredException(msg);
|
||||
}
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// General Helper
|
||||
// ==============
|
||||
protected void assertObjectNotNull(String variableName, Object value) {
|
||||
if (variableName == null) {
|
||||
String msg = "The value should not be null: variableName=null value=" + value;
|
||||
throw new IllegalArgumentException(msg);
|
||||
}
|
||||
if (value == null) {
|
||||
String msg = "The value should not be null: variableName=" + variableName;
|
||||
throw new IllegalArgumentException(msg);
|
||||
}
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Assist Class
|
||||
// ============
|
||||
|
||||
@FunctionalInterface
|
||||
public interface ConditionOptionCall<OP extends AbstractAggregationBuilder> {
|
||||
|
||||
/**
|
||||
* @param op The option of condition to be set up. (NotNull)
|
||||
*/
|
||||
void callback(OP op);
|
||||
}
|
||||
|
||||
@FunctionalInterface
|
||||
public interface OperatorCall<CA extends EsAbstractConditionAggregation> {
|
||||
|
||||
void callback(CA query);
|
||||
}
|
||||
}
|
|
@ -49,6 +49,8 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.ScoreFunctionBuilder;
|
||||
import org.elasticsearch.search.sort.FieldSortBuilder;
|
||||
import org.elasticsearch.search.sort.SortBuilders;
|
||||
import org.elasticsearch.search.sort.SortOrder;
|
||||
|
@ -150,6 +152,12 @@ public abstract class EsAbstractConditionQuery implements ConditionQuery {
|
|||
// Register
|
||||
// ========
|
||||
|
||||
protected FunctionScoreQueryBuilder regFunctionScoreQ(QueryBuilder queryBuilder) {
|
||||
FunctionScoreQueryBuilder functionScoreQuery = QueryBuilders.functionScoreQuery(queryBuilder);
|
||||
regQ(functionScoreQuery);
|
||||
return functionScoreQuery;
|
||||
}
|
||||
|
||||
protected BoolQueryBuilder regBoolCQ(List<QueryBuilder> mustList, List<QueryBuilder> shouldList, List<QueryBuilder> mustNotList,
|
||||
List<QueryBuilder> filterList) {
|
||||
assertObjectNotNull("mustList", mustList);
|
||||
|
@ -516,4 +524,15 @@ public abstract class EsAbstractConditionQuery implements ConditionQuery {
|
|||
|
||||
void callback(CQ query);
|
||||
}
|
||||
|
||||
@FunctionalInterface
|
||||
public interface ScoreFunctionCall<CC extends ScoreFunctionCreator<?>> {
|
||||
|
||||
void callback(CC creator);
|
||||
}
|
||||
|
||||
@FunctionalInterface
|
||||
public interface ScoreFunctionCreator<T extends EsAbstractConditionQuery> {
|
||||
void filter(final OperatorCall<T> cqLambda, final ScoreFunctionBuilder scoreFunctionBuilder);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ package org.codelibs.fess.es.config.allcommon;
|
|||
|
||||
import org.dbflute.cbean.result.PagingResultBean;
|
||||
import org.elasticsearch.action.search.SearchRequestBuilder;
|
||||
import org.elasticsearch.search.aggregations.Aggregations;
|
||||
|
||||
/**
|
||||
* @param <ENTITY> The type of entity.
|
||||
|
@ -30,6 +31,8 @@ public class EsPagingResultBean<ENTITY> extends PagingResultBean<ENTITY> {
|
|||
private int totalShards;
|
||||
private int successfulShards;
|
||||
private int failedShards;
|
||||
private Aggregations aggregations;
|
||||
|
||||
private SearchRequestBuilder builder;
|
||||
|
||||
public EsPagingResultBean(final SearchRequestBuilder builder) {
|
||||
|
@ -71,4 +74,13 @@ public class EsPagingResultBean<ENTITY> extends PagingResultBean<ENTITY> {
|
|||
public void setFailedShards(int failedShards) {
|
||||
this.failedShards = failedShards;
|
||||
}
|
||||
|
||||
public Aggregations getAggregations() {
|
||||
return aggregations;
|
||||
}
|
||||
|
||||
public void setAggregation(Aggregations aggregations) {
|
||||
this.aggregations = aggregations;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.AccessTokenDbm;
|
||||
import org.codelibs.fess.es.config.cbean.AccessTokenCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.AccessTokenCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsAccessTokenCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.AccessTokenCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsAccessTokenCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsAccessTokenCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsAccessTokenCQ _conditionQuery;
|
||||
protected BsAccessTokenCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsAccessTokenCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsAccessTokenCB extends EsAbstractConditionBean {
|
|||
return new AccessTokenCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsAccessTokenCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsAccessTokenCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsAccessTokenCA createLocalCA() {
|
||||
return new AccessTokenCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsAccessTokenCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.BadWordDbm;
|
||||
import org.codelibs.fess.es.config.cbean.BadWordCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.BadWordCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsBadWordCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.BadWordCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsBadWordCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsBadWordCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsBadWordCQ _conditionQuery;
|
||||
protected BsBadWordCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsBadWordCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsBadWordCB extends EsAbstractConditionBean {
|
|||
return new BadWordCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsBadWordCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsBadWordCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsBadWordCA createLocalCA() {
|
||||
return new BadWordCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsBadWordCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.BoostDocumentRuleDbm;
|
||||
import org.codelibs.fess.es.config.cbean.BoostDocumentRuleCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.BoostDocumentRuleCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsBoostDocumentRuleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.BoostDocumentRuleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsBoostDocumentRuleCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsBoostDocumentRuleCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsBoostDocumentRuleCQ _conditionQuery;
|
||||
protected BsBoostDocumentRuleCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsBoostDocumentRuleCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsBoostDocumentRuleCB extends EsAbstractConditionBean {
|
|||
return new BoostDocumentRuleCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsBoostDocumentRuleCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsBoostDocumentRuleCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsBoostDocumentRuleCA createLocalCA() {
|
||||
return new BoostDocumentRuleCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsBoostDocumentRuleCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.CrawlingInfoDbm;
|
||||
import org.codelibs.fess.es.config.cbean.CrawlingInfoCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.CrawlingInfoCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsCrawlingInfoCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.CrawlingInfoCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsCrawlingInfoCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsCrawlingInfoCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsCrawlingInfoCQ _conditionQuery;
|
||||
protected BsCrawlingInfoCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsCrawlingInfoCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsCrawlingInfoCB extends EsAbstractConditionBean {
|
|||
return new CrawlingInfoCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsCrawlingInfoCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsCrawlingInfoCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsCrawlingInfoCA createLocalCA() {
|
||||
return new CrawlingInfoCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsCrawlingInfoCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.CrawlingInfoParamDbm;
|
||||
import org.codelibs.fess.es.config.cbean.CrawlingInfoParamCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.CrawlingInfoParamCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsCrawlingInfoParamCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.CrawlingInfoParamCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsCrawlingInfoParamCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsCrawlingInfoParamCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsCrawlingInfoParamCQ _conditionQuery;
|
||||
protected BsCrawlingInfoParamCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsCrawlingInfoParamCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsCrawlingInfoParamCB extends EsAbstractConditionBean {
|
|||
return new CrawlingInfoParamCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsCrawlingInfoParamCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsCrawlingInfoParamCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsCrawlingInfoParamCA createLocalCA() {
|
||||
return new CrawlingInfoParamCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsCrawlingInfoParamCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.DataConfigDbm;
|
||||
import org.codelibs.fess.es.config.cbean.DataConfigCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.DataConfigCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsDataConfigCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.DataConfigCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsDataConfigCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsDataConfigCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsDataConfigCQ _conditionQuery;
|
||||
protected BsDataConfigCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsDataConfigCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsDataConfigCB extends EsAbstractConditionBean {
|
|||
return new DataConfigCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsDataConfigCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsDataConfigCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsDataConfigCA createLocalCA() {
|
||||
return new DataConfigCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsDataConfigCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.DataConfigToLabelDbm;
|
||||
import org.codelibs.fess.es.config.cbean.DataConfigToLabelCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.DataConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsDataConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.DataConfigToLabelCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsDataConfigToLabelCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsDataConfigToLabelCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsDataConfigToLabelCQ _conditionQuery;
|
||||
protected BsDataConfigToLabelCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsDataConfigToLabelCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsDataConfigToLabelCB extends EsAbstractConditionBean {
|
|||
return new DataConfigToLabelCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsDataConfigToLabelCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsDataConfigToLabelCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsDataConfigToLabelCA createLocalCA() {
|
||||
return new DataConfigToLabelCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsDataConfigToLabelCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.DataConfigToRoleDbm;
|
||||
import org.codelibs.fess.es.config.cbean.DataConfigToRoleCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.DataConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsDataConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.DataConfigToRoleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsDataConfigToRoleCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsDataConfigToRoleCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsDataConfigToRoleCQ _conditionQuery;
|
||||
protected BsDataConfigToRoleCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsDataConfigToRoleCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsDataConfigToRoleCB extends EsAbstractConditionBean {
|
|||
return new DataConfigToRoleCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsDataConfigToRoleCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsDataConfigToRoleCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsDataConfigToRoleCA createLocalCA() {
|
||||
return new DataConfigToRoleCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsDataConfigToRoleCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.DuplicateHostDbm;
|
||||
import org.codelibs.fess.es.config.cbean.DuplicateHostCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.DuplicateHostCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsDuplicateHostCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.DuplicateHostCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsDuplicateHostCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsDuplicateHostCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsDuplicateHostCQ _conditionQuery;
|
||||
protected BsDuplicateHostCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsDuplicateHostCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsDuplicateHostCB extends EsAbstractConditionBean {
|
|||
return new DuplicateHostCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsDuplicateHostCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsDuplicateHostCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsDuplicateHostCA createLocalCA() {
|
||||
return new DuplicateHostCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsDuplicateHostCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.ElevateWordDbm;
|
||||
import org.codelibs.fess.es.config.cbean.ElevateWordCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.ElevateWordCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsElevateWordCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.ElevateWordCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsElevateWordCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsElevateWordCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsElevateWordCQ _conditionQuery;
|
||||
protected BsElevateWordCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsElevateWordCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsElevateWordCB extends EsAbstractConditionBean {
|
|||
return new ElevateWordCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsElevateWordCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsElevateWordCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsElevateWordCA createLocalCA() {
|
||||
return new ElevateWordCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsElevateWordCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.ElevateWordToLabelDbm;
|
||||
import org.codelibs.fess.es.config.cbean.ElevateWordToLabelCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.ElevateWordToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsElevateWordToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.ElevateWordToLabelCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsElevateWordToLabelCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsElevateWordToLabelCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsElevateWordToLabelCQ _conditionQuery;
|
||||
protected BsElevateWordToLabelCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsElevateWordToLabelCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsElevateWordToLabelCB extends EsAbstractConditionBean {
|
|||
return new ElevateWordToLabelCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsElevateWordToLabelCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsElevateWordToLabelCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsElevateWordToLabelCA createLocalCA() {
|
||||
return new ElevateWordToLabelCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsElevateWordToLabelCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.FailureUrlDbm;
|
||||
import org.codelibs.fess.es.config.cbean.FailureUrlCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.FailureUrlCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFailureUrlCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.FailureUrlCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsFailureUrlCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsFailureUrlCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsFailureUrlCQ _conditionQuery;
|
||||
protected BsFailureUrlCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsFailureUrlCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsFailureUrlCB extends EsAbstractConditionBean {
|
|||
return new FailureUrlCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsFailureUrlCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsFailureUrlCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsFailureUrlCA createLocalCA() {
|
||||
return new FailureUrlCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsFailureUrlCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.FileAuthenticationDbm;
|
||||
import org.codelibs.fess.es.config.cbean.FileAuthenticationCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFileAuthenticationCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.FileAuthenticationCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsFileAuthenticationCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsFileAuthenticationCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsFileAuthenticationCQ _conditionQuery;
|
||||
protected BsFileAuthenticationCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsFileAuthenticationCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsFileAuthenticationCB extends EsAbstractConditionBean {
|
|||
return new FileAuthenticationCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsFileAuthenticationCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsFileAuthenticationCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsFileAuthenticationCA createLocalCA() {
|
||||
return new FileAuthenticationCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsFileAuthenticationCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.FileConfigDbm;
|
||||
import org.codelibs.fess.es.config.cbean.FileConfigCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.FileConfigCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFileConfigCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.FileConfigCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsFileConfigCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsFileConfigCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsFileConfigCQ _conditionQuery;
|
||||
protected BsFileConfigCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsFileConfigCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsFileConfigCB extends EsAbstractConditionBean {
|
|||
return new FileConfigCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsFileConfigCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsFileConfigCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsFileConfigCA createLocalCA() {
|
||||
return new FileConfigCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsFileConfigCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.FileConfigToLabelDbm;
|
||||
import org.codelibs.fess.es.config.cbean.FileConfigToLabelCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.FileConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFileConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.FileConfigToLabelCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsFileConfigToLabelCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsFileConfigToLabelCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsFileConfigToLabelCQ _conditionQuery;
|
||||
protected BsFileConfigToLabelCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsFileConfigToLabelCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsFileConfigToLabelCB extends EsAbstractConditionBean {
|
|||
return new FileConfigToLabelCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsFileConfigToLabelCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsFileConfigToLabelCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsFileConfigToLabelCA createLocalCA() {
|
||||
return new FileConfigToLabelCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsFileConfigToLabelCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.FileConfigToRoleDbm;
|
||||
import org.codelibs.fess.es.config.cbean.FileConfigToRoleCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.FileConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFileConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.FileConfigToRoleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsFileConfigToRoleCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsFileConfigToRoleCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsFileConfigToRoleCQ _conditionQuery;
|
||||
protected BsFileConfigToRoleCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsFileConfigToRoleCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsFileConfigToRoleCB extends EsAbstractConditionBean {
|
|||
return new FileConfigToRoleCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsFileConfigToRoleCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsFileConfigToRoleCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsFileConfigToRoleCA createLocalCA() {
|
||||
return new FileConfigToRoleCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsFileConfigToRoleCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.JobLogDbm;
|
||||
import org.codelibs.fess.es.config.cbean.JobLogCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.JobLogCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsJobLogCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.JobLogCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsJobLogCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsJobLogCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsJobLogCQ _conditionQuery;
|
||||
protected BsJobLogCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsJobLogCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsJobLogCB extends EsAbstractConditionBean {
|
|||
return new JobLogCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsJobLogCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsJobLogCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsJobLogCA createLocalCA() {
|
||||
return new JobLogCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsJobLogCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.KeyMatchDbm;
|
||||
import org.codelibs.fess.es.config.cbean.KeyMatchCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.KeyMatchCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsKeyMatchCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.KeyMatchCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsKeyMatchCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsKeyMatchCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsKeyMatchCQ _conditionQuery;
|
||||
protected BsKeyMatchCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsKeyMatchCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsKeyMatchCB extends EsAbstractConditionBean {
|
|||
return new KeyMatchCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsKeyMatchCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsKeyMatchCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsKeyMatchCA createLocalCA() {
|
||||
return new KeyMatchCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsKeyMatchCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.LabelToRoleDbm;
|
||||
import org.codelibs.fess.es.config.cbean.LabelToRoleCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.LabelToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsLabelToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.LabelToRoleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsLabelToRoleCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsLabelToRoleCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsLabelToRoleCQ _conditionQuery;
|
||||
protected BsLabelToRoleCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsLabelToRoleCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsLabelToRoleCB extends EsAbstractConditionBean {
|
|||
return new LabelToRoleCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsLabelToRoleCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsLabelToRoleCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsLabelToRoleCA createLocalCA() {
|
||||
return new LabelToRoleCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsLabelToRoleCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.LabelTypeDbm;
|
||||
import org.codelibs.fess.es.config.cbean.LabelTypeCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.LabelTypeCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsLabelTypeCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.LabelTypeCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsLabelTypeCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsLabelTypeCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsLabelTypeCQ _conditionQuery;
|
||||
protected BsLabelTypeCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsLabelTypeCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsLabelTypeCB extends EsAbstractConditionBean {
|
|||
return new LabelTypeCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsLabelTypeCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsLabelTypeCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsLabelTypeCA createLocalCA() {
|
||||
return new LabelTypeCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsLabelTypeCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.PathMappingDbm;
|
||||
import org.codelibs.fess.es.config.cbean.PathMappingCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.PathMappingCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsPathMappingCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.PathMappingCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsPathMappingCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsPathMappingCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsPathMappingCQ _conditionQuery;
|
||||
protected BsPathMappingCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsPathMappingCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsPathMappingCB extends EsAbstractConditionBean {
|
|||
return new PathMappingCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsPathMappingCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsPathMappingCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsPathMappingCA createLocalCA() {
|
||||
return new PathMappingCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsPathMappingCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.RequestHeaderDbm;
|
||||
import org.codelibs.fess.es.config.cbean.RequestHeaderCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.RequestHeaderCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsRequestHeaderCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.RequestHeaderCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsRequestHeaderCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsRequestHeaderCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsRequestHeaderCQ _conditionQuery;
|
||||
protected BsRequestHeaderCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsRequestHeaderCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsRequestHeaderCB extends EsAbstractConditionBean {
|
|||
return new RequestHeaderCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsRequestHeaderCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsRequestHeaderCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsRequestHeaderCA createLocalCA() {
|
||||
return new RequestHeaderCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsRequestHeaderCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.RoleTypeDbm;
|
||||
import org.codelibs.fess.es.config.cbean.RoleTypeCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.RoleTypeCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsRoleTypeCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.RoleTypeCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsRoleTypeCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsRoleTypeCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsRoleTypeCQ _conditionQuery;
|
||||
protected BsRoleTypeCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsRoleTypeCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsRoleTypeCB extends EsAbstractConditionBean {
|
|||
return new RoleTypeCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsRoleTypeCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsRoleTypeCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsRoleTypeCA createLocalCA() {
|
||||
return new RoleTypeCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsRoleTypeCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.ScheduledJobDbm;
|
||||
import org.codelibs.fess.es.config.cbean.ScheduledJobCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsScheduledJobCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.ScheduledJobCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsScheduledJobCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsScheduledJobCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsScheduledJobCQ _conditionQuery;
|
||||
protected BsScheduledJobCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsScheduledJobCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsScheduledJobCB extends EsAbstractConditionBean {
|
|||
return new ScheduledJobCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsScheduledJobCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsScheduledJobCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsScheduledJobCA createLocalCA() {
|
||||
return new ScheduledJobCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsScheduledJobCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.ThumbnailQueueDbm;
|
||||
import org.codelibs.fess.es.config.cbean.ThumbnailQueueCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsThumbnailQueueCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.ThumbnailQueueCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsThumbnailQueueCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsThumbnailQueueCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsThumbnailQueueCQ _conditionQuery;
|
||||
protected BsThumbnailQueueCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsThumbnailQueueCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsThumbnailQueueCB extends EsAbstractConditionBean {
|
|||
return new ThumbnailQueueCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsThumbnailQueueCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsThumbnailQueueCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsThumbnailQueueCA createLocalCA() {
|
||||
return new ThumbnailQueueCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsThumbnailQueueCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.WebAuthenticationDbm;
|
||||
import org.codelibs.fess.es.config.cbean.WebAuthenticationCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsWebAuthenticationCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.WebAuthenticationCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsWebAuthenticationCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsWebAuthenticationCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsWebAuthenticationCQ _conditionQuery;
|
||||
protected BsWebAuthenticationCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsWebAuthenticationCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsWebAuthenticationCB extends EsAbstractConditionBean {
|
|||
return new WebAuthenticationCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsWebAuthenticationCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsWebAuthenticationCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsWebAuthenticationCA createLocalCA() {
|
||||
return new WebAuthenticationCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsWebAuthenticationCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.WebConfigDbm;
|
||||
import org.codelibs.fess.es.config.cbean.WebConfigCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.WebConfigCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsWebConfigCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.WebConfigCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsWebConfigCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsWebConfigCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsWebConfigCQ _conditionQuery;
|
||||
protected BsWebConfigCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsWebConfigCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsWebConfigCB extends EsAbstractConditionBean {
|
|||
return new WebConfigCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsWebConfigCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsWebConfigCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsWebConfigCA createLocalCA() {
|
||||
return new WebConfigCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsWebConfigCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.WebConfigToLabelDbm;
|
||||
import org.codelibs.fess.es.config.cbean.WebConfigToLabelCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.WebConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsWebConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.WebConfigToLabelCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsWebConfigToLabelCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsWebConfigToLabelCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsWebConfigToLabelCQ _conditionQuery;
|
||||
protected BsWebConfigToLabelCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsWebConfigToLabelCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsWebConfigToLabelCB extends EsAbstractConditionBean {
|
|||
return new WebConfigToLabelCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsWebConfigToLabelCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsWebConfigToLabelCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsWebConfigToLabelCA createLocalCA() {
|
||||
return new WebConfigToLabelCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsWebConfigToLabelCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.util.Map;
|
|||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
|
||||
import org.codelibs.fess.es.config.bsentity.dbmeta.WebConfigToRoleDbm;
|
||||
import org.codelibs.fess.es.config.cbean.WebConfigToRoleCB;
|
||||
import org.codelibs.fess.es.config.cbean.ca.WebConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsWebConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.WebConfigToRoleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsWebConfigToRoleCQ;
|
||||
import org.dbflute.cbean.ConditionQuery;
|
||||
|
@ -37,6 +39,7 @@ public class BsWebConfigToRoleCB extends EsAbstractConditionBean {
|
|||
// Attribute
|
||||
// =========
|
||||
protected BsWebConfigToRoleCQ _conditionQuery;
|
||||
protected BsWebConfigToRoleCA _conditionAggregation;
|
||||
protected HpSpecification _specification;
|
||||
|
||||
// ===================================================================================
|
||||
|
@ -93,6 +96,10 @@ public class BsWebConfigToRoleCB extends EsAbstractConditionBean {
|
|||
});
|
||||
}
|
||||
|
||||
if (_conditionAggregation != null) {
|
||||
_conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
|
||||
}
|
||||
|
||||
if (_specification != null) {
|
||||
builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
|
||||
}
|
||||
|
@ -119,6 +126,25 @@ public class BsWebConfigToRoleCB extends EsAbstractConditionBean {
|
|||
return new WebConfigToRoleCQ();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation
|
||||
// ===========
|
||||
public BsWebConfigToRoleCA aggregation() {
|
||||
assertAggregationPurpose();
|
||||
return doGetConditionAggregation();
|
||||
}
|
||||
|
||||
protected BsWebConfigToRoleCA doGetConditionAggregation() {
|
||||
if (_conditionAggregation == null) {
|
||||
_conditionAggregation = createLocalCA();
|
||||
}
|
||||
return _conditionAggregation;
|
||||
}
|
||||
|
||||
protected BsWebConfigToRoleCA createLocalCA() {
|
||||
return new WebConfigToRoleCA();
|
||||
}
|
||||
|
||||
// ===================================================================================
|
||||
// Specify
|
||||
// =======
|
||||
|
@ -133,6 +159,9 @@ public class BsWebConfigToRoleCB extends EsAbstractConditionBean {
|
|||
protected void assertQueryPurpose() {
|
||||
}
|
||||
|
||||
protected void assertAggregationPurpose() {
|
||||
}
|
||||
|
||||
protected void assertSpecifyPurpose() {
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsAccessTokenCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class AccessTokenCA extends BsAccessTokenCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsBadWordCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class BadWordCA extends BsBadWordCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsBoostDocumentRuleCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class BoostDocumentRuleCA extends BsBoostDocumentRuleCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsCrawlingInfoCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class CrawlingInfoCA extends BsCrawlingInfoCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsCrawlingInfoParamCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class CrawlingInfoParamCA extends BsCrawlingInfoParamCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsDataConfigCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class DataConfigCA extends BsDataConfigCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsDataConfigToLabelCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class DataConfigToLabelCA extends BsDataConfigToLabelCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsDataConfigToRoleCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class DataConfigToRoleCA extends BsDataConfigToRoleCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsDuplicateHostCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class DuplicateHostCA extends BsDuplicateHostCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsElevateWordCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class ElevateWordCA extends BsElevateWordCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsElevateWordToLabelCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class ElevateWordToLabelCA extends BsElevateWordToLabelCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFailureUrlCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class FailureUrlCA extends BsFailureUrlCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFileAuthenticationCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class FileAuthenticationCA extends BsFileAuthenticationCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFileConfigCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class FileConfigCA extends BsFileConfigCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFileConfigToLabelCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class FileConfigToLabelCA extends BsFileConfigToLabelCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsFileConfigToRoleCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class FileConfigToRoleCA extends BsFileConfigToRoleCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsJobLogCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class JobLogCA extends BsJobLogCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsKeyMatchCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class KeyMatchCA extends BsKeyMatchCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsLabelToRoleCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class LabelToRoleCA extends BsLabelToRoleCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsLabelTypeCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class LabelTypeCA extends BsLabelTypeCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsPathMappingCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class PathMappingCA extends BsPathMappingCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsRequestHeaderCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class RequestHeaderCA extends BsRequestHeaderCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsRoleTypeCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class RoleTypeCA extends BsRoleTypeCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsScheduledJobCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class ScheduledJobCA extends BsScheduledJobCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsThumbnailQueueCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class ThumbnailQueueCA extends BsThumbnailQueueCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsWebAuthenticationCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class WebAuthenticationCA extends BsWebAuthenticationCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsWebConfigCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class WebConfigCA extends BsWebConfigCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsWebConfigToLabelCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class WebConfigToLabelCA extends BsWebConfigToLabelCA {
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca;
|
||||
|
||||
import org.codelibs.fess.es.config.cbean.ca.bs.BsWebConfigToRoleCA;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public class WebConfigToRoleCA extends BsWebConfigToRoleCA {
|
||||
}
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,816 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.CrawlingInfoCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.CrawlingInfoCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsCrawlingInfoCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.histogram.HistogramBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.avg.AvgBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.max.MaxBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.min.MinBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.percentiles.PercentileRanksBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.percentiles.PercentilesBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.stats.StatsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.stats.extended.ExtendedStatsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.sum.SumBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsCrawlingInfoCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsCrawlingInfoCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
CrawlingInfoCQ cq = new CrawlingInfoCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// Long createdTime
|
||||
public void setCreatedTime_Avg() {
|
||||
setCreatedTime_Avg(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Avg(ConditionOptionCall<AvgBuilder> opLambda) {
|
||||
setCreatedTime_Avg("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Avg(String name, ConditionOptionCall<AvgBuilder> opLambda) {
|
||||
AvgBuilder builder = regAvgA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max() {
|
||||
setCreatedTime_Max(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max(ConditionOptionCall<MaxBuilder> opLambda) {
|
||||
setCreatedTime_Max("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max(String name, ConditionOptionCall<MaxBuilder> opLambda) {
|
||||
MaxBuilder builder = regMaxA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min() {
|
||||
setCreatedTime_Min(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min(ConditionOptionCall<MinBuilder> opLambda) {
|
||||
setCreatedTime_Min("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min(String name, ConditionOptionCall<MinBuilder> opLambda) {
|
||||
MinBuilder builder = regMinA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum() {
|
||||
setCreatedTime_Sum(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum(ConditionOptionCall<SumBuilder> opLambda) {
|
||||
setCreatedTime_Sum("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum(String name, ConditionOptionCall<SumBuilder> opLambda) {
|
||||
SumBuilder builder = regSumA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats() {
|
||||
setCreatedTime_ExtendedStats(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats(ConditionOptionCall<ExtendedStatsBuilder> opLambda) {
|
||||
setCreatedTime_ExtendedStats("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats(String name, ConditionOptionCall<ExtendedStatsBuilder> opLambda) {
|
||||
ExtendedStatsBuilder builder = regExtendedStatsA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats() {
|
||||
setCreatedTime_Stats(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats(ConditionOptionCall<StatsBuilder> opLambda) {
|
||||
setCreatedTime_Stats("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats(String name, ConditionOptionCall<StatsBuilder> opLambda) {
|
||||
StatsBuilder builder = regStatsA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles() {
|
||||
setCreatedTime_Percentiles(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles(ConditionOptionCall<PercentilesBuilder> opLambda) {
|
||||
setCreatedTime_Percentiles("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles(String name, ConditionOptionCall<PercentilesBuilder> opLambda) {
|
||||
PercentilesBuilder builder = regPercentilesA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks() {
|
||||
setCreatedTime_PercentileRanks(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks(ConditionOptionCall<PercentileRanksBuilder> opLambda) {
|
||||
setCreatedTime_PercentileRanks("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks(String name, ConditionOptionCall<PercentileRanksBuilder> opLambda) {
|
||||
PercentileRanksBuilder builder = regPercentileRanksA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram() {
|
||||
setCreatedTime_Histogram(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(ConditionOptionCall<HistogramBuilder> opLambda) {
|
||||
setCreatedTime_Histogram("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(ConditionOptionCall<HistogramBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setCreatedTime_Histogram("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(String name, ConditionOptionCall<HistogramBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
HistogramBuilder builder = regHistogramA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range() {
|
||||
setCreatedTime_Range(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(ConditionOptionCall<RangeBuilder> opLambda) {
|
||||
setCreatedTime_Range("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(ConditionOptionCall<RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setCreatedTime_Range("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
RangeBuilder builder = regRangeA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count() {
|
||||
setCreatedTime_Count(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setCreatedTime_Count("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality() {
|
||||
setCreatedTime_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setCreatedTime_Cardinality("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing() {
|
||||
setCreatedTime_Missing(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setCreatedTime_Missing("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setCreatedTime_Missing("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// Long expiredTime
|
||||
public void setExpiredTime_Avg() {
|
||||
setExpiredTime_Avg(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Avg(ConditionOptionCall<AvgBuilder> opLambda) {
|
||||
setExpiredTime_Avg("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Avg(String name, ConditionOptionCall<AvgBuilder> opLambda) {
|
||||
AvgBuilder builder = regAvgA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Max() {
|
||||
setExpiredTime_Max(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Max(ConditionOptionCall<MaxBuilder> opLambda) {
|
||||
setExpiredTime_Max("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Max(String name, ConditionOptionCall<MaxBuilder> opLambda) {
|
||||
MaxBuilder builder = regMaxA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Min() {
|
||||
setExpiredTime_Min(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Min(ConditionOptionCall<MinBuilder> opLambda) {
|
||||
setExpiredTime_Min("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Min(String name, ConditionOptionCall<MinBuilder> opLambda) {
|
||||
MinBuilder builder = regMinA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Sum() {
|
||||
setExpiredTime_Sum(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Sum(ConditionOptionCall<SumBuilder> opLambda) {
|
||||
setExpiredTime_Sum("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Sum(String name, ConditionOptionCall<SumBuilder> opLambda) {
|
||||
SumBuilder builder = regSumA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_ExtendedStats() {
|
||||
setExpiredTime_ExtendedStats(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_ExtendedStats(ConditionOptionCall<ExtendedStatsBuilder> opLambda) {
|
||||
setExpiredTime_ExtendedStats("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_ExtendedStats(String name, ConditionOptionCall<ExtendedStatsBuilder> opLambda) {
|
||||
ExtendedStatsBuilder builder = regExtendedStatsA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Stats() {
|
||||
setExpiredTime_Stats(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Stats(ConditionOptionCall<StatsBuilder> opLambda) {
|
||||
setExpiredTime_Stats("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Stats(String name, ConditionOptionCall<StatsBuilder> opLambda) {
|
||||
StatsBuilder builder = regStatsA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Percentiles() {
|
||||
setExpiredTime_Percentiles(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Percentiles(ConditionOptionCall<PercentilesBuilder> opLambda) {
|
||||
setExpiredTime_Percentiles("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Percentiles(String name, ConditionOptionCall<PercentilesBuilder> opLambda) {
|
||||
PercentilesBuilder builder = regPercentilesA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_PercentileRanks() {
|
||||
setExpiredTime_PercentileRanks(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_PercentileRanks(ConditionOptionCall<PercentileRanksBuilder> opLambda) {
|
||||
setExpiredTime_PercentileRanks("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_PercentileRanks(String name, ConditionOptionCall<PercentileRanksBuilder> opLambda) {
|
||||
PercentileRanksBuilder builder = regPercentileRanksA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Histogram() {
|
||||
setExpiredTime_Histogram(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Histogram(ConditionOptionCall<HistogramBuilder> opLambda) {
|
||||
setExpiredTime_Histogram("expiredTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Histogram(ConditionOptionCall<HistogramBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setExpiredTime_Histogram("expiredTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Histogram(String name, ConditionOptionCall<HistogramBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
HistogramBuilder builder = regHistogramA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Range() {
|
||||
setExpiredTime_Range(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Range(ConditionOptionCall<RangeBuilder> opLambda) {
|
||||
setExpiredTime_Range("expiredTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Range(ConditionOptionCall<RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setExpiredTime_Range("expiredTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Range(String name, ConditionOptionCall<RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
RangeBuilder builder = regRangeA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Count() {
|
||||
setExpiredTime_Count(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setExpiredTime_Count("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Cardinality() {
|
||||
setExpiredTime_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setExpiredTime_Cardinality("expiredTime", opLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setExpiredTime_Missing() {
|
||||
setExpiredTime_Missing(null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setExpiredTime_Missing("expiredTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setExpiredTime_Missing("expiredTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setExpiredTime_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "expiredTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String name
|
||||
|
||||
public void setName_Terms() {
|
||||
setName_Terms(null);
|
||||
}
|
||||
|
||||
public void setName_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setName_Terms("name", opLambda, null);
|
||||
}
|
||||
|
||||
public void setName_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setName_Terms("name", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setName_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "name");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setName_SignificantTerms() {
|
||||
setName_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setName_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setName_SignificantTerms("name", opLambda, null);
|
||||
}
|
||||
|
||||
public void setName_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setName_SignificantTerms("name", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "name");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setName_IpRange() {
|
||||
setName_IpRange(null);
|
||||
}
|
||||
|
||||
public void setName_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setName_IpRange("name", opLambda, null);
|
||||
}
|
||||
|
||||
public void setName_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setName_IpRange("name", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setName_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "name");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setName_Count() {
|
||||
setName_Count(null);
|
||||
}
|
||||
|
||||
public void setName_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setName_Count("name", opLambda);
|
||||
}
|
||||
|
||||
public void setName_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "name");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setName_Cardinality() {
|
||||
setName_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setName_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setName_Cardinality("name", opLambda);
|
||||
}
|
||||
|
||||
public void setName_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "name");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setName_Missing() {
|
||||
setName_Missing(null);
|
||||
}
|
||||
|
||||
public void setName_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setName_Missing("name", opLambda, null);
|
||||
}
|
||||
|
||||
public void setName_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setName_Missing("name", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setName_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "name");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String sessionId
|
||||
|
||||
public void setSessionId_Terms() {
|
||||
setSessionId_Terms(null);
|
||||
}
|
||||
|
||||
public void setSessionId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setSessionId_Terms("sessionId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setSessionId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setSessionId_Terms("sessionId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setSessionId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "sessionId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSessionId_SignificantTerms() {
|
||||
setSessionId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setSessionId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setSessionId_SignificantTerms("sessionId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setSessionId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setSessionId_SignificantTerms("sessionId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setSessionId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "sessionId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSessionId_IpRange() {
|
||||
setSessionId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setSessionId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setSessionId_IpRange("sessionId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setSessionId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setSessionId_IpRange("sessionId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setSessionId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "sessionId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSessionId_Count() {
|
||||
setSessionId_Count(null);
|
||||
}
|
||||
|
||||
public void setSessionId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setSessionId_Count("sessionId", opLambda);
|
||||
}
|
||||
|
||||
public void setSessionId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "sessionId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSessionId_Cardinality() {
|
||||
setSessionId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setSessionId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setSessionId_Cardinality("sessionId", opLambda);
|
||||
}
|
||||
|
||||
public void setSessionId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "sessionId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setSessionId_Missing() {
|
||||
setSessionId_Missing(null);
|
||||
}
|
||||
|
||||
public void setSessionId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setSessionId_Missing("sessionId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setSessionId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
setSessionId_Missing("sessionId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setSessionId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "sessionId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoCA ca = new CrawlingInfoCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,727 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.CrawlingInfoParamCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.CrawlingInfoParamCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsCrawlingInfoParamCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.histogram.HistogramBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.avg.AvgBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.max.MaxBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.min.MinBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.percentiles.PercentileRanksBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.percentiles.PercentilesBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.stats.StatsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.stats.extended.ExtendedStatsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.sum.SumBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsCrawlingInfoParamCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsCrawlingInfoParamCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
CrawlingInfoParamCQ cq = new CrawlingInfoParamCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String crawlingInfoId
|
||||
|
||||
public void setCrawlingInfoId_Terms() {
|
||||
setCrawlingInfoId_Terms(null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setCrawlingInfoId_Terms("crawlingInfoId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setCrawlingInfoId_Terms("crawlingInfoId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "crawlingInfoId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_SignificantTerms() {
|
||||
setCrawlingInfoId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setCrawlingInfoId_SignificantTerms("crawlingInfoId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setCrawlingInfoId_SignificantTerms("crawlingInfoId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "crawlingInfoId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_IpRange() {
|
||||
setCrawlingInfoId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setCrawlingInfoId_IpRange("crawlingInfoId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setCrawlingInfoId_IpRange("crawlingInfoId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "crawlingInfoId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Count() {
|
||||
setCrawlingInfoId_Count(null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setCrawlingInfoId_Count("crawlingInfoId", opLambda);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "crawlingInfoId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Cardinality() {
|
||||
setCrawlingInfoId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setCrawlingInfoId_Cardinality("crawlingInfoId", opLambda);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "crawlingInfoId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Missing() {
|
||||
setCrawlingInfoId_Missing(null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setCrawlingInfoId_Missing("crawlingInfoId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setCrawlingInfoId_Missing("crawlingInfoId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCrawlingInfoId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "crawlingInfoId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// Long createdTime
|
||||
public void setCreatedTime_Avg() {
|
||||
setCreatedTime_Avg(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Avg(ConditionOptionCall<AvgBuilder> opLambda) {
|
||||
setCreatedTime_Avg("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Avg(String name, ConditionOptionCall<AvgBuilder> opLambda) {
|
||||
AvgBuilder builder = regAvgA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max() {
|
||||
setCreatedTime_Max(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max(ConditionOptionCall<MaxBuilder> opLambda) {
|
||||
setCreatedTime_Max("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max(String name, ConditionOptionCall<MaxBuilder> opLambda) {
|
||||
MaxBuilder builder = regMaxA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min() {
|
||||
setCreatedTime_Min(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min(ConditionOptionCall<MinBuilder> opLambda) {
|
||||
setCreatedTime_Min("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min(String name, ConditionOptionCall<MinBuilder> opLambda) {
|
||||
MinBuilder builder = regMinA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum() {
|
||||
setCreatedTime_Sum(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum(ConditionOptionCall<SumBuilder> opLambda) {
|
||||
setCreatedTime_Sum("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum(String name, ConditionOptionCall<SumBuilder> opLambda) {
|
||||
SumBuilder builder = regSumA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats() {
|
||||
setCreatedTime_ExtendedStats(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats(ConditionOptionCall<ExtendedStatsBuilder> opLambda) {
|
||||
setCreatedTime_ExtendedStats("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats(String name, ConditionOptionCall<ExtendedStatsBuilder> opLambda) {
|
||||
ExtendedStatsBuilder builder = regExtendedStatsA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats() {
|
||||
setCreatedTime_Stats(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats(ConditionOptionCall<StatsBuilder> opLambda) {
|
||||
setCreatedTime_Stats("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats(String name, ConditionOptionCall<StatsBuilder> opLambda) {
|
||||
StatsBuilder builder = regStatsA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles() {
|
||||
setCreatedTime_Percentiles(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles(ConditionOptionCall<PercentilesBuilder> opLambda) {
|
||||
setCreatedTime_Percentiles("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles(String name, ConditionOptionCall<PercentilesBuilder> opLambda) {
|
||||
PercentilesBuilder builder = regPercentilesA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks() {
|
||||
setCreatedTime_PercentileRanks(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks(ConditionOptionCall<PercentileRanksBuilder> opLambda) {
|
||||
setCreatedTime_PercentileRanks("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks(String name, ConditionOptionCall<PercentileRanksBuilder> opLambda) {
|
||||
PercentileRanksBuilder builder = regPercentileRanksA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram() {
|
||||
setCreatedTime_Histogram(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(ConditionOptionCall<HistogramBuilder> opLambda) {
|
||||
setCreatedTime_Histogram("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(ConditionOptionCall<HistogramBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setCreatedTime_Histogram("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(String name, ConditionOptionCall<HistogramBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
HistogramBuilder builder = regHistogramA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range() {
|
||||
setCreatedTime_Range(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(ConditionOptionCall<RangeBuilder> opLambda) {
|
||||
setCreatedTime_Range("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(ConditionOptionCall<RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setCreatedTime_Range("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
RangeBuilder builder = regRangeA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count() {
|
||||
setCreatedTime_Count(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setCreatedTime_Count("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality() {
|
||||
setCreatedTime_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setCreatedTime_Cardinality("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing() {
|
||||
setCreatedTime_Missing(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setCreatedTime_Missing("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setCreatedTime_Missing("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String key
|
||||
|
||||
public void setKey_Terms() {
|
||||
setKey_Terms(null);
|
||||
}
|
||||
|
||||
public void setKey_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setKey_Terms("key", opLambda, null);
|
||||
}
|
||||
|
||||
public void setKey_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setKey_Terms("key", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setKey_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "key");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setKey_SignificantTerms() {
|
||||
setKey_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setKey_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setKey_SignificantTerms("key", opLambda, null);
|
||||
}
|
||||
|
||||
public void setKey_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setKey_SignificantTerms("key", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setKey_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "key");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setKey_IpRange() {
|
||||
setKey_IpRange(null);
|
||||
}
|
||||
|
||||
public void setKey_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setKey_IpRange("key", opLambda, null);
|
||||
}
|
||||
|
||||
public void setKey_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setKey_IpRange("key", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setKey_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "key");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setKey_Count() {
|
||||
setKey_Count(null);
|
||||
}
|
||||
|
||||
public void setKey_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setKey_Count("key", opLambda);
|
||||
}
|
||||
|
||||
public void setKey_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "key");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setKey_Cardinality() {
|
||||
setKey_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setKey_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setKey_Cardinality("key", opLambda);
|
||||
}
|
||||
|
||||
public void setKey_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "key");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setKey_Missing() {
|
||||
setKey_Missing(null);
|
||||
}
|
||||
|
||||
public void setKey_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setKey_Missing("key", opLambda, null);
|
||||
}
|
||||
|
||||
public void setKey_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setKey_Missing("key", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setKey_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "key");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String value
|
||||
|
||||
public void setValue_Terms() {
|
||||
setValue_Terms(null);
|
||||
}
|
||||
|
||||
public void setValue_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setValue_Terms("value", opLambda, null);
|
||||
}
|
||||
|
||||
public void setValue_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setValue_Terms("value", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setValue_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "value");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setValue_SignificantTerms() {
|
||||
setValue_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setValue_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setValue_SignificantTerms("value", opLambda, null);
|
||||
}
|
||||
|
||||
public void setValue_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setValue_SignificantTerms("value", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setValue_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "value");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setValue_IpRange() {
|
||||
setValue_IpRange(null);
|
||||
}
|
||||
|
||||
public void setValue_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setValue_IpRange("value", opLambda, null);
|
||||
}
|
||||
|
||||
public void setValue_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setValue_IpRange("value", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setValue_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "value");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setValue_Count() {
|
||||
setValue_Count(null);
|
||||
}
|
||||
|
||||
public void setValue_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setValue_Count("value", opLambda);
|
||||
}
|
||||
|
||||
public void setValue_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "value");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setValue_Cardinality() {
|
||||
setValue_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setValue_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setValue_Cardinality("value", opLambda);
|
||||
}
|
||||
|
||||
public void setValue_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "value");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setValue_Missing() {
|
||||
setValue_Missing(null);
|
||||
}
|
||||
|
||||
public void setValue_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setValue_Missing("value", opLambda, null);
|
||||
}
|
||||
|
||||
public void setValue_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
setValue_Missing("value", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setValue_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsCrawlingInfoParamCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "value");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,364 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.DataConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.DataConfigToLabelCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsDataConfigToLabelCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsDataConfigToLabelCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsDataConfigToLabelCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
DataConfigToLabelCQ cq = new DataConfigToLabelCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String dataConfigId
|
||||
|
||||
public void setDataConfigId_Terms() {
|
||||
setDataConfigId_Terms(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setDataConfigId_Terms("dataConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
setDataConfigId_Terms("dataConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_SignificantTerms() {
|
||||
setDataConfigId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setDataConfigId_SignificantTerms("dataConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
setDataConfigId_SignificantTerms("dataConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_IpRange() {
|
||||
setDataConfigId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setDataConfigId_IpRange("dataConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
setDataConfigId_IpRange("dataConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_Count() {
|
||||
setDataConfigId_Count(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setDataConfigId_Count("dataConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_Cardinality() {
|
||||
setDataConfigId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setDataConfigId_Cardinality("dataConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_Missing() {
|
||||
setDataConfigId_Missing(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setDataConfigId_Missing("dataConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
setDataConfigId_Missing("dataConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String labelTypeId
|
||||
|
||||
public void setLabelTypeId_Terms() {
|
||||
setLabelTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms() {
|
||||
setLabelTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange() {
|
||||
setLabelTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count() {
|
||||
setLabelTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setLabelTypeId_Count("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality() {
|
||||
setLabelTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setLabelTypeId_Cardinality("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing() {
|
||||
setLabelTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToLabelCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToLabelCA ca = new DataConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,363 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.DataConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.DataConfigToRoleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsDataConfigToRoleCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsDataConfigToRoleCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsDataConfigToRoleCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
DataConfigToRoleCQ cq = new DataConfigToRoleCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String dataConfigId
|
||||
|
||||
public void setDataConfigId_Terms() {
|
||||
setDataConfigId_Terms(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setDataConfigId_Terms("dataConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
setDataConfigId_Terms("dataConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_SignificantTerms() {
|
||||
setDataConfigId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setDataConfigId_SignificantTerms("dataConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
setDataConfigId_SignificantTerms("dataConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_IpRange() {
|
||||
setDataConfigId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setDataConfigId_IpRange("dataConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
setDataConfigId_IpRange("dataConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_Count() {
|
||||
setDataConfigId_Count(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setDataConfigId_Count("dataConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_Cardinality() {
|
||||
setDataConfigId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setDataConfigId_Cardinality("dataConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDataConfigId_Missing() {
|
||||
setDataConfigId_Missing(null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setDataConfigId_Missing("dataConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
setDataConfigId_Missing("dataConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setDataConfigId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "dataConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String roleTypeId
|
||||
|
||||
public void setRoleTypeId_Terms() {
|
||||
setRoleTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setRoleTypeId_Terms("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_Terms("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms() {
|
||||
setRoleTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setRoleTypeId_SignificantTerms("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_SignificantTerms("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange() {
|
||||
setRoleTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setRoleTypeId_IpRange("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_IpRange("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count() {
|
||||
setRoleTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setRoleTypeId_Count("roleTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality() {
|
||||
setRoleTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setRoleTypeId_Cardinality("roleTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing() {
|
||||
setRoleTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setRoleTypeId_Missing("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_Missing("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsDataConfigToRoleCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
DataConfigToRoleCA ca = new DataConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,366 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.ElevateWordToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.ElevateWordToLabelCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsElevateWordToLabelCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsElevateWordToLabelCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsElevateWordToLabelCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
ElevateWordToLabelCQ cq = new ElevateWordToLabelCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String elevateWordId
|
||||
|
||||
public void setElevateWordId_Terms() {
|
||||
setElevateWordId_Terms(null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setElevateWordId_Terms("elevateWordId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
setElevateWordId_Terms("elevateWordId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "elevateWordId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setElevateWordId_SignificantTerms() {
|
||||
setElevateWordId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setElevateWordId_SignificantTerms("elevateWordId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
setElevateWordId_SignificantTerms("elevateWordId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setElevateWordId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "elevateWordId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setElevateWordId_IpRange() {
|
||||
setElevateWordId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setElevateWordId_IpRange("elevateWordId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
setElevateWordId_IpRange("elevateWordId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setElevateWordId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "elevateWordId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setElevateWordId_Count() {
|
||||
setElevateWordId_Count(null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setElevateWordId_Count("elevateWordId", opLambda);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "elevateWordId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setElevateWordId_Cardinality() {
|
||||
setElevateWordId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setElevateWordId_Cardinality("elevateWordId", opLambda);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "elevateWordId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setElevateWordId_Missing() {
|
||||
setElevateWordId_Missing(null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setElevateWordId_Missing("elevateWordId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
setElevateWordId_Missing("elevateWordId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setElevateWordId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "elevateWordId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String labelTypeId
|
||||
|
||||
public void setLabelTypeId_Terms() {
|
||||
setLabelTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms() {
|
||||
setLabelTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange() {
|
||||
setLabelTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count() {
|
||||
setLabelTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setLabelTypeId_Count("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality() {
|
||||
setLabelTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setLabelTypeId_Cardinality("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing() {
|
||||
setLabelTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsElevateWordToLabelCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,364 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.FileConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.FileConfigToLabelCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsFileConfigToLabelCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsFileConfigToLabelCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsFileConfigToLabelCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
FileConfigToLabelCQ cq = new FileConfigToLabelCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String fileConfigId
|
||||
|
||||
public void setFileConfigId_Terms() {
|
||||
setFileConfigId_Terms(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setFileConfigId_Terms("fileConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
setFileConfigId_Terms("fileConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_SignificantTerms() {
|
||||
setFileConfigId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setFileConfigId_SignificantTerms("fileConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
setFileConfigId_SignificantTerms("fileConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_IpRange() {
|
||||
setFileConfigId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setFileConfigId_IpRange("fileConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
setFileConfigId_IpRange("fileConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_Count() {
|
||||
setFileConfigId_Count(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setFileConfigId_Count("fileConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_Cardinality() {
|
||||
setFileConfigId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setFileConfigId_Cardinality("fileConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_Missing() {
|
||||
setFileConfigId_Missing(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setFileConfigId_Missing("fileConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
setFileConfigId_Missing("fileConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String labelTypeId
|
||||
|
||||
public void setLabelTypeId_Terms() {
|
||||
setLabelTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms() {
|
||||
setLabelTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange() {
|
||||
setLabelTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count() {
|
||||
setLabelTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setLabelTypeId_Count("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality() {
|
||||
setLabelTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setLabelTypeId_Cardinality("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing() {
|
||||
setLabelTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToLabelCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToLabelCA ca = new FileConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,363 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.FileConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.FileConfigToRoleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsFileConfigToRoleCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsFileConfigToRoleCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsFileConfigToRoleCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
FileConfigToRoleCQ cq = new FileConfigToRoleCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String fileConfigId
|
||||
|
||||
public void setFileConfigId_Terms() {
|
||||
setFileConfigId_Terms(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setFileConfigId_Terms("fileConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
setFileConfigId_Terms("fileConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_SignificantTerms() {
|
||||
setFileConfigId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setFileConfigId_SignificantTerms("fileConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
setFileConfigId_SignificantTerms("fileConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_IpRange() {
|
||||
setFileConfigId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setFileConfigId_IpRange("fileConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
setFileConfigId_IpRange("fileConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_Count() {
|
||||
setFileConfigId_Count(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setFileConfigId_Count("fileConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_Cardinality() {
|
||||
setFileConfigId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setFileConfigId_Cardinality("fileConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setFileConfigId_Missing() {
|
||||
setFileConfigId_Missing(null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setFileConfigId_Missing("fileConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
setFileConfigId_Missing("fileConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setFileConfigId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "fileConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String roleTypeId
|
||||
|
||||
public void setRoleTypeId_Terms() {
|
||||
setRoleTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setRoleTypeId_Terms("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_Terms("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms() {
|
||||
setRoleTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setRoleTypeId_SignificantTerms("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_SignificantTerms("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange() {
|
||||
setRoleTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setRoleTypeId_IpRange("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_IpRange("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count() {
|
||||
setRoleTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setRoleTypeId_Count("roleTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality() {
|
||||
setRoleTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setRoleTypeId_Cardinality("roleTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing() {
|
||||
setRoleTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setRoleTypeId_Missing("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_Missing("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
FileConfigToRoleCA ca = new FileConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,359 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.LabelToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.LabelToRoleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsLabelToRoleCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsLabelToRoleCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsLabelToRoleCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
LabelToRoleCQ cq = new LabelToRoleCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String labelTypeId
|
||||
|
||||
public void setLabelTypeId_Terms() {
|
||||
setLabelTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms() {
|
||||
setLabelTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange() {
|
||||
setLabelTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count() {
|
||||
setLabelTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setLabelTypeId_Count("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality() {
|
||||
setLabelTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setLabelTypeId_Cardinality("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing() {
|
||||
setLabelTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String roleTypeId
|
||||
|
||||
public void setRoleTypeId_Terms() {
|
||||
setRoleTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setRoleTypeId_Terms("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_Terms("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms() {
|
||||
setRoleTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setRoleTypeId_SignificantTerms("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_SignificantTerms("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange() {
|
||||
setRoleTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setRoleTypeId_IpRange("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_IpRange("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count() {
|
||||
setRoleTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setRoleTypeId_Count("roleTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality() {
|
||||
setRoleTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setRoleTypeId_Cardinality("roleTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing() {
|
||||
setRoleTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setRoleTypeId_Missing("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_Missing("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsLabelToRoleCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
LabelToRoleCA ca = new LabelToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,984 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.ThumbnailQueueCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.ThumbnailQueueCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsThumbnailQueueCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.histogram.HistogramBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.avg.AvgBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.max.MaxBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.min.MinBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.percentiles.PercentileRanksBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.percentiles.PercentilesBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.stats.StatsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.stats.extended.ExtendedStatsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.sum.SumBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsThumbnailQueueCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsThumbnailQueueCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
ThumbnailQueueCQ cq = new ThumbnailQueueCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String createdBy
|
||||
|
||||
public void setCreatedBy_Terms() {
|
||||
setCreatedBy_Terms(null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setCreatedBy_Terms("createdBy", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setCreatedBy_Terms("createdBy", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "createdBy");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedBy_SignificantTerms() {
|
||||
setCreatedBy_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setCreatedBy_SignificantTerms("createdBy", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setCreatedBy_SignificantTerms("createdBy", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedBy_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "createdBy");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedBy_IpRange() {
|
||||
setCreatedBy_IpRange(null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setCreatedBy_IpRange("createdBy", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setCreatedBy_IpRange("createdBy", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedBy_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "createdBy");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedBy_Count() {
|
||||
setCreatedBy_Count(null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setCreatedBy_Count("createdBy", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "createdBy");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedBy_Cardinality() {
|
||||
setCreatedBy_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setCreatedBy_Cardinality("createdBy", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "createdBy");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedBy_Missing() {
|
||||
setCreatedBy_Missing(null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setCreatedBy_Missing("createdBy", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setCreatedBy_Missing("createdBy", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedBy_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "createdBy");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// Long createdTime
|
||||
public void setCreatedTime_Avg() {
|
||||
setCreatedTime_Avg(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Avg(ConditionOptionCall<AvgBuilder> opLambda) {
|
||||
setCreatedTime_Avg("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Avg(String name, ConditionOptionCall<AvgBuilder> opLambda) {
|
||||
AvgBuilder builder = regAvgA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max() {
|
||||
setCreatedTime_Max(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max(ConditionOptionCall<MaxBuilder> opLambda) {
|
||||
setCreatedTime_Max("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Max(String name, ConditionOptionCall<MaxBuilder> opLambda) {
|
||||
MaxBuilder builder = regMaxA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min() {
|
||||
setCreatedTime_Min(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min(ConditionOptionCall<MinBuilder> opLambda) {
|
||||
setCreatedTime_Min("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Min(String name, ConditionOptionCall<MinBuilder> opLambda) {
|
||||
MinBuilder builder = regMinA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum() {
|
||||
setCreatedTime_Sum(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum(ConditionOptionCall<SumBuilder> opLambda) {
|
||||
setCreatedTime_Sum("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Sum(String name, ConditionOptionCall<SumBuilder> opLambda) {
|
||||
SumBuilder builder = regSumA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats() {
|
||||
setCreatedTime_ExtendedStats(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats(ConditionOptionCall<ExtendedStatsBuilder> opLambda) {
|
||||
setCreatedTime_ExtendedStats("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_ExtendedStats(String name, ConditionOptionCall<ExtendedStatsBuilder> opLambda) {
|
||||
ExtendedStatsBuilder builder = regExtendedStatsA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats() {
|
||||
setCreatedTime_Stats(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats(ConditionOptionCall<StatsBuilder> opLambda) {
|
||||
setCreatedTime_Stats("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Stats(String name, ConditionOptionCall<StatsBuilder> opLambda) {
|
||||
StatsBuilder builder = regStatsA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles() {
|
||||
setCreatedTime_Percentiles(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles(ConditionOptionCall<PercentilesBuilder> opLambda) {
|
||||
setCreatedTime_Percentiles("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Percentiles(String name, ConditionOptionCall<PercentilesBuilder> opLambda) {
|
||||
PercentilesBuilder builder = regPercentilesA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks() {
|
||||
setCreatedTime_PercentileRanks(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks(ConditionOptionCall<PercentileRanksBuilder> opLambda) {
|
||||
setCreatedTime_PercentileRanks("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_PercentileRanks(String name, ConditionOptionCall<PercentileRanksBuilder> opLambda) {
|
||||
PercentileRanksBuilder builder = regPercentileRanksA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram() {
|
||||
setCreatedTime_Histogram(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(ConditionOptionCall<HistogramBuilder> opLambda) {
|
||||
setCreatedTime_Histogram("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(ConditionOptionCall<HistogramBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setCreatedTime_Histogram("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Histogram(String name, ConditionOptionCall<HistogramBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
HistogramBuilder builder = regHistogramA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range() {
|
||||
setCreatedTime_Range(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(ConditionOptionCall<RangeBuilder> opLambda) {
|
||||
setCreatedTime_Range("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(ConditionOptionCall<RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setCreatedTime_Range("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Range(String name, ConditionOptionCall<RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
RangeBuilder builder = regRangeA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count() {
|
||||
setCreatedTime_Count(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setCreatedTime_Count("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality() {
|
||||
setCreatedTime_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setCreatedTime_Cardinality("createdTime", opLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing() {
|
||||
setCreatedTime_Missing(null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setCreatedTime_Missing("createdTime", opLambda, null);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setCreatedTime_Missing("createdTime", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setCreatedTime_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "createdTime");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String target
|
||||
|
||||
public void setTarget_Terms() {
|
||||
setTarget_Terms(null);
|
||||
}
|
||||
|
||||
public void setTarget_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setTarget_Terms("target", opLambda, null);
|
||||
}
|
||||
|
||||
public void setTarget_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setTarget_Terms("target", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setTarget_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "target");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTarget_SignificantTerms() {
|
||||
setTarget_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setTarget_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setTarget_SignificantTerms("target", opLambda, null);
|
||||
}
|
||||
|
||||
public void setTarget_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setTarget_SignificantTerms("target", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setTarget_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "target");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTarget_IpRange() {
|
||||
setTarget_IpRange(null);
|
||||
}
|
||||
|
||||
public void setTarget_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setTarget_IpRange("target", opLambda, null);
|
||||
}
|
||||
|
||||
public void setTarget_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setTarget_IpRange("target", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setTarget_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "target");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTarget_Count() {
|
||||
setTarget_Count(null);
|
||||
}
|
||||
|
||||
public void setTarget_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setTarget_Count("target", opLambda);
|
||||
}
|
||||
|
||||
public void setTarget_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "target");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTarget_Cardinality() {
|
||||
setTarget_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setTarget_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setTarget_Cardinality("target", opLambda);
|
||||
}
|
||||
|
||||
public void setTarget_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "target");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTarget_Missing() {
|
||||
setTarget_Missing(null);
|
||||
}
|
||||
|
||||
public void setTarget_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setTarget_Missing("target", opLambda, null);
|
||||
}
|
||||
|
||||
public void setTarget_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setTarget_Missing("target", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setTarget_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "target");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String generator
|
||||
|
||||
public void setGenerator_Terms() {
|
||||
setGenerator_Terms(null);
|
||||
}
|
||||
|
||||
public void setGenerator_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setGenerator_Terms("generator", opLambda, null);
|
||||
}
|
||||
|
||||
public void setGenerator_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setGenerator_Terms("generator", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setGenerator_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "generator");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setGenerator_SignificantTerms() {
|
||||
setGenerator_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setGenerator_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setGenerator_SignificantTerms("generator", opLambda, null);
|
||||
}
|
||||
|
||||
public void setGenerator_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setGenerator_SignificantTerms("generator", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setGenerator_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "generator");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setGenerator_IpRange() {
|
||||
setGenerator_IpRange(null);
|
||||
}
|
||||
|
||||
public void setGenerator_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setGenerator_IpRange("generator", opLambda, null);
|
||||
}
|
||||
|
||||
public void setGenerator_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setGenerator_IpRange("generator", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setGenerator_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "generator");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setGenerator_Count() {
|
||||
setGenerator_Count(null);
|
||||
}
|
||||
|
||||
public void setGenerator_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setGenerator_Count("generator", opLambda);
|
||||
}
|
||||
|
||||
public void setGenerator_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "generator");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setGenerator_Cardinality() {
|
||||
setGenerator_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setGenerator_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setGenerator_Cardinality("generator", opLambda);
|
||||
}
|
||||
|
||||
public void setGenerator_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "generator");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setGenerator_Missing() {
|
||||
setGenerator_Missing(null);
|
||||
}
|
||||
|
||||
public void setGenerator_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setGenerator_Missing("generator", opLambda, null);
|
||||
}
|
||||
|
||||
public void setGenerator_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setGenerator_Missing("generator", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setGenerator_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "generator");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String path
|
||||
|
||||
public void setPath_Terms() {
|
||||
setPath_Terms(null);
|
||||
}
|
||||
|
||||
public void setPath_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setPath_Terms("path", opLambda, null);
|
||||
}
|
||||
|
||||
public void setPath_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setPath_Terms("path", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setPath_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "path");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPath_SignificantTerms() {
|
||||
setPath_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setPath_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setPath_SignificantTerms("path", opLambda, null);
|
||||
}
|
||||
|
||||
public void setPath_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setPath_SignificantTerms("path", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setPath_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "path");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPath_IpRange() {
|
||||
setPath_IpRange(null);
|
||||
}
|
||||
|
||||
public void setPath_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setPath_IpRange("path", opLambda, null);
|
||||
}
|
||||
|
||||
public void setPath_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setPath_IpRange("path", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setPath_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "path");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPath_Count() {
|
||||
setPath_Count(null);
|
||||
}
|
||||
|
||||
public void setPath_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setPath_Count("path", opLambda);
|
||||
}
|
||||
|
||||
public void setPath_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "path");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPath_Cardinality() {
|
||||
setPath_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setPath_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setPath_Cardinality("path", opLambda);
|
||||
}
|
||||
|
||||
public void setPath_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "path");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPath_Missing() {
|
||||
setPath_Missing(null);
|
||||
}
|
||||
|
||||
public void setPath_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setPath_Missing("path", opLambda, null);
|
||||
}
|
||||
|
||||
public void setPath_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setPath_Missing("path", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setPath_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "path");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String url
|
||||
|
||||
public void setUrl_Terms() {
|
||||
setUrl_Terms(null);
|
||||
}
|
||||
|
||||
public void setUrl_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setUrl_Terms("url", opLambda, null);
|
||||
}
|
||||
|
||||
public void setUrl_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setUrl_Terms("url", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setUrl_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "url");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setUrl_SignificantTerms() {
|
||||
setUrl_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setUrl_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setUrl_SignificantTerms("url", opLambda, null);
|
||||
}
|
||||
|
||||
public void setUrl_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setUrl_SignificantTerms("url", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setUrl_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "url");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setUrl_IpRange() {
|
||||
setUrl_IpRange(null);
|
||||
}
|
||||
|
||||
public void setUrl_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setUrl_IpRange("url", opLambda, null);
|
||||
}
|
||||
|
||||
public void setUrl_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setUrl_IpRange("url", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setUrl_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "url");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setUrl_Count() {
|
||||
setUrl_Count(null);
|
||||
}
|
||||
|
||||
public void setUrl_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setUrl_Count("url", opLambda);
|
||||
}
|
||||
|
||||
public void setUrl_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "url");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setUrl_Cardinality() {
|
||||
setUrl_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setUrl_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setUrl_Cardinality("url", opLambda);
|
||||
}
|
||||
|
||||
public void setUrl_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "url");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setUrl_Missing() {
|
||||
setUrl_Missing(null);
|
||||
}
|
||||
|
||||
public void setUrl_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setUrl_Missing("url", opLambda, null);
|
||||
}
|
||||
|
||||
public void setUrl_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
setUrl_Missing("url", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setUrl_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsThumbnailQueueCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "url");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
ThumbnailQueueCA ca = new ThumbnailQueueCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,363 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.WebConfigToLabelCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.WebConfigToLabelCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsWebConfigToLabelCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsWebConfigToLabelCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsWebConfigToLabelCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
WebConfigToLabelCQ cq = new WebConfigToLabelCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String labelTypeId
|
||||
|
||||
public void setLabelTypeId_Terms() {
|
||||
setLabelTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_Terms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms() {
|
||||
setLabelTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_SignificantTerms("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange() {
|
||||
setLabelTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_IpRange("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count() {
|
||||
setLabelTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setLabelTypeId_Count("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality() {
|
||||
setLabelTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setLabelTypeId_Cardinality("labelTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing() {
|
||||
setLabelTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
setLabelTypeId_Missing("labelTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setLabelTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "labelTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String webConfigId
|
||||
|
||||
public void setWebConfigId_Terms() {
|
||||
setWebConfigId_Terms(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setWebConfigId_Terms("webConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
setWebConfigId_Terms("webConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_SignificantTerms() {
|
||||
setWebConfigId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setWebConfigId_SignificantTerms("webConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
setWebConfigId_SignificantTerms("webConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_IpRange() {
|
||||
setWebConfigId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setWebConfigId_IpRange("webConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
setWebConfigId_IpRange("webConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_Count() {
|
||||
setWebConfigId_Count(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setWebConfigId_Count("webConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_Cardinality() {
|
||||
setWebConfigId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setWebConfigId_Cardinality("webConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_Missing() {
|
||||
setWebConfigId_Missing(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setWebConfigId_Missing("webConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
setWebConfigId_Missing("webConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToLabelCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToLabelCA ca = new WebConfigToLabelCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,363 @@
|
|||
/*
|
||||
* Copyright 2012-2016 CodeLibs Project and the Others.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
* either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.codelibs.fess.es.config.cbean.ca.bs;
|
||||
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionAggregation;
|
||||
import org.codelibs.fess.es.config.allcommon.EsAbstractConditionQuery;
|
||||
import org.codelibs.fess.es.config.cbean.ca.WebConfigToRoleCA;
|
||||
import org.codelibs.fess.es.config.cbean.cq.WebConfigToRoleCQ;
|
||||
import org.codelibs.fess.es.config.cbean.cq.bs.BsWebConfigToRoleCQ;
|
||||
import org.elasticsearch.search.aggregations.bucket.filter.FilterAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.global.GlobalBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.missing.MissingBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.range.ipv4.IPv4RangeBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.significant.SignificantTermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.bucket.terms.TermsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.cardinality.CardinalityBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.scripted.ScriptedMetricBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.tophits.TopHitsBuilder;
|
||||
import org.elasticsearch.search.aggregations.metrics.valuecount.ValueCountBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
*/
|
||||
public abstract class BsWebConfigToRoleCA extends EsAbstractConditionAggregation {
|
||||
|
||||
// ===================================================================================
|
||||
// Aggregation Set
|
||||
// =========
|
||||
|
||||
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsWebConfigToRoleCQ> queryLambda,
|
||||
ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
WebConfigToRoleCQ cq = new WebConfigToRoleCQ();
|
||||
if (queryLambda != null) {
|
||||
queryLambda.callback(cq);
|
||||
}
|
||||
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void global(String name, ConditionOptionCall<GlobalBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
GlobalBuilder builder = regGlobalA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
SamplerAggregationBuilder builder = regSamplerA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricBuilder> opLambda) {
|
||||
ScriptedMetricBuilder builder = regScriptedMetricA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void topHits(String name, ConditionOptionCall<TopHitsBuilder> opLambda) {
|
||||
TopHitsBuilder builder = regTopHitsA(name);
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
// String roleTypeId
|
||||
|
||||
public void setRoleTypeId_Terms() {
|
||||
setRoleTypeId_Terms(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setRoleTypeId_Terms("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_Terms("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms() {
|
||||
setRoleTypeId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setRoleTypeId_SignificantTerms("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_SignificantTerms("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange() {
|
||||
setRoleTypeId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setRoleTypeId_IpRange("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_IpRange("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count() {
|
||||
setRoleTypeId_Count(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setRoleTypeId_Count("roleTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality() {
|
||||
setRoleTypeId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setRoleTypeId_Cardinality("roleTypeId", opLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing() {
|
||||
setRoleTypeId_Missing(null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setRoleTypeId_Missing("roleTypeId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
setRoleTypeId_Missing("roleTypeId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setRoleTypeId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "roleTypeId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
// String webConfigId
|
||||
|
||||
public void setWebConfigId_Terms() {
|
||||
setWebConfigId_Terms(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda) {
|
||||
setWebConfigId_Terms("webConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Terms(ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
setWebConfigId_Terms("webConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Terms(String name, ConditionOptionCall<TermsBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
TermsBuilder builder = regTermsA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_SignificantTerms() {
|
||||
setWebConfigId_SignificantTerms(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda) {
|
||||
setWebConfigId_SignificantTerms("webConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_SignificantTerms(ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
setWebConfigId_SignificantTerms("webConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
SignificantTermsBuilder builder = regSignificantTermsA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_IpRange() {
|
||||
setWebConfigId_IpRange(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda) {
|
||||
setWebConfigId_IpRange("webConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_IpRange(ConditionOptionCall<IPv4RangeBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
setWebConfigId_IpRange("webConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_IpRange(String name, ConditionOptionCall<IPv4RangeBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
IPv4RangeBuilder builder = regIpRangeA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_Count() {
|
||||
setWebConfigId_Count(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Count(ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
setWebConfigId_Count("webConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Count(String name, ConditionOptionCall<ValueCountBuilder> opLambda) {
|
||||
ValueCountBuilder builder = regCountA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_Cardinality() {
|
||||
setWebConfigId_Cardinality(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Cardinality(ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
setWebConfigId_Cardinality("webConfigId", opLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Cardinality(String name, ConditionOptionCall<CardinalityBuilder> opLambda) {
|
||||
CardinalityBuilder builder = regCardinalityA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void setWebConfigId_Missing() {
|
||||
setWebConfigId_Missing(null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda) {
|
||||
setWebConfigId_Missing("webConfigId", opLambda, null);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Missing(ConditionOptionCall<MissingBuilder> opLambda, OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
setWebConfigId_Missing("webConfigId", opLambda, aggsLambda);
|
||||
}
|
||||
|
||||
public void setWebConfigId_Missing(String name, ConditionOptionCall<MissingBuilder> opLambda,
|
||||
OperatorCall<BsWebConfigToRoleCA> aggsLambda) {
|
||||
MissingBuilder builder = regMissingA(name, "webConfigId");
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
if (aggsLambda != null) {
|
||||
WebConfigToRoleCA ca = new WebConfigToRoleCA();
|
||||
aggsLambda.callback(ca);
|
||||
ca.getAggregationBuilderList().forEach(builder::subAggregation);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,24 @@ public abstract class BsAccessTokenCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<AccessTokenCQ> queryLambda,
|
||||
ScoreFunctionCall<ScoreFunctionCreator<AccessTokenCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
AccessTokenCQ cq = new AccessTokenCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
AccessTokenCQ cf = new AccessTokenCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<AccessTokenCQ, AccessTokenCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,23 @@ public abstract class BsBadWordCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<BadWordCQ> queryLambda, ScoreFunctionCall<ScoreFunctionCreator<BadWordCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
BadWordCQ cq = new BadWordCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
BadWordCQ cf = new BadWordCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<BadWordCQ, BadWordCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,24 @@ public abstract class BsBoostDocumentRuleCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<BoostDocumentRuleCQ> queryLambda,
|
||||
ScoreFunctionCall<ScoreFunctionCreator<BoostDocumentRuleCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
BoostDocumentRuleCQ cq = new BoostDocumentRuleCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
BoostDocumentRuleCQ cf = new BoostDocumentRuleCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<BoostDocumentRuleCQ, BoostDocumentRuleCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,24 @@ public abstract class BsCrawlingInfoCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<CrawlingInfoCQ> queryLambda,
|
||||
ScoreFunctionCall<ScoreFunctionCreator<CrawlingInfoCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
CrawlingInfoCQ cq = new CrawlingInfoCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
CrawlingInfoCQ cf = new CrawlingInfoCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<CrawlingInfoCQ, CrawlingInfoCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,24 @@ public abstract class BsCrawlingInfoParamCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<CrawlingInfoParamCQ> queryLambda,
|
||||
ScoreFunctionCall<ScoreFunctionCreator<CrawlingInfoParamCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
CrawlingInfoParamCQ cq = new CrawlingInfoParamCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
CrawlingInfoParamCQ cf = new CrawlingInfoParamCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<CrawlingInfoParamCQ, CrawlingInfoParamCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,24 @@ public abstract class BsDataConfigCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<DataConfigCQ> queryLambda,
|
||||
ScoreFunctionCall<ScoreFunctionCreator<DataConfigCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
DataConfigCQ cq = new DataConfigCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
DataConfigCQ cf = new DataConfigCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<DataConfigCQ, DataConfigCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,24 @@ public abstract class BsDataConfigToLabelCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<DataConfigToLabelCQ> queryLambda,
|
||||
ScoreFunctionCall<ScoreFunctionCreator<DataConfigToLabelCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
DataConfigToLabelCQ cq = new DataConfigToLabelCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
DataConfigToLabelCQ cf = new DataConfigToLabelCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<DataConfigToLabelCQ, DataConfigToLabelCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,24 @@ public abstract class BsDataConfigToRoleCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<DataConfigToRoleCQ> queryLambda,
|
||||
ScoreFunctionCall<ScoreFunctionCreator<DataConfigToRoleCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
DataConfigToRoleCQ cq = new DataConfigToRoleCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
DataConfigToRoleCQ cf = new DataConfigToRoleCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<DataConfigToRoleCQ, DataConfigToRoleCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.elasticsearch.index.query.RegexpQueryBuilder;
|
|||
import org.elasticsearch.index.query.TermQueryBuilder;
|
||||
import org.elasticsearch.index.query.TermsQueryBuilder;
|
||||
import org.elasticsearch.index.query.WildcardQueryBuilder;
|
||||
import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
|
||||
/**
|
||||
* @author ESFlute (using FreeGen)
|
||||
|
@ -57,6 +58,24 @@ public abstract class BsDuplicateHostCQ extends EsAbstractConditionQuery {
|
|||
// ===================================================================================
|
||||
// Query Control
|
||||
// =============
|
||||
public void functionScore(OperatorCall<DuplicateHostCQ> queryLambda,
|
||||
ScoreFunctionCall<ScoreFunctionCreator<DuplicateHostCQ>> functionsLambda,
|
||||
final ConditionOptionCall<FunctionScoreQueryBuilder> opLambda) {
|
||||
DuplicateHostCQ cq = new DuplicateHostCQ();
|
||||
queryLambda.callback(cq);
|
||||
final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery());
|
||||
if (functionsLambda != null) {
|
||||
functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
|
||||
DuplicateHostCQ cf = new DuplicateHostCQ();
|
||||
cqLambda.callback(cf);
|
||||
builder.add(cf.getQuery(), scoreFunctionBuilder);
|
||||
});
|
||||
}
|
||||
if (opLambda != null) {
|
||||
opLambda.callback(builder);
|
||||
}
|
||||
}
|
||||
|
||||
public void filtered(FilteredCall<DuplicateHostCQ, DuplicateHostCQ> filteredLambda) {
|
||||
filtered(filteredLambda, null);
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue