Package org.apache.drill.exec.store
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 -
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
-