org.intermine.objectstore.query.Query.getReverseAliases()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(84)

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

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();

相关文章