public class DbFunctions extends Object implements org.mule.runtime.api.lifecycle.Initialisable
| Constructor and Description |
|---|
DbFunctions() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createArray(String configName,
String typeName,
List<Object> values)
DataWeave function to create JDBC Array objects based on the Array Type to create and the values that conforms the type.
|
Object |
createStruct(String configName,
String typeName,
List<Object> properties)
DataWeave function to create JDBC Struct objects based on the Type Name and their correspondent properties.
|
void |
initialise() |
public Object createArray(String configName, String typeName, List<Object> values)
typeName - The name of the Array type to createvalues - An array of values that conforms the Array TypeconfigName - The configuration in charge of creating the Array Typepublic Object createStruct(String configName, String typeName, List<Object> properties)
typeName - The name of the Struct type to createproperties - An array of values that conforms the Struct propertiesconfigName - The configuration in charge of creating the Struct typepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2021. All rights reserved.