Interface SchemaFactory

All Known Subinterfaces:
StoragePlugin
All Known Implementing Classes:
AbstractSchemaFactory, AbstractStoragePlugin, CassandraRootDrillSchemaFactory, CassandraStoragePlugin, DrillSchemaFactory, DrillSchemaFactory, DrillStoragePlugin, DruidSchemaFactory, DruidStoragePlugin, ElasticsearchDrillSchemaFactory, ElasticsearchStoragePlugin, FileSystemPlugin, FileSystemSchemaFactory, GoogleSheetsSchemaFactory, GoogleSheetsStoragePlugin, HBaseSchemaFactory, HBaseStoragePlugin, HiveSchemaFactory, HiveStoragePlugin, HttpSchemaFactory, HttpStoragePlugin, InfoSchemaStoragePlugin, JdbcStoragePlugin, KafkaSchemaFactory, KafkaStoragePlugin, KuduSchemaFactory, KuduStoragePlugin, MockBreakageStorage, MockStorageEngine, MongoSchemaFactory, MongoStoragePlugin, OpenTSDBSchemaFactory, OpenTSDBStoragePlugin, PhoenixSchemaFactory, PhoenixStoragePlugin, SplunkSchemaFactory, SplunkStoragePlugin, 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