/*
 * 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 PgLastCommittedXact extends AbstractRoutine<java.lang.Void> {

    private static final long serialVersionUID = 1L;

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

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

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

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

        addOutParameter(XID);
        addOutParameter(TIMESTAMP);
        addOutParameter(ROIDENT);
    }

    /**
     * Get the <code>xid</code> parameter OUT value from the routine
     */
    public Long getXid() {
        return get(XID);
    }

    /**
     * Get the <code>timestamp</code> parameter OUT value from the routine
     */
    public Timestamp getTimestamp() {
        return get(TIMESTAMP);
    }

    /**
     * Get the <code>roident</code> parameter OUT value from the routine
     */
    public Long getRoident() {
        return get(ROIDENT);
    }
}
