Package com.progress.open4gl
Class ProResultSetMetaDataImpl
java.lang.Object
com.progress.open4gl.dynamicapi.MetaDataBase
com.progress.open4gl.dynamicapi.ResultSetMetaData
com.progress.open4gl.ProResultSetMetaDataImpl
- All Implemented Interfaces:
ProResultSetMetaData
,Serializable
,ResultSetMetaData
,Wrapper
The ProResultSetMetaDataImpl class is used by the the application to set
metadata for an Input Temp-Table that maps to a 4GL TABLE-HANDLE parameter.
Because the 4GL temp-table is dynamic, the proxy does not know what its
schema is. Thus the application must provide it itself via this class.
- See Also:
-
Field Summary
Fields inherited from class com.progress.open4gl.dynamicapi.ResultSetMetaData
bufferName, columns, fields, nameTable, numColumns, uniqueId
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
-
Constructor Summary
ConstructorsConstructorDescriptionProResultSetMetaDataImpl
(int numFields) Constructor.ProResultSetMetaDataImpl
(ResultSetMetaData resultsetMetaData) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setFieldMetaData
(int fieldNum, String name, int extent, int proType) Set the MetaData for a field of the input Result set.Methods inherited from class com.progress.open4gl.dynamicapi.ResultSetMetaData
getCaption, getCatalogName, getColumnCaption, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnFlag, getColumnInitialValue, getColumnJavaTypeName, getColumnLabel, getColumnName, getColumnProType, getColumnType, getColumnTypeName, getColumnUserOrder, getColumnXMLMapping, getFieldCount, getFieldExtent, getFieldJavaTypeName, getFieldName, getFieldProType, getFieldTypeName, getFlag, getInitialValue, getPrecision, getProColumnType, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWrapperFor, isWritable, setFieldDesc, setFieldDesc, setFieldDesc, setFieldDesc, setFieldDesc, unwrap, validate, validateCol, validateFields
Methods inherited from class com.progress.open4gl.dynamicapi.MetaDataBase
getTypeCode
-
Constructor Details
-
ProResultSetMetaDataImpl
public ProResultSetMetaDataImpl(int numFields) Constructor.- Parameters:
numFields
- The number of fields for the input result set
-
ProResultSetMetaDataImpl
Constructor.- Parameters:
resultsetMetaData
-- Throws:
ProSQLException
-
-
Method Details
-
setFieldMetaData
public void setFieldMetaData(int fieldNum, String name, int extent, int proType) throws ProSQLException Set the MetaData for a field of the input Result set.- Parameters:
fieldNum
- The 1-based field number of the field to set schema forname
- The field's nameextent
- The field's extent If the field is not an array field this value should be 0.proType
- The field's data type This should be one of the PRO_XXX constants supplied by com.progress.open4gl.Parameter.- Throws:
ProSQLException
-