org.elasticsearch.cluster.metadata.IndexMetaData.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(67)

本文整理了Java中org.elasticsearch.cluster.metadata.IndexMetaData.<init>()方法的一些代码示例,展示了IndexMetaData.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。IndexMetaData.<init>()方法的具体详情如下:
包路径:org.elasticsearch.cluster.metadata.IndexMetaData
类名称:IndexMetaData
方法名:<init>

IndexMetaData.<init>介绍

暂无

代码示例

代码示例来源:origin: org.elasticsearch/elasticsearch

return new IndexMetaData(new Index(index, uuid), version, mappingVersion, settingsVersion, primaryTerms, state,
  numberOfShards, numberOfReplicas, tmpSettings, mappings.build(), tmpAliases.build(), customMetaData.build(),
  filledInSyncAllocationIds.build(), requireFilters, initialRecoveryFilters, includeFilters, excludeFilters,

代码示例来源:origin: harbby/presto-connectors

public IndexMetaData build() {
  ImmutableOpenMap.Builder<String, AliasMetaData> tmpAliases = aliases;
  Settings tmpSettings = settings;
  // update default mapping on the MappingMetaData
  if (mappings.containsKey(MapperService.DEFAULT_MAPPING)) {
    MappingMetaData defaultMapping = mappings.get(MapperService.DEFAULT_MAPPING);
    for (ObjectCursor<MappingMetaData> cursor : mappings.values()) {
      cursor.value.updateDefaultMapping(defaultMapping);
    }
  }
  return new IndexMetaData(index, version, state, tmpSettings, mappings.build(), tmpAliases.build(), customs.build());
}

代码示例来源:origin: apache/servicemix-bundles

return new IndexMetaData(new Index(index, uuid), version, primaryTerms, state, numberOfShards, numberOfReplicas, tmpSettings, mappings.build(),
  tmpAliases.build(), customs.build(), filledInSyncAllocationIds.build(), requireFilters, initialRecoveryFilters, includeFilters, excludeFilters,
  indexCreatedVersion, indexUpgradedVersion, getRoutingNumShards(), routingPartitionSize, waitForActiveShards, rolloverInfos.build());

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

return new IndexMetaData(new Index(index, uuid), version, mappingVersion, settingsVersion, primaryTerms, state, numberOfShards, numberOfReplicas, tmpSettings, mappings.build(),
  tmpAliases.build(), customMetaData.build(), filledInSyncAllocationIds.build(), requireFilters, initialRecoveryFilters, includeFilters, excludeFilters,
  indexCreatedVersion, indexUpgradedVersion, getRoutingNumShards(), routingPartitionSize, waitForActiveShards, rolloverInfos.build());

代码示例来源:origin: com.strapdata.elasticsearch/elasticsearch

return new IndexMetaData(new Index(index, uuid), version, primaryTerms, state, tmpSettings, mappings.build(),
  tmpAliases.build(), customs.build(), filledInSyncAllocationIds.build(), requireFilters, initialRecoveryFilters, includeFilters, excludeFilters,
  indexCreatedVersion, indexUpgradedVersion, getRoutingNumShards(), routingPartitionSize, waitForActiveShards);

相关文章

微信公众号

最新文章

更多

IndexMetaData类方法