/*
 * This file is generated by jOOQ.
 */
package ervu_secret.ervu_secret.db_beans.pg_catalog.routines;


import ervu_secret.ervu_secret.db_beans.pg_catalog.PgCatalog;

import java.sql.Timestamp;

import org.jooq.Parameter;
import org.jooq.impl.AbstractRoutine;
import org.jooq.impl.Internal;
import org.jooq.impl.SQLDataType;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgStatGetArchiver extends AbstractRoutine<java.lang.Void> {

    private static final long serialVersionUID = 1L;

    /**
     * The parameter
     * <code>pg_catalog.pg_stat_get_archiver.archived_count</code>.
     */
    public static final Parameter<Long> ARCHIVED_COUNT = Internal.createParameter("archived_count", SQLDataType.BIGINT, false, false);

    /**
     * The parameter
     * <code>pg_catalog.pg_stat_get_archiver.last_archived_wal</code>.
     */
    public static final Parameter<String> LAST_ARCHIVED_WAL = Internal.createParameter("last_archived_wal", SQLDataType.CLOB, false, false);

    /**
     * The parameter
     * <code>pg_catalog.pg_stat_get_archiver.last_archived_time</code>.
     */
    public static final Parameter<Timestamp> LAST_ARCHIVED_TIME = Internal.createParameter("last_archived_time", SQLDataType.TIMESTAMP(0), false, false);

    /**
     * The parameter <code>pg_catalog.pg_stat_get_archiver.failed_count</code>.
     */
    public static final Parameter<Long> FAILED_COUNT = Internal.createParameter("failed_count", SQLDataType.BIGINT, false, false);

    /**
     * The parameter
     * <code>pg_catalog.pg_stat_get_archiver.last_failed_wal</code>.
     */
    public static final Parameter<String> LAST_FAILED_WAL = Internal.createParameter("last_failed_wal", SQLDataType.CLOB, false, false);

    /**
     * The parameter
     * <code>pg_catalog.pg_stat_get_archiver.last_failed_time</code>.
     */
    public static final Parameter<Timestamp> LAST_FAILED_TIME = Internal.createParameter("last_failed_time", SQLDataType.TIMESTAMP(0), false, false);

    /**
     * The parameter <code>pg_catalog.pg_stat_get_archiver.stats_reset</code>.
     */
    public static final Parameter<Timestamp> STATS_RESET = Internal.createParameter("stats_reset", SQLDataType.TIMESTAMP(0), false, false);

    /**
     * Create a new routine call instance
     */
    public PgStatGetArchiver() {
        super("pg_stat_get_archiver", PgCatalog.PG_CATALOG);

        addOutParameter(ARCHIVED_COUNT);
        addOutParameter(LAST_ARCHIVED_WAL);
        addOutParameter(LAST_ARCHIVED_TIME);
        addOutParameter(FAILED_COUNT);
        addOutParameter(LAST_FAILED_WAL);
        addOutParameter(LAST_FAILED_TIME);
        addOutParameter(STATS_RESET);
    }

    /**
     * Get the <code>archived_count</code> parameter OUT value from the routine
     */
    public Long getArchivedCount() {
        return get(ARCHIVED_COUNT);
    }

    /**
     * Get the <code>last_archived_wal</code> parameter OUT value from the
     * routine
     */
    public String getLastArchivedWal() {
        return get(LAST_ARCHIVED_WAL);
    }

    /**
     * Get the <code>last_archived_time</code> parameter OUT value from the
     * routine
     */
    public Timestamp getLastArchivedTime() {
        return get(LAST_ARCHIVED_TIME);
    }

    /**
     * Get the <code>failed_count</code> parameter OUT value from the routine
     */
    public Long getFailedCount() {
        return get(FAILED_COUNT);
    }

    /**
     * Get the <code>last_failed_wal</code> parameter OUT value from the routine
     */
    public String getLastFailedWal() {
        return get(LAST_FAILED_WAL);
    }

    /**
     * Get the <code>last_failed_time</code> parameter OUT value from the
     * routine
     */
    public Timestamp getLastFailedTime() {
        return get(LAST_FAILED_TIME);
    }

    /**
     * Get the <code>stats_reset</code> parameter OUT value from the routine
     */
    public Timestamp getStatsReset() {
        return get(STATS_RESET);
    }
}
