Class FunctionProperties
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicProperties
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCompare 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.booleanReturn whether this function is deterministic.booleanReturn 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.inthashCode()Return hash code based on properties.voidsetData_type(String data_type) Set up the data type of the function.voidsetExternal_language(String external_language) Set up the name of the external language of the function (if relevant).voidsetFull_data_type(String full_data_type) Set up the "pretty-printed" function data type.voidsetInput_params(FunctionParameterInfos input_params) Set up the description of the input parameters,voidsetIs_deterministic(boolean is_deterministic) Set up whether this function is deterministic.voidsetIs_null_call(boolean is_null_call) Set up whether this function is a null call.voidsetParameter_style(String parameter_style) Set up the function parameter style.voidsetReturn_params(FunctionParameterInfos return_params) Set up the description of the function's return parameters.voidsetRoutine_body(String routine_body) Set up the language of implementation.voidsetRoutine_definition(String routine_definition) Set up the function body.voidsetRoutine_dependencies(DependencyList routine_dependencies) Set up the list of dependencies.voidsetSecurity_type(String security_type) Set up the function security type.voidsetSpecific_name(String specific_name) Set up the specific name of the function; Reserved for future use.voidsetSql_data_access(String 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.SchemaNamespacePropertiesgetSchema_name, setSchema_nameMethods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogNamespacePropertiesgetCatalog_name, setCatalog_nameMethods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementPropertiesgetMetastore_id, getOwner, getSecurable_kind, getSecurable_type, isBrowse_only, setBrowse_only, setMetastore_id, setOwner, setSecurable_kind, setSecurable_typeMethods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicPropertiesgetComment, getName, setComment, setName
- 
Constructor Details- 
FunctionPropertiespublic FunctionProperties()Constructor
 
- 
- 
Method Details- 
getInput_paramsReturn the description of the input parameters.- Returns:
- list
 
- 
setInput_paramsSet up the description of the input parameters,- Parameters:
- input_params- list
 
- 
getData_typeReturn the data type of the function ?- Returns:
- enum
 
- 
setData_typeSet up the data type of the function.- Parameters:
- data_type- enum
 
- 
getFull_data_typeReturn the "pretty-printed" function data type.- Returns:
- string
 
- 
setFull_data_typeSet up the "pretty-printed" function data type.- Parameters:
- full_data_type- string
 
- 
getReturn_paramsReturn the description of the function's return parameters.- Returns:
- parameter list
 
- 
setReturn_paramsSet up the description of the function's return parameters.- Parameters:
- return_params- parameter list
 
- 
getRoutine_bodyReturn 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_bodySet 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_definitionReturn the function body.- Returns:
- string
 
- 
setRoutine_definitionSet up the function body.- Parameters:
- routine_definition- string
 
- 
getRoutine_dependenciesReturn te list of dependencies.- Returns:
- list
 
- 
setRoutine_dependenciesSet up the list of dependencies.- Parameters:
- routine_dependencies- list
 
- 
getParameter_styleReturn the function parameter style. **S** is the value for SQL.- Returns:
- enum
 
- 
setParameter_styleSet up the function parameter style. **S** is the value for SQL.- Parameters:
- parameter_style- enum
 
- 
getIs_deterministicpublic boolean getIs_deterministic()Return whether this function is deterministic.- Returns:
- boolean
 
- 
setIs_deterministicpublic void setIs_deterministic(boolean is_deterministic) Set up whether this function is deterministic.- Parameters:
- is_deterministic- boolean
 
- 
getSql_data_accessReturn the type of SQL data access used by the function.- Returns:
- enum
 
- 
setSql_data_accessSet up the type of SQL data access used by the function.- Parameters:
- sql_data_access- enum
 
- 
getIs_null_callpublic boolean getIs_null_call()Return whether thi function is a null call,- Returns:
- boolean
 
- 
setIs_null_callpublic void setIs_null_call(boolean is_null_call) Set up whether this function is a null call.- Parameters:
- is_null_call- boolean
 
- 
getSecurity_typeReturn the function security type.- Returns:
- enum
 
- 
setSecurity_typeSet up the function security type.- Parameters:
- security_type- enum
 
- 
getSpecific_nameReturn the specific name of the function; Reserved for future use.- Returns:
- string
 
- 
setSpecific_nameSet up the specific name of the function; Reserved for future use.- Parameters:
- specific_name- string
 
- 
getExternal_languageReturn the name of the external language of the function (if relevant).- Returns:
- string
 
- 
setExternal_languageSet up the name of the external language of the function (if relevant).- Parameters:
- external_language- string
 
- 
toStringStandard toString method.- Overrides:
- toStringin class- SchemaNamespaceProperties
- Returns:
- print out of variables in a JSON-style
 
- 
equalsCompare the values of the supplied object with those stored in the current object.- Overrides:
- equalsin class- SchemaNamespaceProperties
- Parameters:
- objectToCompare- supplied object
- Returns:
- boolean result of comparison
 
- 
hashCodepublic int hashCode()Return hash code based on properties.- Overrides:
- hashCodein class- SchemaNamespaceProperties
- Returns:
- int
 
 
-