public interface NamedSchema
Schema as a sub schema to the root schema
of Druid SQL. The getSchemaName() will be used to access the provided Schema via SQL.| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.schema.Schema |
getSchema() |
String |
getSchemaName() |
default String |
getSchemaResourceType(String resourceName)
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. |
String getSchemaName()
@Nullable default String getSchemaResourceType(String resourceName)
Resource.getType() for the resource, used during authorization. If this
method returns null then the resource does not need any authorization.org.apache.calcite.schema.Schema getSchema()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.