org.postgresql
Interface PGResultSetMetaData

All Known Implementing Classes:
PgResultSetMetaData

public interface PGResultSetMetaData


Method Summary
 String getBaseColumnName(int column)
          Returns the underlying column name of a query result, or "" if it is unable to be determined.
 String getBaseSchemaName(int column)
          Returns the underlying schema name of query result, or "" if it is unable to be determined.
 String getBaseTableName(int column)
          Returns the underlying table name of query result, or "" if it is unable to be determined.
 int getFormat(int column)
          Is a column Text or Binary?
 

Method Detail

getBaseColumnName

String getBaseColumnName(int column)
                         throws SQLException
Returns the underlying column name of a query result, or "" if it is unable to be determined.

Parameters:
column - column position (1-based)
Returns:
underlying column name of a query result
Throws:
SQLException - if something wrong happens
Since:
8.0

getBaseTableName

String getBaseTableName(int column)
                        throws SQLException
Returns the underlying table name of query result, or "" if it is unable to be determined.

Parameters:
column - column position (1-based)
Returns:
underlying table name of query result
Throws:
SQLException - if something wrong happens
Since:
8.0

getBaseSchemaName

String getBaseSchemaName(int column)
                         throws SQLException
Returns the underlying schema name of query result, or "" if it is unable to be determined.

Parameters:
column - column position (1-based)
Returns:
underlying schema name of query result
Throws:
SQLException - if something wrong happens
Since:
8.0

getFormat

int getFormat(int column)
              throws SQLException
Is a column Text or Binary?

Parameters:
column - column position (1-based)
Returns:
if column is Text or Binary
Throws:
SQLException - if something wrong happens
Since:
9.4
See Also:
Field.BINARY_FORMAT, Field.TEXT_FORMAT


Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.