Package org.apache.calcite.chinook
Class PreferredAlbumsTableFactory
java.lang.Object
org.apache.calcite.chinook.PreferredAlbumsTableFactory
- All Implemented Interfaces:
TableFactory<AbstractQueryableTable>
public class PreferredAlbumsTableFactory
extends Object
implements TableFactory<AbstractQueryableTable>
Factory for the table of albums 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
-
PreferredAlbumsTableFactory
public PreferredAlbumsTableFactory()
-
-
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
-