本文整理了Java中org.intermine.metadata.Util.wildcardUserToSql()
方法的一些代码示例,展示了Util.wildcardUserToSql()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.wildcardUserToSql()
方法的具体详情如下:
包路径:org.intermine.metadata.Util
类名称:Util
方法名:wildcardUserToSql
[英]Turn a user supplied wildcard expression with * into an SQL LIKE/NOT LIKE expression with %'s and other special characters. Please note that constraint value is saved in created java object (constraint) in form with '%' and in this form is saved in xml as well.
[中]将用户提供的带*的通配符表达式转换为带%'和其他特殊字符的类SQL/不类SQL表达式。请注意,约束值以“%”的形式保存在已创建的java对象(约束)中,并且在该形式中也以xml的形式保存。
代码示例来源:origin: intermine/intermine
} else {
qe = new QueryExpression(QueryExpression.LOWER, qf);
value = Util.wildcardUserToSql(c.getValue().toLowerCase());
代码示例来源:origin: org.intermine/intermine-api
} else {
qe = new QueryExpression(QueryExpression.LOWER, qf);
value = Util.wildcardUserToSql(c.getValue().toLowerCase());
内容来源于网络,如有侵权,请联系作者删除!