Class CountingFactory

java.lang.Object
org.apache.calcite.sql2rel.NullInitializerExpressionFactory
org.apache.calcite.test.catalog.CountingFactory
All Implemented Interfaces:
InitializerExpressionFactory

public class CountingFactory extends NullInitializerExpressionFactory
To check whether InitializerExpressionFactory.newColumnDefaultValue(org.apache.calcite.plan.RelOptTable, int, org.apache.calcite.sql2rel.InitializerContext) is called.

If a column is in defaultColumns, returns 1 as the default value.