public interface DruidSchemaManager
DruidTable
objects, used by the DruidSchema class as the SQL planner's
view of Druid datasource schemas. If a non-default implementation is
provided, the segment metadata polling-based view of the Druid tables
will not be built in DruidSchema.| Modifier and Type | Method and Description |
|---|---|
default DruidTable |
getTable(String name) |
default Set<String> |
getTableNames() |
Map<String,DruidTable> |
getTables()
Deprecated.
|
@Deprecated Map<String,DruidTable> getTables()
getTable(String), or
the list of all table names (via getTableNames(). This
method was originally used to allow Calcite's AbstractSchema class to do
the lookup. The current code implements the operations directly. For
backward compatibility, the default methods emulate the old behavior.
Newer implementations should omit this method and implement the other two.default DruidTable getTable(String name)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.