org.postgresql.PGResultSetMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of postgresql Show documentation
Show all versions of postgresql Show documentation
PostgreSQL JDBC Driver JDBC4
/*-------------------------------------------------------------------------
*
* 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;
}