Class NamedSystemSchema

java.lang.Object
org.apache.druid.sql.calcite.schema.NamedSystemSchema
All Implemented Interfaces:
NamedSchema

public class NamedSystemSchema extends Object implements NamedSchema
The schema for Druid system tables to be accessible via SQL.
  • Field Details

  • Constructor Details

  • Method Details

    • getSchemaName

      public String getSchemaName()
      Specified by:
      getSchemaName in interface NamedSchema
      Returns:
      The name that this schema should be registered to.
    • getSchema

      public org.apache.calcite.schema.Schema getSchema()
      Specified by:
      getSchema in interface NamedSchema
      Returns:
      The Schema that Calcite should use.
    • getSchemaResourceType

      @Nullable public String getSchemaResourceType(String resourceName)
      Description copied from interface: NamedSchema
      For a given name of a table, function, etc of this schema, return the value most appropriate to use for Resource.getType() for the resource, used during authorization. If this method returns null then the resource does not need any authorization.
      Specified by:
      getSchemaResourceType in interface NamedSchema