Package org.apache.drill.exec.store
Interface SchemaFactory
- All Known Subinterfaces:
StoragePlugin
- All Known Implementing Classes:
AbstractSchemaFactory,AbstractStoragePlugin,DrillSchemaFactory,FileSystemPlugin,FileSystemSchemaFactory,InfoSchemaStoragePlugin,MockBreakageStorage,MockStorageEngine,SystemTablePlugin
public interface SchemaFactory
Storage plugins implements this interface to register the schemas they provide.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) Register the schemas provided by this SchemaFactory implementation under the given parent schema.
-
Field Details
-
DEFAULT_WS_NAME
- See Also:
-
-
Method Details
-
registerSchemas
void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws IOException Register the schemas provided by this SchemaFactory implementation under the given parent schema.- Parameters:
schemaConfig- Configuration for schema objects.parent- Reference to parent schema.- Throws:
IOException- in case of error during schema registration
-