net.sf.saffron.sql2rel
Class SqlToRelConverter.NullDefaultValueFactory
java.lang.Object
|
+--net.sf.saffron.sql2rel.SqlToRelConverter.NullDefaultValueFactory
- All Implemented Interfaces:
- DefaultValueFactory
- Enclosing class:
- SqlToRelConverter
- class SqlToRelConverter.NullDefaultValueFactory
- extends Object
- implements DefaultValueFactory
An implementation of DefaultValueFactory which always supplies NULL.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlToRelConverter.NullDefaultValueFactory
SqlToRelConverter.NullDefaultValueFactory()
newDefaultValue
public RexNode newDefaultValue(SaffronTable table,
int iColumn)
- Description copied from interface:
DefaultValueFactory
- Create an expression which evaluates to the default value for a
particular column.
- Specified by:
newDefaultValue
in interface DefaultValueFactory
- Parameters:
table
- the table containing the columniColumn
- the 0-based offset of the column in the table
- Returns:
- default value expression