Package org.apache.drill.exec.store
Class DrillSchemaFactory
java.lang.Object
org.apache.drill.exec.store.AbstractSchemaFactory
org.apache.drill.exec.store.DrillSchemaFactory
- All Implemented Interfaces:
SchemaFactory
-
Field Summary
Fields inherited from interface org.apache.drill.exec.store.SchemaFactory
DEFAULT_WS_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerSchemas
(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) Historical note.Methods inherited from class org.apache.drill.exec.store.AbstractSchemaFactory
getName
-
Constructor Details
-
DrillSchemaFactory
-
-
Method Details
-
registerSchemas
public void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws IOException Historical note. This method used to eagerly register schemas for every enabled storage plugin instance, an operation that is expensive at best and unreliable in the presence of unresponsive storage plugins at worst. Now the schemas under the root are registered lazily by DynamicRootSchema.- Parameters:
schemaConfig
- Configuration for schema objects.parent
- Reference to parent schema.- Throws:
IOException
-