public interface SupportFunction
extends org.apache.spark.sql.connector.catalog.FunctionCatalog, org.apache.spark.sql.connector.catalog.SupportsNamespaces
Modifier and Type | Method and Description |
---|---|
static boolean |
isFunctionNamespace(String[] namespace) |
static boolean |
isSystemNamespace(String[] namespace) |
default org.apache.spark.sql.connector.catalog.Identifier[] |
listFunctions(String[] namespace) |
default org.apache.spark.sql.connector.catalog.functions.UnboundFunction |
loadFunction(org.apache.spark.sql.connector.catalog.Identifier ident) |
functionExists
static boolean isFunctionNamespace(String[] namespace)
static boolean isSystemNamespace(String[] namespace)
default org.apache.spark.sql.connector.catalog.Identifier[] listFunctions(String[] namespace) throws org.apache.spark.sql.catalyst.analysis.NoSuchNamespaceException
listFunctions
in interface org.apache.spark.sql.connector.catalog.FunctionCatalog
org.apache.spark.sql.catalyst.analysis.NoSuchNamespaceException
default org.apache.spark.sql.connector.catalog.functions.UnboundFunction loadFunction(org.apache.spark.sql.connector.catalog.Identifier ident) throws org.apache.spark.sql.catalyst.analysis.NoSuchFunctionException
loadFunction
in interface org.apache.spark.sql.connector.catalog.FunctionCatalog
org.apache.spark.sql.catalyst.analysis.NoSuchFunctionException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.