/**
* This class is generated by jOOQ
*/
package org.jooq.util.postgres.pg_catalog.tables;
import java.sql.Timestamp;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.impl.TableImpl;
import org.jooq.util.postgres.pg_catalog.PgCatalog;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.8.0"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PgCursor extends TableImpl<Record> {
private static final long serialVersionUID = -1860388401;
/**
* The reference instance of <code>pg_catalog.pg_cursor</code>
*/
public static final PgCursor PG_CURSOR = new PgCursor();
/**
* The class holding records for this type
*/
@Override
public Class<Record> getRecordType() {
return Record.class;
}
/**
* The column <code>pg_catalog.pg_cursor.name</code>.
*/
public final TableField<Record, String> NAME = createField("name", org.jooq.impl.SQLDataType.CLOB, this, "");
/**
* The column <code>pg_catalog.pg_cursor.statement</code>.
*/
public final TableField<Record, String> STATEMENT = createField("statement", org.jooq.impl.SQLDataType.CLOB, this, "");
/**
* The column <code>pg_catalog.pg_cursor.is_holdable</code>.
*/
public final TableField<Record, Boolean> IS_HOLDABLE = createField("is_holdable", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
/**
* The column <code>pg_catalog.pg_cursor.is_binary</code>.
*/
public final TableField<Record, Boolean> IS_BINARY = createField("is_binary", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
/**
* The column <code>pg_catalog.pg_cursor.is_scrollable</code>.
*/
public final TableField<Record, Boolean> IS_SCROLLABLE = createField("is_scrollable", org.jooq.impl.SQLDataType.BOOLEAN, this, "");
/**
* The column <code>pg_catalog.pg_cursor.creation_time</code>.
*/
public final TableField<Record, Timestamp> CREATION_TIME = createField("creation_time", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
/**
* Create a <code>pg_catalog.pg_cursor</code> table reference
*/
public PgCursor() {
this("pg_cursor", null);
}
/**
* Create an aliased <code>pg_catalog.pg_cursor</code> table reference
*/
public PgCursor(String alias) {
this(alias, PG_CURSOR);
}
private PgCursor(String alias, Table<Record> aliased) {
this(alias, aliased, new Field[0]);
}
private PgCursor(String alias, Table<Record> aliased, Field<?>[] parameters) {
super(alias, PgCatalog.PG_CATALOG, aliased, parameters, "");
}
/**
* {@inheritDoc}
*/
@Override
public PgCursor as(String alias) {
return new PgCursor(alias, this, parameters);
}
/**
* Rename this table
*/
public PgCursor rename(String name) {
return new PgCursor(name, null, parameters);
}
/**
* Call this table-valued function
*/
public PgCursor call() {
return new PgCursor(getName(), null, new Field[] { });
}
}