public class CatalogFunctionImpl extends Object implements CatalogFunction
Constructor and Description |
---|
CatalogFunctionImpl(String className) |
CatalogFunctionImpl(String className,
FunctionLanguage functionLanguage) |
Modifier and Type | Method and Description |
---|---|
CatalogFunction |
copy()
Create a deep copy of the function.
|
String |
getClassName()
Get the full name of the class backing the function.
|
Optional<String> |
getDescription()
Get a brief description of the function.
|
Optional<String> |
getDetailedDescription()
Get a detailed description of the function.
|
FunctionLanguage |
getFunctionLanguage()
Get the language used for the definition of function.
|
boolean |
isGeneric()
Distinguish if the function is a generic function.
|
String |
toString() |
public CatalogFunctionImpl(String className)
public CatalogFunctionImpl(String className, FunctionLanguage functionLanguage)
public String getClassName()
CatalogFunction
getClassName
in interface CatalogFunction
public CatalogFunction copy()
CatalogFunction
copy
in interface CatalogFunction
public Optional<String> getDescription()
CatalogFunction
getDescription
in interface CatalogFunction
public Optional<String> getDetailedDescription()
CatalogFunction
getDetailedDescription
in interface CatalogFunction
public boolean isGeneric()
CatalogFunction
isGeneric
in interface CatalogFunction
public FunctionLanguage getFunctionLanguage()
CatalogFunction
getFunctionLanguage
in interface CatalogFunction
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.