当前位置: 首页>>代码示例>>Java>>正文


Java Table类代码示例

本文整理汇总了Java中org.jooq.Table的典型用法代码示例。如果您正苦于以下问题:Java Table类的具体用法?Java Table怎么用?Java Table使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


Table类属于org.jooq包,在下文中一共展示了Table类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: notExists

import org.jooq.Table; //导入依赖的package包/类
private ValidationResult notExists(final DSLContext context, final ColumnPermutation lhs,
    final ColumnPermutation rhs) {

  final Table<Record> lhsAlias = context.select(fields(lhs))
      .from(tables(lhs))
      .where(notNull(lhs))
      .asTable();

  final int violators = context.selectCount().from(
      selectFrom(lhsAlias).whereNotExists(
          context.selectOne()
              .from(tables(rhs))
              .where(row(fields(rhs)).eq(row(lhsAlias.fields())))
      ).limit(1)
  ).fetchOne().value1();

  return new DefaultValidationResult(violators == 0);
}
 
开发者ID:HPI-Information-Systems,项目名称:AdvancedDataProfilingSeminar,代码行数:19,代码来源:Queries.java

示例2: getTables0

import org.jooq.Table; //导入依赖的package包/类
private final List<Table<?>> getTables0() {
    return Arrays.<Table<?>>asList(
        Authentications.AUTHENTICATIONS,
        CiProxies.CI_PROXIES,
        CiProxiesTeams.CI_PROXIES_TEAMS,
        GroupMembers.GROUP_MEMBERS,
        Groups.GROUPS,
        GroupsTeams.GROUPS_TEAMS,
        Invitations.INVITATIONS,
        MiscDocs.MISC_DOCS,
        Organizations.ORGANIZATIONS,
        SchemaMigrations.SCHEMA_MIGRATIONS,
        Teams.TEAMS,
        TeamsUsers.TEAMS_USERS,
        UserFavorites.USER_FAVORITES,
        UserWatches.USER_WATCHES,
        Users.USERS);
}
 
开发者ID:oneops,项目名称:secrets-proxy,代码行数:19,代码来源:Public.java

示例3: getTables0

import org.jooq.Table; //导入依赖的package包/类
private final List<Table<?>> getTables0() {
    return Arrays.<Table<?>>asList(
        Authority.AUTHORITY,
        Function.FUNCTION,
        Role.ROLE,
        SchemaVersion.SCHEMA_VERSION,
        User.USER);
}
 
开发者ID:Sunshine-Constructing,项目名称:sunshine-security,代码行数:9,代码来源:SunshineSecurity.java

示例4: MappingQueryGenerator

import org.jooq.Table; //导入依赖的package包/类
/**
* Desc : Constructor of MappingQueryGenerator.java class
* 
* @param dslContext
* @param tableName
*/
  public MappingQueryGenerator(DSLContext dslContext, final String tableName) {
      Meta meta = dslContext.meta();

      for (Table<?> table : meta.getTables()) {
          if (table.getName().equalsIgnoreCase(tableName)) {
              this.table = table;
              break;
          }
      }
      if (this.table == null) {
          throw new JDBCSinkException("Table not found: " + tableName);
      }
  }
 
开发者ID:SoonhyukYoon,项目名称:stratio-jdbc-sink-mariadb,代码行数:20,代码来源:MappingQueryGenerator.java

示例5: CiProxiesTeams

import org.jooq.Table; //导入依赖的package包/类
private CiProxiesTeams(String alias, Table<CiProxiesTeamsRecord> aliased) {
    this(alias, aliased, null);
}
 
开发者ID:oneops,项目名称:secrets-proxy,代码行数:4,代码来源:CiProxiesTeams.java

示例6: getTables

import org.jooq.Table; //导入依赖的package包/类
@Override
public final List<Table<?>> getTables() {
    List result = new ArrayList();
    result.addAll(getTables0());
    return result;
}
 
开发者ID:FroMage,项目名称:redpipe,代码行数:7,代码来源:Public.java

示例7: Pages

import org.jooq.Table; //导入依赖的package包/类
private Pages(String alias, Table<PagesRecord> aliased) {
    this(alias, aliased, null);
}
 
开发者ID:FroMage,项目名称:redpipe,代码行数:4,代码来源:Pages.java

示例8: getTables0

import org.jooq.Table; //导入依赖的package包/类
private final List<Table<?>> getTables0() {
    return Arrays.<Table<?>>asList(
        Categories.CATEGORIES,
        Jokes.JOKES);
}
 
开发者ID:baez90,项目名称:SA-Jericho,代码行数:6,代码来源:Public.java

示例9: Jokes

import org.jooq.Table; //导入依赖的package包/类
private Jokes(Name alias, Table<JokesRecord> aliased) {
    this(alias, aliased, null);
}
 
开发者ID:baez90,项目名称:SA-Jericho,代码行数:4,代码来源:Jokes.java

示例10: Categories

import org.jooq.Table; //导入依赖的package包/类
private Categories(Name alias, Table<CategoriesRecord> aliased) {
    this(alias, aliased, null);
}
 
开发者ID:baez90,项目名称:SA-Jericho,代码行数:4,代码来源:Categories.java

示例11: Invitations

import org.jooq.Table; //导入依赖的package包/类
private Invitations(String alias, Table<InvitationsRecord> aliased, Field<?>[] parameters) {
    super(alias, null, aliased, parameters, "");
}
 
开发者ID:oneops,项目名称:secrets-proxy,代码行数:4,代码来源:Invitations.java

示例12: getTables0

import org.jooq.Table; //导入依赖的package包/类
private final List<Table<?>> getTables0() {
    return Arrays.<Table<?>>asList(
        SecUser.SEC_USER);
}
 
开发者ID:silentbalanceyh,项目名称:vertx-zero,代码行数:5,代码来源:DbHtl.java

示例13: SecUser

import org.jooq.Table; //导入依赖的package包/类
private SecUser(Name alias, Table<SecUserRecord> aliased) {
    this(alias, aliased, null);
}
 
开发者ID:silentbalanceyh,项目名称:vertx-zero,代码行数:4,代码来源:SecUser.java

示例14: v1_Book

import org.jooq.Table; //导入依赖的package包/类
private v1_Book(String alias, Table<v1_BookRecord> aliased, Field<?>[] parameters) {
    super(alias, null, aliased, parameters, "");
}
 
开发者ID:cluelessjoe,项目名称:jooq-flyway-typesafe-migration,代码行数:4,代码来源:v1_Book.java

示例15: getTables0

import org.jooq.Table; //导入依赖的package包/类
private final List<Table<?>> getTables0() {
    return Arrays.<Table<?>>asList(
        CrawlEntities.CRAWL_ENTITIES);
}
 
开发者ID:oneops,项目名称:oneops,代码行数:5,代码来源:Crawler.java


注:本文中的org.jooq.Table类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。