Class ElasticsearchStoragePlugin
java.lang.Object
org.apache.drill.exec.store.AbstractStoragePlugin
org.apache.drill.exec.store.elasticsearch.ElasticsearchStoragePlugin
- All Implemented Interfaces:
- AutoCloseable,- SchemaFactory,- StoragePlugin
- 
Field SummaryFields inherited from class org.apache.drill.exec.store.AbstractStoragePlugincontextFields inherited from interface org.apache.drill.exec.store.SchemaFactoryDEFAULT_WS_NAME
- 
Constructor SummaryConstructorsConstructorDescriptionElasticsearchStoragePlugin(ElasticsearchStorageConfig config, DrillbitContext context, String name) 
- 
Method SummaryModifier and TypeMethodDescriptionMethod returns a Jackson serializable object that extends a StoragePluginConfig.Set<? extends org.apache.calcite.plan.RelOptRule> getOptimizerRules(OptimizerRulesContext optimizerContext, PlannerPhase phase) An implementation of this method will return one or more specialized rules that Drill query optimizer can leverage in physical space.voidregisterSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) Register the schemas provided by this SchemaFactory implementation under the given parent schema.booleanIndicates if Drill can read the table from this format.Methods inherited from class org.apache.drill.exec.store.AbstractStoragePluginclose, getContext, getFormatPlugin, getName, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, getPhysicalScan, onDisabled, onEnabled, start, supportsInsert, supportsWrite, toString
- 
Constructor Details- 
ElasticsearchStoragePluginpublic ElasticsearchStoragePlugin(ElasticsearchStorageConfig config, DrillbitContext context, String name) 
 
- 
- 
Method Details- 
registerSchemaspublic void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws com.fasterxml.jackson.core.JsonProcessingException Description copied from interface:SchemaFactoryRegister the schemas provided by this SchemaFactory implementation under the given parent schema.- Parameters:
- schemaConfig- Configuration for schema objects.
- parent- Reference to parent schema.
- Throws:
- com.fasterxml.jackson.core.JsonProcessingException
 
- 
getConfigDescription copied from interface:StoragePluginMethod returns a Jackson serializable object that extends a StoragePluginConfig.- Returns:
- an extension of StoragePluginConfig
 
- 
supportsReadpublic boolean supportsRead()Description copied from interface:StoragePluginIndicates if Drill can read the table from this format.- Specified by:
- supportsReadin interface- StoragePlugin
- Overrides:
- supportsReadin class- AbstractStoragePlugin
 
- 
getOptimizerRulespublic Set<? extends org.apache.calcite.plan.RelOptRule> getOptimizerRules(OptimizerRulesContext optimizerContext, PlannerPhase phase) Description copied from interface:StoragePluginAn implementation of this method will return one or more specialized rules that Drill query optimizer can leverage in physical space. Otherwise, it should return an empty set.- Returns:
- an empty set or a set of plugin specific physical optimizer rules.
 
 
-