Package org.apache.calcite.adapter.csv
Class CsvSchemaFactory
java.lang.Object
org.apache.calcite.adapter.csv.CsvSchemaFactory
- All Implemented Interfaces:
SchemaFactory
Factory that creates a
CsvSchema
.
Allows a custom schema to be included in a model.json
file.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CsvSchemaFactory
Public singleton, per factory contract. -
Method Summary
-
Field Details
-
INSTANCE
Public singleton, per factory contract.
-
-
Method Details
-
create
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
-