Package org.apache.drill.exec.store.dfs
Class FileSystemSchemaFactory
java.lang.Object
org.apache.drill.exec.store.AbstractSchemaFactory
org.apache.drill.exec.store.dfs.FileSystemSchemaFactory
- All Implemented Interfaces:
SchemaFactory
This is the top level schema that responds to root level path requests. Also supports
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.apache.drill.exec.store.SchemaFactory
DEFAULT_WS_NAME
-
Constructor Summary
ConstructorDescriptionFileSystemSchemaFactory
(String schemaName, List<WorkspaceSchemaFactory> factories) FileSystemSchemaFactory
(FileSystemPlugin plugin, String schemaName, List<WorkspaceSchemaFactory> factories) -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerSchemas
(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) Register the schemas provided by this SchemaFactory implementation under the given parent schema.Methods inherited from class org.apache.drill.exec.store.AbstractSchemaFactory
getName
-
Field Details
-
LOCAL_FS_SCHEME
- See Also:
-
plugin
-
-
Constructor Details
-
FileSystemSchemaFactory
-
FileSystemSchemaFactory
public FileSystemSchemaFactory(FileSystemPlugin plugin, String schemaName, List<WorkspaceSchemaFactory> factories)
-
-
Method Details
-
registerSchemas
public void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws IOException Description copied from interface:SchemaFactory
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
-