|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.progress.open4gl.dynamicapi.ResultSetMetaData | +--com.progress.open4gl.ProResultSetMetaDataImpl
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.
Field Summary |
Fields inherited from class com.progress.open4gl.dynamicapi.ResultSetMetaData |
columns, fields, nameTable, numColumns, uniqueId |
Fields inherited from interface java.sql.ResultSetMetaData |
columnNoNulls, columnNullable, columnNullableUnknown |
Constructor Summary | |
ProResultSetMetaDataImpl(int numFields)
Constructor. |
Method Summary | |
void |
setFieldMetaData(int fieldNum,
java.lang.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 |
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnJavaTypeName, getColumnLabel, getColumnName, getColumnProType, getColumnType, getColumnTypeName, getFieldCount, getFieldExtent, getFieldJavaTypeName, getFieldName, getFieldProType, getFieldTypeName, getPrecision, getProColumnType, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable, setFieldDesc, validateCol |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProResultSetMetaDataImpl(int numFields)
numFields
- The number of fields for the input result setMethod Detail |
public void setFieldMetaData(int fieldNum, java.lang.String name, int extent, int proType) throws ProSQLException
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.
ProSQLException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |