本文整理了Java中org.elasticsearch.search.aggregations.support.ValuesSourceConfig.
方法的一些代码示例,展示了ValuesSourceConfig.
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ValuesSourceConfig.
方法的具体详情如下:
包路径:org.elasticsearch.search.aggregations.support.ValuesSourceConfig
类名称:ValuesSourceConfig
方法名:
暂无
代码示例来源:origin: org.elasticsearch/elasticsearch
if (script == null) {
@SuppressWarnings("unchecked")
ValuesSourceConfig
config.format(resolveFormat(null, valueType, timeZone));
return config;
ValuesSourceConfig
config.missing(missing);
config.timezone(timeZone);
if (fieldType == null) {
ValuesSourceType valuesSourceType = valueType != null ? valueType.getValuesSourceType() : ValuesSourceType.ANY;
ValuesSourceConfig
config.missing(missing);
config.timezone(timeZone);
if (valueType == null) {
if (indexFieldData instanceof IndexNumericFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.NUMERIC);
} else if (indexFieldData instanceof IndexGeoPointFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.GEOPOINT);
} else {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.BYTES);
cOnfig= new ValuesSourceConfig<>(valueType.getValuesSourceType());
代码示例来源:origin: org.codelibs.elasticsearch.module/parent-join
@Override
protected ValuesSourceConfig
ValuesSourceConfig
joinFieldResolveConfig(context, config);
return config;
}
代码示例来源:origin: org.elasticsearch.plugin/parent-join-client
@Override
protected ValuesSourceConfig
ValuesSourceConfig
joinFieldResolveConfig(context, config);
return config;
}
代码示例来源:origin: org.elasticsearch.plugin/aggs-matrix-stats-client
ValuesSourceConfig
return config.format(resolveFormat(null, valueType));
ValuesSourceConfig
config.missing(missingMap.get(field));
return config.format(resolveFormat(format, valueType));
if (fieldType == null) {
ValuesSourceType valuesSourceType = valueType != null ? valueType.getValuesSourceType() : this.valuesSourceType;
ValuesSourceConfig
config.missing(missingMap.get(field));
config.format(resolveFormat(format, valueType));
if (valuesSourceType == ValuesSourceType.ANY) {
if (indexFieldData instanceof IndexNumericFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.NUMERIC);
} else if (indexFieldData instanceof IndexGeoPointFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.GEOPOINT);
} else {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.BYTES);
cOnfig= new ValuesSourceConfig<>(valuesSourceType);
代码示例来源:origin: org.codelibs.elasticsearch.module/aggs-matrix-stats
ValuesSourceConfig
return config.format(resolveFormat(null, valueType));
ValuesSourceConfig
config.missing(missingMap.get(field));
return config.format(resolveFormat(format, valueType));
if (fieldType == null) {
ValuesSourceType valuesSourceType = valueType != null ? valueType.getValuesSourceType() : this.valuesSourceType;
ValuesSourceConfig
config.missing(missingMap.get(field));
config.format(resolveFormat(format, valueType));
if (valuesSourceType == ValuesSourceType.ANY) {
if (indexFieldData instanceof IndexNumericFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.NUMERIC);
} else if (indexFieldData instanceof IndexGeoPointFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.GEOPOINT);
} else {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.BYTES);
cOnfig= new ValuesSourceConfig<>(valuesSourceType);
代码示例来源:origin: com.strapdata.elasticsearch.plugin/parent-join
@Override
protected ValuesSourceConfig
ValuesSourceConfig
if (context.mapperService().getIndexSettings().isSingleType()) {
joinFieldResolveConfig(context, config);
} else {
parentFieldResolveConfig(context, config);
}
return config;
}
代码示例来源:origin: org.elasticsearch.plugin/parent-join-client
@Override
protected ValuesSourceConfig
ValuesSourceConfig
if (context.mapperService().getIndexSettings().isSingleType()) {
joinFieldResolveConfig(context, config);
} else {
parentFieldResolveConfig(context, config);
}
return config;
}
代码示例来源:origin: org.codelibs.elasticsearch.module/parent-join
@Override
protected ValuesSourceConfig
ValuesSourceConfig
if (context.mapperService().getIndexSettings().isSingleType()) {
joinFieldResolveConfig(context, config);
} else {
parentFieldResolveConfig(context, config);
}
return config;
}
代码示例来源:origin: harbby/presto-connectors
ValuesSourceConfig
config.format = resolveFormat(null, valueType);
return config;
ValuesSourceConfig
config.missing = input.missing;
config.format = resolveFormat(input.format, valueType);
if (fieldType == null) {
Class
ValuesSourceConfig
config.missing = input.missing;
config.format = resolveFormat(input.format, valueType);
if (valuesSourceType == ValuesSource.class) {
if (indexFieldData instanceof IndexNumericFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSource.Numeric.class);
} else if (indexFieldData instanceof IndexGeoPointFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSource.GeoPoint.class);
} else {
cOnfig= new ValuesSourceConfig<>(ValuesSource.Bytes.class);
cOnfig= new ValuesSourceConfig(valuesSourceType);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch
if (script == null) {
@SuppressWarnings("unchecked")
ValuesSourceConfig
config.format(resolveFormat(null, valueType, timeZone));
return config;
ValuesSourceConfig
config.missing(missing);
config.timezone(timeZone);
if (fieldType == null) {
ValuesSourceType valuesSourceType = valueType != null ? valueType.getValuesSourceType() : ValuesSourceType.ANY;
ValuesSourceConfig
config.missing(missing);
config.timezone(timeZone);
if (valueType == null) {
if (indexFieldData instanceof IndexNumericFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.NUMERIC);
} else if (indexFieldData instanceof IndexGeoPointFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.GEOPOINT);
} else {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.BYTES);
cOnfig= new ValuesSourceConfig<>(valueType.getValuesSourceType());
代码示例来源:origin: apache/servicemix-bundles
if (script == null) {
@SuppressWarnings("unchecked")
ValuesSourceConfig
config.format(resolveFormat(null, valueType));
return config;
ValuesSourceConfig
config.missing(missing);
config.timezone(timeZone);
if (fieldType == null) {
ValuesSourceType valuesSourceType = valueType != null ? valueType.getValuesSourceType() : ValuesSourceType.ANY;
ValuesSourceConfig
config.missing(missing);
config.timezone(timeZone);
if (valueType == null) {
if (indexFieldData instanceof IndexNumericFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.NUMERIC);
} else if (indexFieldData instanceof IndexGeoPointFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.GEOPOINT);
} else {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.BYTES);
cOnfig= new ValuesSourceConfig<>(valueType.getValuesSourceType());
代码示例来源:origin: com.strapdata.elasticsearch/elasticsearch
if (script == null) {
@SuppressWarnings("unchecked")
ValuesSourceConfig
config.format(resolveFormat(null, valueType));
return config;
ValuesSourceConfig
config.missing(missing);
config.timezone(timeZone);
if (fieldType == null) {
ValuesSourceType valuesSourceType = valueType != null ? valueType.getValuesSourceType() : ValuesSourceType.ANY;
ValuesSourceConfig
config.missing(missing);
config.timezone(timeZone);
if (valueType == null) {
if (indexFieldData instanceof IndexNumericFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.NUMERIC);
} else if (indexFieldData instanceof IndexGeoPointFieldData) {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.GEOPOINT);
} else {
cOnfig= new ValuesSourceConfig<>(ValuesSourceType.BYTES);
cOnfig= new ValuesSourceConfig<>(valueType.getValuesSourceType());
代码示例来源:origin: algolia/elasticsearch-topk-plugin
@Override
public AggregatorFactory parse(String aggregationName, XContentParser parser, SearchContext context) throws IOException {
ValuesSourceConfig
代码示例来源:origin: harbby/presto-connectors
ValuesSourceConfig
DocumentMapper childDocMapper = context.mapperService().documentMapper(childType);