net.sf.farrago.jdbc.engine
Class FarragoParamFieldMetaDataFactory

java.lang.Object
  extended by net.sf.farrago.jdbc.engine.FarragoParamFieldMetaDataFactory

public class FarragoParamFieldMetaDataFactory
extends Object

Factory class for creating the per-column metadata passed to the client driver for its ParameterMetaData implementation.

Since:
March 3, 2006
Version:
$Id: //open/dev/farrago/src/net/sf/farrago/jdbc/engine/FarragoParamFieldMetaDataFactory.java#8 $
Author:
Angel Chang

Constructor Summary
private FarragoParamFieldMetaDataFactory()
          private constructor to prevent instantiation.
 
Method Summary
static FarragoParamFieldMetaData newParamFieldMetaData(RelDataType type, int mode)
           
static FarragoParamFieldMetaData[] newParamMetaData(RelDataType rowType, int mode)
          Determines the parameter column meta data from the rowType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FarragoParamFieldMetaDataFactory

private FarragoParamFieldMetaDataFactory()
private constructor to prevent instantiation.

Method Detail

newParamFieldMetaData

public static FarragoParamFieldMetaData newParamFieldMetaData(RelDataType type,
                                                              int mode)

newParamMetaData

public static FarragoParamFieldMetaData[] newParamMetaData(RelDataType rowType,
                                                           int mode)
Determines the parameter column meta data from the rowType

Parameters:
rowType - Row type
Returns:
Parameter column metadata