本文整理了Java中org.intermine.objectstore.query.Query.getReverseAliases
方法的一些代码示例,展示了Query.getReverseAliases
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getReverseAliases
方法的具体详情如下:
包路径:org.intermine.objectstore.query.Query
类名称:Query
方法名:getReverseAliases
[英]Returns the map of String aliases to QuerySelectables and FromElements
[中]返回字符串别名到QuerySelectable和FromElements的映射
代码示例来源:origin: org.intermine/intermine-objectstore
qnNew = (QueryNode) ret.getReverseAliases().get(origAlias);
} else if (qn instanceof QueryField) {
QueryField qf = (QueryField) qn;
String origAlias = q.getAliases().get(qf.getFromElement());
qnNew = new QueryField((QueryClass) ret.getReverseAliases().get(origAlias),
qf.getFieldName());
} else {
代码示例来源:origin: intermine/intermine
qnNew = (QueryNode) ret.getReverseAliases().get(origAlias);
} else if (qn instanceof QueryField) {
QueryField qf = (QueryField) qn;
String origAlias = q.getAliases().get(qf.getFromElement());
qnNew = new QueryField((QueryClass) ret.getReverseAliases().get(origAlias),
qf.getFieldName());
} else {
代码示例来源:origin: org.intermine/intermine-objectstore
+ ast.getType() + "]");
Object obj = q.getReverseAliases().get(unescape(ast.getText()));
String text = ast.getText();
} else {
AST thirdAst = secondAst.getNextSibling();
Object secondObj = q2.getReverseAliases().get(unescape(secondAst.getText()));
if (secondObj instanceof QueryClass) {
if (thirdAst == null) {
代码示例来源:origin: intermine/intermine
+ ast.getType() + "]");
Object obj = q.getReverseAliases().get(unescape(ast.getText()));
String text = ast.getText();
} else {
AST thirdAst = secondAst.getNextSibling();
Object secondObj = q2.getReverseAliases().get(unescape(secondAst.getText()));
if (secondObj instanceof QueryClass) {
if (thirdAst == null) {
代码示例来源:origin: org.intermine/intermine-objectstore
FromElement firstObj = (FromElement) q.getReverseAliases().get(firstString);
if ((firstObj instanceof QueryClass) || (firstObj instanceof QueryClassBag)) {
subSubAST = subSubAST.getNextSibling();
代码示例来源:origin: intermine/intermine
FromElement firstObj = (FromElement) q.getReverseAliases().get(firstString);
if ((firstObj instanceof QueryClass) || (firstObj instanceof QueryClassBag)) {
subSubAST = subSubAST.getNextSibling();
内容来源于网络,如有侵权,请联系作者删除!