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
FieldsModifier and TypeFieldDescriptionstatic final CsvSchemaFactoryPublic singleton, per factory contract. -
Method Summary
-
Field Details
-
INSTANCE
Public singleton, per factory contract.
-
-
Method Details
-
create
Description copied from interface:SchemaFactoryCreates a Schema.- Specified by:
createin interfaceSchemaFactory- Parameters:
parentSchema- Parent schemaname- Name of this schemaoperand- The "operand" JSON property- Returns:
- Created schema
-