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.
|
Modifier and Type | Field and Description |
---|---|
int |
registerAttemptCount |
context
DEFAULT_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, supportsRead
close, getContext, getFormatPlugin, getLogicalOptimizerRules, getName, getOptimizerRules, getOptimizerRules, getPhysicalOptimizerRules, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, start, supportsWrite
public 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
SchemaFactory
registerSchemas
in interface SchemaFactory
registerSchemas
in class MockStorageEngine
schemaConfig
- Configuration for schema objects.parent
- Reference to parent schema.IOException
- in case of error during schema registrationCopyright © 1970 The Apache Software Foundation. All rights reserved.