PgResultSetMetaData
public interface PGResultSetMetaData
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getBaseColumnName(int column) |
Returns the underlying column name of a query result, or "" if it is unable to be determined.
|
java.lang.String |
getBaseSchemaName(int column) |
Returns the underlying schema name of query result, or "" if it is unable to be determined.
|
java.lang.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?
|
java.lang.String getBaseColumnName(int column) throws java.sql.SQLException
column
- column position (1-based)java.sql.SQLException
- if something wrong happensjava.lang.String getBaseTableName(int column) throws java.sql.SQLException
column
- column position (1-based)java.sql.SQLException
- if something wrong happensjava.lang.String getBaseSchemaName(int column) throws java.sql.SQLException
column
- column position (1-based)java.sql.SQLException
- if something wrong happensint getFormat(int column) throws java.sql.SQLException
column
- column position (1-based)java.sql.SQLException
- if something wrong happensField.BINARY_FORMAT
,
Field.TEXT_FORMAT
Copyright © 2018 PostgreSQL Global Development Group. All rights reserved.