org.h2.command.dml.Query.getTables()方法的使用及代码示例

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

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

Query.getTables介绍

[英]Get all tables that are involved in this query.
[中]获取此查询中涉及的所有表。

代码示例

代码示例来源:origin: com.h2database/h2

  1. @Override
  2. public HashSet<Table> getTables() {
  3. HashSet<Table> set = left.getTables();
  4. set.addAll(right.getTables());
  5. return set;
  6. }

代码示例来源:origin: com.h2database/h2

  1. Query compiledQuery = compileViewQuery(session, querySQL, literalsChecked, getName());
  2. this.querySQL = compiledQuery.getPlanSQL();
  3. tables = new ArrayList<>(compiledQuery.getTables());
  4. ArrayList<Expression> expressions = compiledQuery.getExpressions();
  5. ArrayList<Column> list = New.arrayList();

代码示例来源:origin: com.h2database/com.springsource.org.h2

  1. public HashSet getTables() {
  2. HashSet set = left.getTables();
  3. set.addAll(right.getTables());
  4. return set;
  5. }

代码示例来源:origin: org.wowtools/h2

  1. @Override
  2. public HashSet<Table> getTables() {
  3. HashSet<Table> set = left.getTables();
  4. set.addAll(right.getTables());
  5. return set;
  6. }

代码示例来源:origin: com.eventsourcing/h2

  1. @Override
  2. public HashSet<Table> getTables() {
  3. HashSet<Table> set = left.getTables();
  4. set.addAll(right.getTables());
  5. return set;
  6. }

代码示例来源:origin: org.wowtools/h2

  1. Query query = compileViewQuery(session, querySQL);
  2. this.querySQL = query.getPlanSQL();
  3. tables = New.arrayList(query.getTables());
  4. ArrayList<Expression> expressions = query.getExpressions();
  5. ArrayList<Column> list = New.arrayList();

代码示例来源:origin: com.eventsourcing/h2

  1. Query query = compileViewQuery(session, querySQL);
  2. this.querySQL = query.getPlanSQL();
  3. tables = New.arrayList(query.getTables());
  4. ArrayList<Expression> expressions = query.getExpressions();
  5. ArrayList<Column> list = New.arrayList();

代码示例来源:origin: com.h2database/com.springsource.org.h2

  1. try {
  2. Query query = recompileQuery(session);
  3. tables = new ObjectArray(query.getTables());
  4. ObjectArray expressions = query.getExpressions();
  5. ObjectArray list = new ObjectArray();

相关文章