Class CatalogV2Implicits.IdentifierHelper
Object
org.apache.spark.sql.connector.catalog.CatalogV2Implicits.IdentifierHelper
- Enclosing class:
- CatalogV2Implicits
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.spark.sql.catalyst.FunctionIdentifierscala.collection.immutable.Seq<String>org.apache.spark.sql.catalyst.TableIdentifierscala.Option<org.apache.spark.sql.catalyst.TableIdentifier>asTableIdentifierOpt(scala.Option<String> catalogName) Tries to convert catalog identifier to the table identifier.original()quoted()scala.collection.immutable.Seq<String>toQualifiedNameParts(CatalogPlugin catalog)
-
Constructor Details
-
IdentifierHelper
-
-
Method Details
-
asFunctionIdentifier
public org.apache.spark.sql.catalyst.FunctionIdentifier asFunctionIdentifier() -
asMultipartIdentifier
-
asTableIdentifier
public org.apache.spark.sql.catalyst.TableIdentifier asTableIdentifier() -
asTableIdentifierOpt
public scala.Option<org.apache.spark.sql.catalyst.TableIdentifier> asTableIdentifierOpt(scala.Option<String> catalogName) Tries to convert catalog identifier to the table identifier. Table identifier does not support multiple namespaces (nested namespaces), so if identifier contains nested namespace, conversion cannot be done- Parameters:
catalogName- Catalog name. Identifier represents just one object in catalog, so it has no catalog name needed for table identifier creation- Returns:
- Table identifier if conversion can be done, None otherwise
-
fullyQuoted
-
original
-
quoted
-
toQualifiedNameParts
-