Class NamedSystemSchema
java.lang.Object
org.apache.druid.sql.calcite.schema.NamedSystemSchema
- All Implemented Interfaces:
NamedSchema
The schema for Druid system tables to be accessible via SQL.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.schema.SchemagetSchemaResourceType(String resourceName) For a given name of a table, function, etc of this schema, return the value most appropriate to use forResource.getType()for the resource, used during authorization.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
NamedSystemSchema
-
-
Method Details
-
getSchemaName
- Specified by:
getSchemaNamein interfaceNamedSchema- Returns:
- The name that this schema should be registered to.
-
getSchema
public org.apache.calcite.schema.Schema getSchema()- Specified by:
getSchemain interfaceNamedSchema- Returns:
- The Schema that Calcite should use.
-
getSchemaResourceType
Description copied from interface:NamedSchemaFor a given name of a table, function, etc of this schema, return the value most appropriate to use forResource.getType()for the resource, used during authorization. If this method returns null then the resource does not need any authorization.- Specified by:
getSchemaResourceTypein interfaceNamedSchema
-