org.elasticsearch.hadoop.util.Assert.isFalse()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(141)

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

Assert.isFalse介绍

暂无

代码示例

代码示例来源:origin: elastic/elasticsearch-hadoop

public SearchRequestBuilder fields(String fieldsCSV) {
  Assert.isFalse(this.excludeSource, "Fields can't be requested because _source section is excluded");
  this.fields = fieldsCSV;
  return this;
}

代码示例来源:origin: elastic/elasticsearch-hadoop

public static void isFalse(Boolean object) {
    isFalse(object, "[Assertion failed] - this argument must be false");
  }
}

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

public SearchRequestBuilder fields(String fieldsCSV) {
  Assert.isFalse(this.excludeSource, "Fields can't be requested because _source section is excluded");
  this.fields = fieldsCSV;
  return this;
}

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

public static void isFalse(Boolean object) {
    isFalse(object, "[Assertion failed] - this argument must be false");
  }
}

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

public SearchRequestBuilder fields(String fieldsCSV) {
  Assert.isFalse(this.excludeSource, "Fields can't be requested because _source section is excluded");
  this.fields = fieldsCSV;
  return this;
}

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

public SearchRequestBuilder fields(String fieldsCSV) {
  Assert.isFalse(this.excludeSource, "Fields can't be requested because _source section is excluded");
  this.fields = fieldsCSV;
  return this;
}

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

public static void isFalse(Boolean object) {
    isFalse(object, "[Assertion failed] - this argument must be false");
  }
}

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

public static void isFalse(Boolean object) {
    isFalse(object, "[Assertion failed] - this argument must be false");
  }
}

相关文章