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

org.jooq.util.mysql.mysql.Mysql Maven / Gradle / Ivy

/**
 * This class is generated by jOOQ
 */
package org.jooq.util.mysql.mysql;


import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import javax.annotation.Generated;

import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
import org.jooq.util.mysql.mysql.tables.Proc;
import org.jooq.util.mysql.mysql.tables.ProcsPriv;


/**
 * This class is generated by jOOQ.
 */
@Generated(
    value = {
        "http://www.jooq.org",
        "jOOQ version:3.9.0"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Mysql extends SchemaImpl {

    private static final long serialVersionUID = 1140106601;

    /**
     * The reference instance of mysql
     */
    public static final Mysql MYSQL = new Mysql();

    /**
     * Stored Procedures
     */
    public final Proc PROC = org.jooq.util.mysql.mysql.tables.Proc.PROC;

    /**
     * Procedure privileges
     */
    public final ProcsPriv PROCS_PRIV = org.jooq.util.mysql.mysql.tables.ProcsPriv.PROCS_PRIV;

    /**
     * No further instances allowed
     */
    private Mysql() {
        super("mysql", null);
    }


    /**
     * {@inheritDoc}
     */
    @Override
    public Catalog getCatalog() {
        return DefaultCatalog.DEFAULT_CATALOG;
    }

    @Override
    public final List> getTables() {
        List result = new ArrayList();
        result.addAll(getTables0());
        return result;
    }

    private final List> getTables0() {
        return Arrays.>asList(
            Proc.PROC,
            ProcsPriv.PROCS_PRIV);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy