Package org.apache.calcite.adapter.pig
Class PigSchemaFactory
java.lang.Object
org.apache.calcite.adapter.pig.PigSchemaFactory
- All Implemented Interfaces:
SchemaFactory
Factory that creates a
PigSchema
.
Allows a custom schema to be included in a model.json
file.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PigSchemaFactory
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
-