Package org.apache.calcite.chinook
Class PreferredGenresTableFactory
java.lang.Object
org.apache.calcite.chinook.PreferredGenresTableFactory
- All Implemented Interfaces:
TableFactory<AbstractQueryableTable>
public class PreferredGenresTableFactory
extends Object
implements TableFactory<AbstractQueryableTable>
Factory for the table of genres preferred by the current user.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SchemaPlus schema, String name, Map<String, Object> operand, @Nullable RelDataType rowType) Creates a Table.
-
Constructor Details
-
PreferredGenresTableFactory
public PreferredGenresTableFactory()
-
-
Method Details
-
create
public AbstractQueryableTable create(SchemaPlus schema, String name, Map<String, Object> operand, @Nullable RelDataType rowType) Description copied from interface:TableFactory
Creates a Table.- Specified by:
create
in interfaceTableFactory<AbstractQueryableTable>
- Parameters:
schema
- Schema this table belongs toname
- Name of this tableoperand
- The "operand" JSON propertyrowType
- Row type. Specified if the "columns" JSON property.- Returns:
- created table
-