public class FileSystemSchemaFactory extends AbstractSchemaFactory
| Modifier and Type | Class and Description |
|---|---|
class |
FileSystemSchemaFactory.FileSystemSchema |
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCAL_FS_SCHEME |
protected FileSystemPlugin |
plugin |
DEFAULT_WS_NAME| Constructor and Description |
|---|
FileSystemSchemaFactory(FileSystemPlugin plugin,
String schemaName,
List<WorkspaceSchemaFactory> factories) |
FileSystemSchemaFactory(String schemaName,
List<WorkspaceSchemaFactory> factories) |
| Modifier and Type | Method and Description |
|---|---|
void |
registerSchemas(SchemaConfig schemaConfig,
org.apache.calcite.schema.SchemaPlus parent)
Register the schemas provided by this SchemaFactory implementation under the given parent schema.
|
getNamepublic static final String LOCAL_FS_SCHEME
protected FileSystemPlugin plugin
public FileSystemSchemaFactory(String schemaName, List<WorkspaceSchemaFactory> factories)
public FileSystemSchemaFactory(FileSystemPlugin plugin, String schemaName, List<WorkspaceSchemaFactory> factories)
public void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws IOException
SchemaFactoryschemaConfig - Configuration for schema objects.parent - Reference to parent schema.IOException - in case of error during schema registrationCopyright © 2021 The Apache Software Foundation. All rights reserved.