public static class BasePluginRegistryTest.StoragePluginFixture extends AbstractStoragePlugin
contextDEFAULT_WS_NAME| Constructor and Description |
|---|
StoragePluginFixture(BasePluginRegistryTest.StoragePluginFixtureConfig config,
DrillbitContext inContext,
String inName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
closeCount() |
StoragePluginConfig |
getConfig()
Method returns a Jackson serializable object that extends a StoragePluginConfig.
|
void |
registerSchemas(SchemaConfig schemaConfig,
org.apache.calcite.schema.SchemaPlus parent)
Register the schemas provided by this SchemaFactory implementation under the given parent schema.
|
void |
start()
Initialize the storage plugin.
|
getContext, getFormatPlugin, getLogicalOptimizerRules, getName, getOptimizerRules, getOptimizerRules, getPhysicalOptimizerRules, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, supportsRead, supportsWritepublic StoragePluginFixture(BasePluginRegistryTest.StoragePluginFixtureConfig config, DrillbitContext inContext, String inName)
public void start()
StoragePluginstart in interface StoragePluginstart in class AbstractStoragePluginpublic StoragePluginConfig getConfig()
StoragePluginpublic 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 registrationpublic void close()
close in interface AutoCloseableclose in class AbstractStoragePluginpublic int closeCount()
Copyright © 2022 The Apache Software Foundation. All rights reserved.