All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.camel.component.jooq.db.Indexes Maven / Gradle / Ivy

Go to download

The jooq component enables you to store and retrieve entities from databases using JOOQ

The newest version!
/*
 * This file is generated by jOOQ.
 */
package org.apache.camel.component.jooq.db;


import org.apache.camel.component.jooq.db.tables.Author;
import org.apache.camel.component.jooq.db.tables.Book;
import org.apache.camel.component.jooq.db.tables.BookStore;
import org.apache.camel.component.jooq.db.tables.BookToBookStore;
import org.jooq.Index;
import org.jooq.OrderField;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;


/**
 * A class modelling indexes of tables in PUBLIC.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class Indexes {

    // -------------------------------------------------------------------------
    // INDEX definitions
    // -------------------------------------------------------------------------

    public static final Index FK_B2BS_B_ID = Internal.createIndex(DSL.name("FK_B2BS_B_ID"), BookToBookStore.BOOK_TO_BOOK_STORE, new OrderField[] { BookToBookStore.BOOK_TO_BOOK_STORE.BOOK_ID }, false);
    public static final Index FK_B2BS_BS_NAME = Internal.createIndex(DSL.name("FK_B2BS_BS_NAME"), BookToBookStore.BOOK_TO_BOOK_STORE, new OrderField[] { BookToBookStore.BOOK_TO_BOOK_STORE.BOOK_STORE_NAME }, false);
    public static final Index FK_T_BOOK_AUTHOR_ID = Internal.createIndex(DSL.name("FK_T_BOOK_AUTHOR_ID"), Book.BOOK, new OrderField[] { Book.BOOK.AUTHOR_ID }, false);
    public static final Index FK_T_BOOK_CO_AUTHOR_ID = Internal.createIndex(DSL.name("FK_T_BOOK_CO_AUTHOR_ID"), Book.BOOK, new OrderField[] { Book.BOOK.CO_AUTHOR_ID }, false);
    public static final Index PK_B2BS = Internal.createIndex(DSL.name("PK_B2BS"), BookToBookStore.BOOK_TO_BOOK_STORE, new OrderField[] { BookToBookStore.BOOK_TO_BOOK_STORE.BOOK_STORE_NAME, BookToBookStore.BOOK_TO_BOOK_STORE.BOOK_ID }, true);
    public static final Index PK_T_AUTHOR = Internal.createIndex(DSL.name("PK_T_AUTHOR"), Author.AUTHOR, new OrderField[] { Author.AUTHOR.ID }, true);
    public static final Index PK_T_BOOK = Internal.createIndex(DSL.name("PK_T_BOOK"), Book.BOOK, new OrderField[] { Book.BOOK.ID }, true);
    public static final Index UK_T_BOOK_STORE_NAME = Internal.createIndex(DSL.name("UK_T_BOOK_STORE_NAME"), BookStore.BOOK_STORE, new OrderField[] { BookStore.BOOK_STORE.NAME }, true);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy