net.sf.saffron.sql2rel
Interface DefaultValueFactory

All Known Implementing Classes:
SqlToRelConverter.NullDefaultValueFactory

public interface DefaultValueFactory

DefaultValueFactory supplies default values for INSERT and UPDATE.

Version:
$Id: //open/saffron/src/net/sf/saffron/sql2rel/DefaultValueFactory.java#1 $
Author:
John V. Sichi

Method Summary
 RexNode newDefaultValue(SaffronTable table, int iColumn)
          Create an expression which evaluates to the default value for a particular column.
 

Method Detail

newDefaultValue

public RexNode newDefaultValue(SaffronTable table,
                               int iColumn)
Create an expression which evaluates to the default value for a particular column.

Parameters:
table - the table containing the column
iColumn - the 0-based offset of the column in the table
Returns:
default value expression

SourceForge.net_Logo