***  This interface provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.publish
Interface ServiceResultSetMetaDataInterface

All Superinterfaces:
java.sql.ResultSetMetaData, java.sql.Wrapper

public interface ServiceResultSetMetaDataInterface
extends java.sql.ResultSetMetaData

The ServiceResultSetMetaDataInterface provides a mechanism for getting the information about the types and properties of the columns in a ResultSet object. It provides a way to obtain SAS Format information as well.


Method Summary
 int getFormatFieldLength(int column)
          Returns the length of the format field.
 java.lang.String getFormatName(int column)
          Returns the name of the format.
 int getRowCount()
          Returns the number of rows.
 

Method Detail

getFormatName

java.lang.String getFormatName(int column)
                               throws java.sql.SQLException
Returns the name of the format.

Returns:
the name of the SAS format
Throws:
java.sql.SQLException - if an error occurs

getFormatFieldLength

int getFormatFieldLength(int column)
                         throws java.sql.SQLException
Returns the length of the format field.

Returns:
the length of the format field
Throws:
java.sql.SQLException - if an error occurs

getRowCount

int getRowCount()
                throws java.sql.SQLException
Returns the number of rows.

Returns:
the number of rows in the ResultSet
Throws:
java.sql.SQLException - if an error occurs

***  This interface provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.