Class LookupCatalog.CatalogAndIdentifier
Object
org.apache.spark.sql.connector.catalog.LookupCatalog.CatalogAndIdentifier
- Enclosing interface:
- LookupCatalog
Extract catalog and identifier from a multi-part name with the current catalog if needed.
Catalog name takes precedence over identifier, but for a single-part name, identifier takes
precedence over catalog name.
Note that, this pattern is used to look up permanent catalog objects like table, view, function, etc. If you need to look up temp objects like temp view, please do it separately before calling this pattern, as temp objects don't belong to any catalog.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CatalogAndIdentifier
public CatalogAndIdentifier()
-
-
Method Details
-
unapply
public static scala.Option<scala.Tuple2<CatalogPlugin,Identifier>> unapply(scala.collection.Seq<String> nameParts)
-