public class MockBreakageStorage extends MockStorageEngine
| Modifier and Type | Class and Description |
|---|---|
static class |
MockBreakageStorage.MockBreakageStorageEngineConfig
Each storage plugin requires a unique config class to allow
config --> impl lookups to be unique.
|
contextDEFAULT_WS_NAME| Constructor and Description |
|---|
MockBreakageStorage(MockBreakageStorage.MockBreakageStorageEngineConfig configuration,
DrillbitContext context,
String name) |
| 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.
|
void |
setBreakRegister(boolean breakRegister) |
getConfig, getPhysicalScan, supportsReadclose, getContext, getFormatPlugin, getLogicalOptimizerRules, getName, getOptimizerRules, getOptimizerRules, getPhysicalOptimizerRules, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, start, supportsWritepublic MockBreakageStorage(MockBreakageStorage.MockBreakageStorageEngineConfig configuration, DrillbitContext context, String name)
public void setBreakRegister(boolean breakRegister)
public void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws IOException
SchemaFactoryregisterSchemas in interface SchemaFactoryregisterSchemas in class MockStorageEngineschemaConfig - 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.