|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eigenbase.sql2rel.SqlToRelConverter.NullDefaultValueFactory
class SqlToRelConverter.NullDefaultValueFactory
An implementation of DefaultValueFactory which always supplies NULL.
| Constructor Summary | |
|---|---|
SqlToRelConverter.NullDefaultValueFactory()
|
|
| Method Summary | |
|---|---|
boolean |
isGeneratedAlways(RelOptTable table,
int iColumn)
Whether a column is always generated. |
RexNode |
newAttributeInitializer(RelDataType type,
SqlFunction constructor,
int iAttribute,
RexNode[] constructorArgs)
Creates an expression which evaluates to the initializer expression for a particular attribute of a structured type. |
RexNode |
newColumnDefaultValue(RelOptTable table,
int iColumn)
Creates an expression which evaluates to the default value for a particular column. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
SqlToRelConverter.NullDefaultValueFactory()
| Method Detail |
|---|
public boolean isGeneratedAlways(RelOptTable table,
int iColumn)
DefaultValueFactory
isGeneratedAlways in interface DefaultValueFactory
public RexNode newColumnDefaultValue(RelOptTable table,
int iColumn)
DefaultValueFactory
newColumnDefaultValue in interface DefaultValueFactorytable - the table containing the columniColumn - the 0-based offset of the column in the table
public RexNode newAttributeInitializer(RelDataType type,
SqlFunction constructor,
int iAttribute,
RexNode[] constructorArgs)
DefaultValueFactory
newAttributeInitializer in interface DefaultValueFactorytype - the structured typeconstructor - the constructor invoked to initialize the typeiAttribute - the 0-based offset of the attribute in the typeconstructorArgs - arguments passed to the constructor invocation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||