All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.postgresql.PGResultSetMetaData Maven / Gradle / Ivy

There is a newer version: 42.7.3
Show newest version
/*-------------------------------------------------------------------------
*
* Copyright (c) 2003-2014, PostgreSQL Global Development Group
*
*
*-------------------------------------------------------------------------
*/
package org.postgresql;

import java.sql.SQLException;

import org.postgresql.core.Field;

public interface PGResultSetMetaData
{

    /**
     * Returns the underlying column name of a query result, or ""
     * if it is unable to be determined.
     * 
     * @since 8.0
     */
    public String getBaseColumnName(int column) throws SQLException;

    /**
     * Returns the underlying table name of query result, or ""
     * if it is unable to be determined.
     *
     * @since 8.0
     */
    public String getBaseTableName(int column) throws SQLException;

    /**
     * Returns the underlying table name of query result, or ""
     * if it is unable to be determined.
     *
     * @since 8.0
     */
    public String getBaseSchemaName(int column) throws SQLException;

    /**
     * Is a column Text or Binary?
     *
     * @see Field#BINARY_FORMAT
     * @see Field#TEXT_FORMAT
     * @since 9.4
     */
    public int getFormat(int column) throws SQLException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy