Package org.apache.calcite.schema.impl
Class AbstractSchema.Factory
- java.lang.Object
-
- org.apache.calcite.schema.impl.AbstractSchema.Factory
-
- All Implemented Interfaces:
SchemaFactory
- Enclosing class:
- AbstractSchema
public static class AbstractSchema.Factory extends java.lang.Object implements SchemaFactory
Schema factory that creates anAbstractSchema
.
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractSchema.Factory
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
Factory()
-
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.
-
-
-
Field Detail
-
INSTANCE
public static final AbstractSchema.Factory INSTANCE
-
-
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
-
-