本文整理了Java中org.elasticsearch.hadoop.util.Assert.hasNoText()
方法的一些代码示例,展示了Assert.hasNoText()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Assert.hasNoText()
方法的具体详情如下:
包路径:org.elasticsearch.hadoop.util.Assert
类名称:Assert
方法名:hasNoText
暂无
代码示例来源:origin: elastic/elasticsearch-hadoop
public static void hasNoText(CharSequence sequence) {
hasNoText(sequence, "[Assertion failed] - this CharSequence argument must be empty");
}
代码示例来源:origin: elastic/elasticsearch-hadoop
public SearchRequestBuilder excludeSource(boolean value) {
if (value) {
Assert.hasNoText(this.fields, String.format("_source section can't be excluded if fields [%s] are requested", this.fields));
}
this.excludeSource = value;
return this;
}
代码示例来源:origin: org.elasticsearch/elasticsearch-spark-13
public static void hasNoText(CharSequence sequence) {
hasNoText(sequence, "[Assertion failed] - this CharSequence argument must be empty");
}
代码示例来源:origin: org.elasticsearch/elasticsearch-hadoop
public static void hasNoText(CharSequence sequence) {
hasNoText(sequence, "[Assertion failed] - this CharSequence argument must be empty");
}
代码示例来源:origin: org.elasticsearch/elasticsearch-hadoop-mr
public static void hasNoText(CharSequence sequence) {
hasNoText(sequence, "[Assertion failed] - this CharSequence argument must be empty");
}
代码示例来源:origin: org.elasticsearch/elasticsearch-spark-13
public SearchRequestBuilder excludeSource(boolean value) {
if (value) {
Assert.hasNoText(this.fields, String.format("_source section can't be excluded if fields [%s] are requested", this.fields));
}
this.excludeSource = value;
return this;
}
代码示例来源:origin: org.elasticsearch/elasticsearch-hadoop-mr
public SearchRequestBuilder excludeSource(boolean value) {
if (value) {
Assert.hasNoText(this.fields, String.format("_source section can't be excluded if fields [%s] are requested", this.fields));
}
this.excludeSource = value;
return this;
}
代码示例来源:origin: org.elasticsearch/elasticsearch-hadoop
public SearchRequestBuilder excludeSource(boolean value) {
if (value) {
Assert.hasNoText(this.fields, String.format("_source section can't be excluded if fields [%s] are requested", this.fields));
}
this.excludeSource = value;
return this;
}
内容来源于网络,如有侵权,请联系作者删除!