Associated with a ResultSet object and contains a method that provides column information.
public interface ResultSetMetadata
All members of ResultSetMetadata interface, including all inherited members.
Name | Description |
---|---|
Returns alias name for a column. | |
Returns the total number of columns in the ResultSet. | |
Returns correlation name for a column. | |
Returns the name of the domain. | |
Returns the precision of the domain value. | |
Returns the scale of the domain value. | |
Returns the size of the domain value. | |
Returns the type of the domain. | |
Returns the qualified name for a column. | |
Returns column name in the table (or derived table). | |
Returns table name for a column. | |
Returns the written name for a column. |
This interface is obtained using the getResultSetMetadata method of a ResultSet object.
When a column in the select list of the ResultSet is a simple name or a compound name (table-name.column-name, correlation-name.column-name), then, the following information about that name can be extracted if it exists:
Alias name
Correlation name
Qualified version of the name
Table name
The name as written
For each column in the select list of the ResultSet, information about the domain of that column can be obtained:
Column Type: an integer from the Domain interface
Name of the domain
Size of the domain, for VARCHAR and BINARY domains
Scale and precision, for NUMERIC domains
getAliasName method
getColumnCount method
getCorrelationName method
getDomainName method
getDomainPrecision method
getDomainScale method
getDomainSize method
getDomainType method
getQualifiedName method
getTableColumnName method
getTableName method
getWrittenName method
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |