Class DynamicRootSchema.RootSchema

java.lang.Object
org.apache.drill.exec.store.AbstractSchema
org.apache.calcite.jdbc.DynamicRootSchema.RootSchema
All Implemented Interfaces:
AutoCloseable, org.apache.calcite.schema.Schema, SchemaPartitionExplorer
Enclosing class:
DynamicRootSchema

public static class DynamicRootSchema.RootSchema extends AbstractSchema
  • Constructor Details

  • Method Details

    • getSubSchemaNames

      public Set<String> getSubSchemaNames()
      Specified by:
      getSubSchemaNames in interface org.apache.calcite.schema.Schema
      Overrides:
      getSubSchemaNames in class AbstractSchema
    • getTypeName

      public String getTypeName()
      Description copied from class: AbstractSchema
      Returns string describing schema type which shows where the schema came from. Good practice here is to return json type name of storage plugin's config.
      Specified by:
      getTypeName in class AbstractSchema
      Returns:
      schema type name
    • getExpression

      public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus parentSchema, String name)
      Specified by:
      getExpression in interface org.apache.calcite.schema.Schema
      Overrides:
      getExpression in class AbstractSchema
    • showInInformationSchema

      public boolean showInInformationSchema()
      Description copied from class: AbstractSchema
      Reports whether to show items from this schema in INFORMATION_SCHEMA tables. (Controls ... TODO: Doc.: Mention what this typically controls or affects.)

      This base implementation returns true.

      Overrides:
      showInInformationSchema in class AbstractSchema