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
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 columniColumn
- the 0-based offset of the column in the table
- Returns:
- default value expression