Package org.postgresql
Interface PGResultSetMetaData
-
- All Known Implementing Classes:
PgResultSetMetaData
public interface PGResultSetMetaData
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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?
-
-
-
Method Detail
-
getBaseColumnName
java.lang.String getBaseColumnName(int column) throws java.sql.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:
java.sql.SQLException
- if something wrong happens- Since:
- 8.0
-
getBaseTableName
java.lang.String getBaseTableName(int column) throws java.sql.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:
java.sql.SQLException
- if something wrong happens- Since:
- 8.0
-
getBaseSchemaName
java.lang.String getBaseSchemaName(int column) throws java.sql.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:
java.sql.SQLException
- if something wrong happens- Since:
- 8.0
-
getFormat
int getFormat(int column) throws java.sql.SQLException
Is a column Text or Binary?- Parameters:
column
- column position (1-based)- Returns:
- 0 if column data foramt is TEXT, or 1 if BINARY
- Throws:
java.sql.SQLException
- if something wrong happens- Since:
- 9.4
- See Also:
Field.BINARY_FORMAT
,Field.TEXT_FORMAT
-
-