Class FunctionProperties
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogNamespaceProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.SchemaNamespaceProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.FunctionProperties
- Direct Known Subclasses:
FunctionInfo
The properties of a function - maps to CreateFunction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the data type of the function ?Return the name of the external language of the function (if relevant).Return the "pretty-printed" function data type.Return the description of the input parameters.boolean
Return whether this function is deterministic.boolean
Return whether thi function is a null call,Return the function parameter style.Return the description of the function's return parameters.Return the language of implementation.Return the function body.Return te list of dependencies.Return the function security type.Return the specific name of the function; Reserved for future use.Return the type of SQL data access used by the function.int
hashCode()
Return hash code based on properties.void
setData_type
(ColumnTypeName data_type) Set up the data type of the function.void
setExternal_language
(String external_language) Set up the name of the external language of the function (if relevant).void
setFull_data_type
(String full_data_type) Set up the "pretty-printed" function data type.void
setInput_params
(FunctionParameterInfos input_params) Set up the description of the input parameters,void
setIs_deterministic
(boolean is_deterministic) Set up whether this function is deterministic.void
setIs_null_call
(boolean is_null_call) Set up whether this function is a null call.void
setParameter_style
(ParameterStyle parameter_style) Set up the function parameter style.void
setReturn_params
(FunctionParameterInfos return_params) Set up the description of the function's return parameters.void
setRoutine_body
(RoutineBody routine_body) Set up the language of implementation.void
setRoutine_definition
(String routine_definition) Set up the function body.void
setRoutine_dependencies
(DependencyList routine_dependencies) Set up the list of dependencies.void
setSecurity_type
(SecurityType security_type) Set up the function security type.void
setSpecific_name
(String specific_name) Set up the specific name of the function; Reserved for future use.void
setSql_data_access
(SQLDataAccess sql_data_access) Set up the type of SQL data access used by the function.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.SchemaNamespaceProperties
getSchema_name, setSchema_name
Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogNamespaceProperties
getCatalog_name, setCatalog_name
Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementProperties
getComment, getName, setComment, setName
-
Constructor Details
-
FunctionProperties
public FunctionProperties()Constructor
-
-
Method Details
-
getInput_params
Return the description of the input parameters.- Returns:
- list
-
setInput_params
Set up the description of the input parameters,- Parameters:
input_params
- list
-
getData_type
Return the data type of the function ?- Returns:
- enum
-
setData_type
Set up the data type of the function.- Parameters:
data_type
- enum
-
getFull_data_type
Return the "pretty-printed" function data type.- Returns:
- string
-
setFull_data_type
Set up the "pretty-printed" function data type.- Parameters:
full_data_type
- string
-
getReturn_params
Return the description of the function's return parameters.- Returns:
- parameter list
-
setReturn_params
Set up the description of the function's return parameters.- Parameters:
return_params
- parameter list
-
getRoutine_body
Return the language of implementation. When **EXTERNAL** is used, the language of the routine function should be specified in the __external_language__ field, and the __return_params__ of the function cannot be used (as **TABLE** return type is not supported), and the __sql_data_access__ field must be **NO_SQL**.- Returns:
- enum
-
setRoutine_body
Set up the language of implementation. When **EXTERNAL** is used, the language of the routine function should be specified in the __external_language__ field, and the __return_params__ of the function cannot be used (as **TABLE** return type is not supported), and the __sql_data_access__ field must be **NO_SQL**.- Parameters:
routine_body
- enum
-
getRoutine_definition
Return the function body.- Returns:
- string
-
setRoutine_definition
Set up the function body.- Parameters:
routine_definition
- string
-
getRoutine_dependencies
Return te list of dependencies.- Returns:
- list
-
setRoutine_dependencies
Set up the list of dependencies.- Parameters:
routine_dependencies
- list
-
getParameter_style
Return the function parameter style. **S** is the value for SQL.- Returns:
- enum
-
setParameter_style
Set up the function parameter style. **S** is the value for SQL.- Parameters:
parameter_style
- enum
-
getIs_deterministic
public boolean getIs_deterministic()Return whether this function is deterministic.- Returns:
- boolean
-
setIs_deterministic
public void setIs_deterministic(boolean is_deterministic) Set up whether this function is deterministic.- Parameters:
is_deterministic
- boolean
-
getSql_data_access
Return the type of SQL data access used by the function.- Returns:
- enum
-
setSql_data_access
Set up the type of SQL data access used by the function.- Parameters:
sql_data_access
- enum
-
getIs_null_call
public boolean getIs_null_call()Return whether thi function is a null call,- Returns:
- boolean
-
setIs_null_call
public void setIs_null_call(boolean is_null_call) Set up whether this function is a null call.- Parameters:
is_null_call
- boolean
-
getSecurity_type
Return the function security type.- Returns:
- enum
-
setSecurity_type
Set up the function security type.- Parameters:
security_type
- enum
-
getSpecific_name
Return the specific name of the function; Reserved for future use.- Returns:
- string
-
setSpecific_name
Set up the specific name of the function; Reserved for future use.- Parameters:
specific_name
- string
-
getExternal_language
Return the name of the external language of the function (if relevant).- Returns:
- string
-
setExternal_language
Set up the name of the external language of the function (if relevant).- Parameters:
external_language
- string
-
toString
Standard toString method.- Overrides:
toString
in classSchemaNamespaceProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classSchemaNamespaceProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classSchemaNamespaceProperties
- Returns:
- int
-