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 the alias name for a column. | |
Returns the total number of columns in the ResultSet object. | |
Returns the 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 the column name in the table or the derived table. | |
Returns the table name for a column. | |
Returns the written name for a column. |
This interface is obtained with the ResultSet.getResultSetMetadata method.
When a column in the select list of the ResultSet object 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 object, the following information about the column domain 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 © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |