com.progress.open4gl
Interface ProResultSetMetaData

All Superinterfaces:
java.sql.ResultSetMetaData
All Known Subinterfaces:
SDOResultSetMetaData
All Known Implementing Classes:
com.progress.open4gl.dynamicapi.ResultSetMetaData

public interface ProResultSetMetaData
extends java.sql.ResultSetMetaData

The ProResultSetMetaData interface extends the java.sql.ResultSetMetaData to allow the application to obtain information about the underlying 4GL Temp-Table that cannot be obtained by using standard methods. For example, the getFieldXXX() methods consider an array is considered one field. Standard getColumnXXX() methods counts each array element as a separate column.


Field Summary
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Method Summary
 java.lang.String getColumnJavaTypeName(int column)
          Returns the default Java data type mapping for this column.
 int getColumnProType(int column)
          Returns the columns's 4GL type number.
 int getFieldCount()
          Returns the number of fields in the 4GL Temp-Table.
 int getFieldExtent(int field)
          Returns the number of array elements for of this field.
 java.lang.String getFieldJavaTypeName(int field)
          Returns the default Java data type mapping for this field.
 java.lang.String getFieldName(int field)
          Returns the name of this field.
 int getFieldProType(int field)
          Returns the field's 4GL type number.
 java.lang.String getFieldTypeName(int field)
          Returns the field's 4GL type name.
 
Methods inherited from interface java.sql.ResultSetMetaData
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable
 

Method Detail

getColumnJavaTypeName

public java.lang.String getColumnJavaTypeName(int column)
                                       throws ProSQLException
Returns the default Java data type mapping for this column.

ProSQLException

getColumnProType

public int getColumnProType(int column)
                     throws ProSQLException
Returns the columns's 4GL type number.

ProSQLException

getFieldCount

public int getFieldCount()
                  throws ProSQLException
Returns the number of fields in the 4GL Temp-Table.

ProSQLException

getFieldExtent

public int getFieldExtent(int field)
                   throws ProSQLException
Returns the number of array elements for of this field. 0 is returned if it's not an array.

ProSQLException

getFieldJavaTypeName

public java.lang.String getFieldJavaTypeName(int field)
                                      throws ProSQLException
Returns the default Java data type mapping for this field.

ProSQLException

getFieldName

public java.lang.String getFieldName(int field)
                              throws ProSQLException
Returns the name of this field.

ProSQLException

getFieldProType

public int getFieldProType(int field)
                    throws ProSQLException
Returns the field's 4GL type number.

ProSQLException

getFieldTypeName

public java.lang.String getFieldTypeName(int field)
                                  throws ProSQLException
Returns the field's 4GL type name.

ProSQLException