本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
}
示例5: CiProxiesTeams
import org.jooq.Table; //导入依赖的package包/类
private CiProxiesTeams(String alias, Table<CiProxiesTeamsRecord> aliased) {
this(alias, aliased, null);
}
示例6: getTables
import org.jooq.Table; //导入依赖的package包/类
@Override
public final List<Table<?>> getTables() {
List result = new ArrayList();
result.addAll(getTables0());
return result;
}
示例7: Pages
import org.jooq.Table; //导入依赖的package包/类
private Pages(String alias, Table<PagesRecord> aliased) {
this(alias, aliased, null);
}
示例8: getTables0
import org.jooq.Table; //导入依赖的package包/类
private final List<Table<?>> getTables0() {
return Arrays.<Table<?>>asList(
Categories.CATEGORIES,
Jokes.JOKES);
}
示例9: Jokes
import org.jooq.Table; //导入依赖的package包/类
private Jokes(Name alias, Table<JokesRecord> aliased) {
this(alias, aliased, null);
}
示例10: Categories
import org.jooq.Table; //导入依赖的package包/类
private Categories(Name alias, Table<CategoriesRecord> aliased) {
this(alias, aliased, null);
}
示例11: Invitations
import org.jooq.Table; //导入依赖的package包/类
private Invitations(String alias, Table<InvitationsRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
}
示例12: getTables0
import org.jooq.Table; //导入依赖的package包/类
private final List<Table<?>> getTables0() {
return Arrays.<Table<?>>asList(
SecUser.SEC_USER);
}
示例13: SecUser
import org.jooq.Table; //导入依赖的package包/类
private SecUser(Name alias, Table<SecUserRecord> aliased) {
this(alias, aliased, null);
}
示例14: v1_Book
import org.jooq.Table; //导入依赖的package包/类
private v1_Book(String alias, Table<v1_BookRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, "");
}
示例15: getTables0
import org.jooq.Table; //导入依赖的package包/类
private final List<Table<?>> getTables0() {
return Arrays.<Table<?>>asList(
CrawlEntities.CRAWL_ENTITIES);
}