public class SystemTablePlugin extends AbstractStoragePlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
SYS_SCHEMA_NAME |
contextDEFAULT_WS_NAME| Constructor and Description |
|---|
SystemTablePlugin(DrillbitContext context) |
SystemTablePlugin(SystemTablePluginConfig config,
DrillbitContext context,
String name) |
| Modifier and Type | Method and Description |
|---|---|
StoragePluginConfig |
getConfig()
Method returns a Jackson serializable object that extends a StoragePluginConfig.
|
AbstractGroupScan |
getPhysicalScan(String userName,
JSONOptions selection,
List<SchemaPath> columns)
Get the physical scan operator for the particular GroupScan (read) node.
|
void |
registerSchemas(SchemaConfig schemaConfig,
org.apache.calcite.schema.SchemaPlus parent)
Register the schemas provided by this SchemaFactory implementation under the given parent schema.
|
close, getContext, getFormatPlugin, getLogicalOptimizerRules, getName, getOptimizerRules, getOptimizerRules, getPhysicalOptimizerRules, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, start, supportsRead, supportsWritepublic static final String SYS_SCHEMA_NAME
public SystemTablePlugin(DrillbitContext context)
public SystemTablePlugin(SystemTablePluginConfig config, DrillbitContext context, String name)
public StoragePluginConfig getConfig()
StoragePluginpublic void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent)
SchemaFactoryschemaConfig - Configuration for schema objects.parent - Reference to parent schema.public AbstractGroupScan getPhysicalScan(String userName, JSONOptions selection, List<SchemaPath> columns)
StoragePlugingetPhysicalScan in interface StoragePlugingetPhysicalScan in class AbstractStoragePluginuserName - User whom to impersonate when when reading the contents as part of Scan.selection - The configured storage engine specific selection.columns - (optional) The list of column names to scan from the data source.Copyright © 2022 The Apache Software Foundation. All rights reserved.