/*
 * 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.PgStatProgressCreateIndex;

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

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

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

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

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

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

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

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

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

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.index_relid</code>.
     */
    public void setIndexRelid(Long value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.index_relid</code>.
     */
    public Long getIndexRelid() {
        return (Long) get(4);
    }

    /**
     * Setter for <code>pg_catalog.pg_stat_progress_create_index.command</code>.
     */
    public void setCommand(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>pg_catalog.pg_stat_progress_create_index.command</code>.
     */
    public String getCommand() {
        return (String) get(5);
    }

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

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

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.lockers_total</code>.
     */
    public void setLockersTotal(Long value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.lockers_total</code>.
     */
    public Long getLockersTotal() {
        return (Long) get(7);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.lockers_done</code>.
     */
    public void setLockersDone(Long value) {
        set(8, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.lockers_done</code>.
     */
    public Long getLockersDone() {
        return (Long) get(8);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.current_locker_pid</code>.
     */
    public void setCurrentLockerPid(Long value) {
        set(9, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.current_locker_pid</code>.
     */
    public Long getCurrentLockerPid() {
        return (Long) get(9);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.blocks_total</code>.
     */
    public void setBlocksTotal(Long value) {
        set(10, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.blocks_total</code>.
     */
    public Long getBlocksTotal() {
        return (Long) get(10);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.blocks_done</code>.
     */
    public void setBlocksDone(Long value) {
        set(11, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.blocks_done</code>.
     */
    public Long getBlocksDone() {
        return (Long) get(11);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.tuples_total</code>.
     */
    public void setTuplesTotal(Long value) {
        set(12, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.tuples_total</code>.
     */
    public Long getTuplesTotal() {
        return (Long) get(12);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.tuples_done</code>.
     */
    public void setTuplesDone(Long value) {
        set(13, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.tuples_done</code>.
     */
    public Long getTuplesDone() {
        return (Long) get(13);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.partitions_total</code>.
     */
    public void setPartitionsTotal(Long value) {
        set(14, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.partitions_total</code>.
     */
    public Long getPartitionsTotal() {
        return (Long) get(14);
    }

    /**
     * Setter for
     * <code>pg_catalog.pg_stat_progress_create_index.partitions_done</code>.
     */
    public void setPartitionsDone(Long value) {
        set(15, value);
    }

    /**
     * Getter for
     * <code>pg_catalog.pg_stat_progress_create_index.partitions_done</code>.
     */
    public Long getPartitionsDone() {
        return (Long) get(15);
    }

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

    /**
     * Create a detached PgStatProgressCreateIndexRecord
     */
    public PgStatProgressCreateIndexRecord() {
        super(PgStatProgressCreateIndex.PG_STAT_PROGRESS_CREATE_INDEX);
    }

    /**
     * Create a detached, initialised PgStatProgressCreateIndexRecord
     */
    public PgStatProgressCreateIndexRecord(Integer pid, Long datid, String datname, Long relid, Long indexRelid, String command, String phase, Long lockersTotal, Long lockersDone, Long currentLockerPid, Long blocksTotal, Long blocksDone, Long tuplesTotal, Long tuplesDone, Long partitionsTotal, Long partitionsDone) {
        super(PgStatProgressCreateIndex.PG_STAT_PROGRESS_CREATE_INDEX);

        setPid(pid);
        setDatid(datid);
        setDatname(datname);
        setRelid(relid);
        setIndexRelid(indexRelid);
        setCommand(command);
        setPhase(phase);
        setLockersTotal(lockersTotal);
        setLockersDone(lockersDone);
        setCurrentLockerPid(currentLockerPid);
        setBlocksTotal(blocksTotal);
        setBlocksDone(blocksDone);
        setTuplesTotal(tuplesTotal);
        setTuplesDone(tuplesDone);
        setPartitionsTotal(partitionsTotal);
        setPartitionsDone(partitionsDone);
        resetChangedOnNotNull();
    }
}
