net.sf.farrago.type
Class FarragoJdbcMetaDataImpl

java.lang.Object
  extended by org.eigenbase.jdbc4.Unwrappable
      extended by net.sf.farrago.type.FarragoJdbcMetaDataImpl
Direct Known Subclasses:
FarragoParameterMetaData, FarragoResultSetMetaData

public class FarragoJdbcMetaDataImpl
extends Unwrappable

Helper base class for implementing Jdbc metadata interfaces.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/type/FarragoJdbcMetaDataImpl.java#19 $
Author:
John V. Sichi

Field Summary
protected  RelDataType rowType
          Type info to return.
 
Constructor Summary
protected FarragoJdbcMetaDataImpl(RelDataType rowType)
           
 
Method Summary
protected  String getFieldCatalogName(int fieldOrdinal)
           
protected  String getFieldClassName(int fieldOrdinal)
           
protected  int getFieldCount()
           
protected  int getFieldDisplaySize(int column)
           
protected  int getFieldJdbcType(int fieldOrdinal)
           
 String getFieldName(int fieldOrdinal)
           
protected  RelDataType getFieldNamedType(int fieldOrdinal)
           
protected  int getFieldPrecision(int fieldOrdinal)
           
protected  int getFieldScale(int fieldOrdinal)
           
protected  String getFieldSchemaName(int fieldOrdinal)
           
protected  String getFieldTableName(int fieldOrdinal)
           
protected  RelDataType getFieldType(int fieldOrdinal)
           
protected  String getFieldTypeName(int fieldOrdinal)
           
protected  boolean isFieldAutoIncrement(int fieldOrdinal)
           
protected  boolean isFieldCaseSensitive(int fieldOrdinal)
           
protected  boolean isFieldCurrency(int fieldOrdinal)
           
protected  boolean isFieldDefinitelyWritable(int fieldOrdinal)
           
protected  int isFieldNullable(int fieldOrdinal)
           
protected  boolean isFieldReadOnly(int fieldOrdinal)
           
protected  boolean isFieldSearchable(int fieldOrdinal)
           
protected  boolean isFieldSigned(int fieldOrdinal)
           
protected  boolean isFieldWritable(int fieldOrdinal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rowType

protected final RelDataType rowType
Type info to return.

Constructor Detail

FarragoJdbcMetaDataImpl

protected FarragoJdbcMetaDataImpl(RelDataType rowType)
Method Detail

getFieldNamedType

protected RelDataType getFieldNamedType(int fieldOrdinal)

getFieldType

protected RelDataType getFieldType(int fieldOrdinal)

getFieldName

public String getFieldName(int fieldOrdinal)

getFieldCount

protected int getFieldCount()

getFieldClassName

protected String getFieldClassName(int fieldOrdinal)

getFieldJdbcType

protected int getFieldJdbcType(int fieldOrdinal)

getFieldTypeName

protected String getFieldTypeName(int fieldOrdinal)

getFieldPrecision

protected int getFieldPrecision(int fieldOrdinal)

getFieldScale

protected int getFieldScale(int fieldOrdinal)

getFieldDisplaySize

protected int getFieldDisplaySize(int column)

getFieldCatalogName

protected String getFieldCatalogName(int fieldOrdinal)

getFieldSchemaName

protected String getFieldSchemaName(int fieldOrdinal)

getFieldTableName

protected String getFieldTableName(int fieldOrdinal)

isFieldNullable

protected int isFieldNullable(int fieldOrdinal)

isFieldAutoIncrement

protected boolean isFieldAutoIncrement(int fieldOrdinal)

isFieldCaseSensitive

protected boolean isFieldCaseSensitive(int fieldOrdinal)

isFieldSearchable

protected boolean isFieldSearchable(int fieldOrdinal)

isFieldSigned

protected boolean isFieldSigned(int fieldOrdinal)

isFieldCurrency

protected boolean isFieldCurrency(int fieldOrdinal)

isFieldReadOnly

protected boolean isFieldReadOnly(int fieldOrdinal)

isFieldWritable

protected boolean isFieldWritable(int fieldOrdinal)

isFieldDefinitelyWritable

protected boolean isFieldDefinitelyWritable(int fieldOrdinal)