Class DrillSchemaFactory

java.lang.Object
org.apache.drill.exec.store.AbstractSchemaFactory
org.apache.drill.exec.store.DrillSchemaFactory
All Implemented Interfaces:
SchemaFactory

public class DrillSchemaFactory extends AbstractSchemaFactory
  • Constructor Details

    • DrillSchemaFactory

      public DrillSchemaFactory(String name)
  • 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