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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent)
    Register the schemas provided by this SchemaFactory implementation under the given parent schema.
  • Field Details

  • 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