public class FileSystemSchemaFactory extends Object implements SchemaFactory
| Modifier and Type | Class and Description |
|---|---|
class |
FileSystemSchemaFactory.FileSystemSchema |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_WS_NAME |
static String |
LOCAL_FS_SCHEME |
protected FileSystemPlugin |
plugin |
logger| 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.
|
public static final String DEFAULT_WS_NAME
public 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
SchemaFactoryregisterSchemas in interface SchemaFactoryschemaConfig - Configuration for schema objects.parent - Reference to parent schema.IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.