GetMaterializedView gets the materialized view by name.
(name string)
| 384 | |
| 385 | // GetMaterializedView gets the materialized view by name. |
| 386 | func (s *SchemaMetadata) GetMaterializedView(name string) *storepb.MaterializedViewMetadata { |
| 387 | nameID := normalizeNameByCaseSensitivity(name, s.isObjectCaseSensitive) |
| 388 | return s.internalMaterializedView[nameID] |
| 389 | } |
| 390 | |
| 391 | // GetExternalTable gets the external table by name. |
| 392 | func (s *SchemaMetadata) GetExternalTable(name string) *ExternalTableMetadata { |
no test coverage detected