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


import ervu_secret.ervu_secret.db_beans.pg_catalog.tables.PgStatProgressVacuum;

import org.jooq.impl.TableRecordImpl;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgStatProgressVacuumRecord extends TableRecordImpl<PgStatProgressVacuumRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.pg_stat_progress_vacuum.pid</code>.
     */
    public void setPid(Integer value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_progress_vacuum.pid</code>.
     */
    public Integer getPid() {
        return (Integer) get(0);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_progress_vacuum.datid</code>.
     */
    public void setDatid(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_progress_vacuum.datid</code>.
     */
    public Long getDatid() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_progress_vacuum.datname</code>.
     */
    public void setDatname(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_progress_vacuum.datname</code>.
     */
    public String getDatname() {
        return (String) get(2);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_progress_vacuum.relid</code>.
     */
    public void setRelid(Long value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_progress_vacuum.relid</code>.
     */
    public Long getRelid() {
        return (Long) get(3);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_progress_vacuum.phase</code>.
     */
    public void setPhase(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_progress_vacuum.phase</code>.
     */
    public String getPhase() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_vacuum.heap_blks_total</code>.
     */
    public void setHeapBlksTotal(Long value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_vacuum.heap_blks_total</code>.
     */
    public Long getHeapBlksTotal() {
        return (Long) get(5);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_vacuum.heap_blks_scanned</code>.
     */
    public void setHeapBlksScanned(Long value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_vacuum.heap_blks_scanned</code>.
     */
    public Long getHeapBlksScanned() {
        return (Long) get(6);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_vacuum.heap_blks_vacuumed</code>.
     */
    public void setHeapBlksVacuumed(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_vacuum.heap_blks_vacuumed</code>.
     */
    public Long getHeapBlksVacuumed() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_vacuum.index_vacuum_count</code>.
     */
    public void setIndexVacuumCount(Long value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_vacuum.index_vacuum_count</code>.
     */
    public Long getIndexVacuumCount() {
        return (Long) get(8);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_vacuum.max_dead_tuples</code>.
     */
    public void setMaxDeadTuples(Long value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_vacuum.max_dead_tuples</code>.
     */
    public Long getMaxDeadTuples() {
        return (Long) get(9);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_vacuum.num_dead_tuples</code>.
     */
    public void setNumDeadTuples(Long value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_vacuum.num_dead_tuples</code>.
     */
    public Long getNumDeadTuples() {
        return (Long) get(10);
    }

    // -------------------------------------------------------------------------
    // Constructors
    // -------------------------------------------------------------------------

    /**
     * Create a detached PgStatProgressVacuumRecord
     */
    public PgStatProgressVacuumRecord() {
        super(PgStatProgressVacuum.PG_STAT_PROGRESS_VACUUM);
    }

    /**
     * Create a detached, initialised PgStatProgressVacuumRecord
     */
    public PgStatProgressVacuumRecord(Integer pid, Long datid, String datname, Long relid, String phase, Long heapBlksTotal, Long heapBlksScanned, Long heapBlksVacuumed, Long indexVacuumCount, Long maxDeadTuples, Long numDeadTuples) {
        super(PgStatProgressVacuum.PG_STAT_PROGRESS_VACUUM);

        setPid(pid);
        setDatid(datid);
        setDatname(datname);
        setRelid(relid);
        setPhase(phase);
        setHeapBlksTotal(heapBlksTotal);
        setHeapBlksScanned(heapBlksScanned);
        setHeapBlksVacuumed(heapBlksVacuumed);
        setIndexVacuumCount(indexVacuumCount);
        setMaxDeadTuples(maxDeadTuples);
        setNumDeadTuples(numDeadTuples);
        resetChangedOnNotNull();
    }
}
