Package org.apache.calcite.adapter.file
Class FileSchemaFactory
- java.lang.Object
-
- org.apache.calcite.adapter.file.FileSchemaFactory
-
- All Implemented Interfaces:
SchemaFactory
public class FileSchemaFactory extends java.lang.Object implements SchemaFactory
Factory that creates aFileSchema
.Allows a custom schema to be included in a model.json file. See File adapter.
-
-
Constructor Summary
Constructors Constructor Description FileSchemaFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Schema
create(SchemaPlus parentSchema, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> operand)
Creates a Schema.
-
-
-
Method Detail
-
create
public Schema create(SchemaPlus parentSchema, java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> operand)
Description copied from interface:SchemaFactory
Creates a Schema.- Specified by:
create
in interfaceSchemaFactory
- Parameters:
parentSchema
- Parent schemaname
- Name of this schemaoperand
- The "operand" JSON property- Returns:
- Created schema
-
-