Package com.progress.open4gl
Interface ProResultSetMetaData
- All Superinterfaces:
ResultSetMetaData
,Wrapper
- All Known Subinterfaces:
SDOResultSetMetaData
- All Known Implementing Classes:
ProResultSetMetaDataImpl
,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
Modifier and TypeMethodDescriptiongetColumnJavaTypeName
(int column) Returns the default Java data type mapping for this column.int
getColumnProType
(int column) Returns the columns's 4GL type number.int
Returns the number of fields in the 4GL Temp-Table.int
getFieldExtent
(int field) Returns the number of array elements for of this field.getFieldJavaTypeName
(int field) Returns the default Java data type mapping for this field.getFieldName
(int field) Returns the name of this field.int
getFieldProType
(int field) Returns the field's 4GL type number.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
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
getFieldCount
Returns the number of fields in the 4GL Temp-Table.- Throws:
ProSQLException
-
getFieldProType
Returns the field's 4GL type number.- Throws:
ProSQLException
-
getColumnProType
Returns the columns's 4GL type number.- Throws:
ProSQLException
-
getFieldJavaTypeName
Returns the default Java data type mapping for this field.- Throws:
ProSQLException
-
getColumnJavaTypeName
Returns the default Java data type mapping for this column.- Throws:
ProSQLException
-
getFieldExtent
Returns the number of array elements for of this field. 0 is returned if it's not an array.- Throws:
ProSQLException
-
getFieldName
Returns the name of this field.- Throws:
ProSQLException
-
getFieldTypeName
Returns the field's 4GL type name.- Throws:
ProSQLException
-