public class CassandraStoragePlugin extends AbstractStoragePlugin
contextDEFAULT_WS_NAME| Constructor and Description |
|---|
CassandraStoragePlugin(CassandraStorageConfig config,
DrillbitContext context,
String name) |
| Modifier and Type | Method and Description |
|---|---|
CassandraStorageConfig |
getConfig()
Method returns a Jackson serializable object that extends a StoragePluginConfig.
|
Set<? extends org.apache.calcite.plan.RelOptRule> |
getOptimizerRules(OptimizerRulesContext optimizerContext,
PlannerPhase phase)
Note: Move this method to
StoragePlugin interface in next major version release. |
void |
registerSchemas(SchemaConfig schemaConfig,
org.apache.calcite.schema.SchemaPlus parent)
Register the schemas provided by this SchemaFactory implementation under the given parent schema.
|
boolean |
supportsRead()
Indicates if Drill can read the table from this format.
|
close, getContext, getFormatPlugin, getLogicalOptimizerRules, getName, getOptimizerRules, getPhysicalOptimizerRules, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, start, supportsWritepublic CassandraStoragePlugin(CassandraStorageConfig config, DrillbitContext context, String name)
public 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 CassandraStorageConfig getConfig()
StoragePluginpublic boolean supportsRead()
StoragePluginsupportsRead in interface StoragePluginsupportsRead in class AbstractStoragePluginpublic Set<? extends org.apache.calcite.plan.RelOptRule> getOptimizerRules(OptimizerRulesContext optimizerContext, PlannerPhase phase)
AbstractStoragePluginStoragePlugin interface in next major version release.getOptimizerRules in class AbstractStoragePluginCopyright © 2021 The Apache Software Foundation. All rights reserved.