Package org.apache.druid.catalog
Class NullMetadataCatalog
java.lang.Object
org.apache.druid.catalog.NullMetadataCatalog
- All Implemented Interfaces:
MetadataCatalog
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionResolves a table given aTableIdwith the schema and table name.resolveTable(TableId tableId) tableNames(String schemaName) List of tables defined within the given schema.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NullMetadataCatalog
public NullMetadataCatalog()
-
-
Method Details
-
getTable
Description copied from interface:MetadataCatalogResolves a table given aTableIdwith the schema and table name. Does not do security checks: the caller is responsible.- Specified by:
getTablein interfaceMetadataCatalog- Returns:
- the table metadata, if any exists, else
nullif no metadata is available. Note that a datasource can exist without metadata. Views and input sources exist only if their metadata exists. System tables never have metadata.
-
resolveTable
- Specified by:
resolveTablein interfaceMetadataCatalog
-
tables
Description copied from interface:MetadataCatalogList of tables defined within the given schema. Does not filter the tables by permissions: the caller is responsible for that.- Specified by:
tablesin interfaceMetadataCatalog- Returns:
-
tableNames
- Specified by:
tableNamesin interfaceMetadataCatalog
-