Package org.apache.calcite.adapter.file
Class CsvTableFactory
java.lang.Object
org.apache.calcite.adapter.file.CsvTableFactory
- All Implemented Interfaces:
- TableFactory<CsvTable>
Factory that creates a 
CsvTranslatableTable.
 Allows a file-based table to be included in a model.json file, even in a
 schema that is not based upon FileSchema.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreate(SchemaPlus schema, String name, Map<String, Object> operand, @Nullable RelDataType rowType) Creates a Table.
- 
Constructor Details- 
CsvTableFactorypublic CsvTableFactory()
 
- 
- 
Method Details- 
createpublic CsvTable create(SchemaPlus schema, String name, Map<String, Object> operand, @Nullable RelDataType rowType) Description copied from interface:TableFactoryCreates a Table.- Specified by:
- createin interface- TableFactory<CsvTable>
- Parameters:
- schema- Schema this table belongs to
- name- Name of this table
- operand- The "operand" JSON property
- rowType- Row type. Specified if the "columns" JSON property.
- Returns:
- created table
 
 
-