當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。