public class MockBreakageStorage extends MockStorageEngine
| Constructor and Description |
|---|
MockBreakageStorage(MockStorageEngineConfig 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, getLogicalOptimizerRules, getOptimizerRules, getOptimizerRules, getPhysicalOptimizerRules, getPhysicalScan, start, supportsWritepublic MockBreakageStorage(MockStorageEngineConfig 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.IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.