com.sapportals.connector.execution.structures

Interface IRecordMetaData


public interface IRecordMetaData

An object that can be used to get information about the types and properties of the columns in a Record object.


Method Summary
 int getColumnCount()
          Returns the number of columns in this RecordSet object.
 String getColumnLabel(int column)
          Gets the designated column's suggested title for use in printouts and displays.
 String getColumnName(int column)
          Get the designated column's name.
 IStructure getColumnType(int column)
          Retrieves the designated column's SQL type.
 

Method Detail

getColumnCount

int getColumnCount()
                   throws ConnectorException
Returns the number of columns in this RecordSet object.

Returns:
the number of columns
Throws:
ConnectorException - if a database access error occurs

getColumnLabel

String getColumnLabel(int column)
                      throws ConnectorException
Gets the designated column's suggested title for use in printouts and displays.

Parameters:
column - the first column is 1, the second is 2, ...
Returns:
the suggested column title
Throws:
ConnectorException - if a database access error occurs

getColumnName

String getColumnName(int column)
                     throws ConnectorException
Get the designated column's name.

Parameters:
column - the first column is 1, the second is 2, ...
Returns:
column name
Throws:
ConnectorException - if a database access error occurs

getColumnType

IStructure getColumnType(int column)
                         throws ConnectorException
Retrieves the designated column's SQL type.

Parameters:
column - the first column is 1, the second is 2, ...
Returns:
IStructure The structure of the column
Throws:
ConnectorException - if a database access error occurs
See Also:
IStructure
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/connectivityfw/api api EP-PIN
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated - EP-CON-CF
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated default EP-CON-CF


Copyright 2011 SAP AG Complete Copyright Notice