Class ElasticsearchStoragePlugin

All Implemented Interfaces:
AutoCloseable, SchemaFactory, StoragePlugin

public class ElasticsearchStoragePlugin extends AbstractStoragePlugin
  • Constructor Details

  • Method Details

    • registerSchemas

      public void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws com.fasterxml.jackson.core.JsonProcessingException
      Description copied from interface: SchemaFactory
      Register the schemas provided by this SchemaFactory implementation under the given parent schema.
      schemaConfig - Configuration for schema objects.
      parent - Reference to parent schema.
    • getConfig

      public ElasticsearchStorageConfig getConfig()
      Description copied from interface: StoragePlugin
      Method returns a Jackson serializable object that extends a StoragePluginConfig.
      an extension of StoragePluginConfig
    • supportsRead

      public boolean supportsRead()
      Description copied from interface: StoragePlugin
      Indicates if Drill can read the table from this format.
      Specified by:
      supportsRead in interface StoragePlugin
      supportsRead in class AbstractStoragePlugin
    • getOptimizerRules

      public Set<? extends org.apache.calcite.plan.RelOptRule> getOptimizerRules(OptimizerRulesContext optimizerContext, PlannerPhase phase)
      Description copied from interface: StoragePlugin
      An 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.
      an empty set or a set of plugin specific physical optimizer rules.