org.elasticsearch.cluster.metadata.MetaData.isExplicitAllType()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(115)

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

MetaData.isExplicitAllType介绍

[英]Identifies whether the array containing type names given as argument explicitly refers to all types The empty or null array doesn't explicitly map to all types
[中]标识包含作为参数给出的类型名称的数组是否显式引用了空数组或空数组未显式映射到所有类型的所有类型

代码示例

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

/**
 * Identifies whether the array containing type names given as argument refers to all types
 * The empty or null array identifies all types
 *
 * @param types the array containing types
 * @return true if the provided array maps to all types, false otherwise
 */
public static boolean isAllTypes(String[] types) {
  return types == null || types.length == 0 || isExplicitAllType(types);
}

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

/**
 * Identifies whether the array containing type names given as argument refers to all types
 * The empty or null array identifies all types
 *
 * @param types the array containing types
 * @return true if the provided array maps to all types, false otherwise
 */
public static boolean isAllTypes(String[] types) {
  return types == null || types.length == 0 || isExplicitAllType(types);
}

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

/**
 * Identifies whether the array containing type names given as argument refers to all types
 * The empty or null array identifies all types
 *
 * @param types the array containing types
 * @return true if the provided array maps to all types, false otherwise
 */
public static boolean isAllTypes(String[] types) {
  return types == null || types.length == 0 || isExplicitAllType(types);
}

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

/**
 * Identifies whether the array containing type names given as argument refers to all types
 * The empty or null array identifies all types
 *
 * @param types the array containing types
 * @return true if the provided array maps to all types, false otherwise
 */
public static boolean isAllTypes(String[] types) {
  return types == null || types.length == 0 || isExplicitAllType(types);
}

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

/**
 * Identifies whether the array containing type names given as argument refers to all types
 * The empty or null array identifies all types
 *
 * @param types the array containing types
 * @return true if the provided array maps to all types, false otherwise
 */
public static boolean isAllTypes(String[] types) {
  return types == null || types.length == 0 || isExplicitAllType(types);
}

相关文章