net.sf.farrago.type
Class FarragoParameterMetaData
java.lang.Object
org.eigenbase.jdbc4.Unwrappable
net.sf.farrago.type.FarragoJdbcMetaDataImpl
net.sf.farrago.type.FarragoParameterMetaData
- All Implemented Interfaces:
- ParameterMetaData
public class FarragoParameterMetaData
- extends FarragoJdbcMetaDataImpl
- implements ParameterMetaData
FarragoParameterMetaData implements the ParameterMetaData interface by
reading a Farrago type descriptor.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/type/FarragoParameterMetaData.java#12 $
- Author:
- John V. Sichi
Methods inherited from class net.sf.farrago.type.FarragoJdbcMetaDataImpl |
getFieldCatalogName, getFieldClassName, getFieldCount, getFieldDisplaySize, getFieldJdbcType, getFieldName, getFieldNamedType, getFieldPrecision, getFieldScale, getFieldSchemaName, getFieldTableName, getFieldType, getFieldTypeName, isFieldAutoIncrement, isFieldCaseSensitive, isFieldCurrency, isFieldDefinitelyWritable, isFieldNullable, isFieldReadOnly, isFieldSearchable, isFieldSigned, isFieldWritable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FarragoParameterMetaData
public FarragoParameterMetaData(RelDataType rowType)
- Creates a new FarragoParameterMetaData object.
- Parameters:
rowType
- type info to return
getParameterClassName
public String getParameterClassName(int param)
throws SQLException
- Specified by:
getParameterClassName
in interface ParameterMetaData
- Throws:
SQLException
getParameterCount
public int getParameterCount()
throws SQLException
- Specified by:
getParameterCount
in interface ParameterMetaData
- Throws:
SQLException
getParameterMode
public int getParameterMode(int param)
throws SQLException
- Specified by:
getParameterMode
in interface ParameterMetaData
- Throws:
SQLException
getParameterType
public int getParameterType(int param)
throws SQLException
- Specified by:
getParameterType
in interface ParameterMetaData
- Throws:
SQLException
getParameterTypeName
public String getParameterTypeName(int param)
throws SQLException
- Specified by:
getParameterTypeName
in interface ParameterMetaData
- Throws:
SQLException
getPrecision
public int getPrecision(int param)
throws SQLException
- Specified by:
getPrecision
in interface ParameterMetaData
- Throws:
SQLException
getScale
public int getScale(int param)
throws SQLException
- Specified by:
getScale
in interface ParameterMetaData
- Throws:
SQLException
isNullable
public int isNullable(int param)
throws SQLException
- Specified by:
isNullable
in interface ParameterMetaData
- Throws:
SQLException
isSigned
public boolean isSigned(int param)
throws SQLException
- Specified by:
isSigned
in interface ParameterMetaData
- Throws:
SQLException