public final class ConnectorUtils
extends Object
DataSetConnector
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FILE_DRIVER_NAME
The DEFAULT FILE ETL DRIVER NAME.
|
Constructor and Description |
---|
ConnectorUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
dataSet2Str(DataSet dataSet,
String connectorClassName,
String parameters)
Convert given dataset to the string using given connector.
|
static DataSet |
str2DataSet(DataSet dataSet,
String connectorClassName,
String parameters,
String value)
Populate dataset using given string and connector class name.
|
public static final String DEFAULT_FILE_DRIVER_NAME
public static String dataSet2Str(DataSet dataSet, String connectorClassName, String parameters) throws Exception
dataSet
- the data setconnectorClassName
- the connector class nameparameters
- the parametersException
- in case of any errorpublic static DataSet str2DataSet(DataSet dataSet, String connectorClassName, String parameters, String value) throws Exception
connectorClassName
- the connector class namevalue
- the string to parseException
- in case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.