Package com.sforce.async
Class TransformationSpecRequest
- java.lang.Object
-
- com.sforce.async.TransformationSpecRequest
-
public class TransformationSpecRequest extends Object
Transformation specification request.- Since:
- 188
- Author:
- drobertson
-
-
Constructor Summary
Constructors Constructor Description TransformationSpecRequest(Transport transport, OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSpecRow(String sfdcField, String csvHeader, String value, String hint)Adds a transformation spec row.voidcompleteRequest()
-
-
-
Constructor Detail
-
TransformationSpecRequest
public TransformationSpecRequest(Transport transport, OutputStream out) throws IOException, AsyncApiException
- Throws:
IOExceptionAsyncApiException
-
-
Method Detail
-
addSpecRow
public void addSpecRow(String sfdcField, String csvHeader, String value, String hint) throws AsyncApiException
Adds a transformation spec row.- Parameters:
sfdcField- the Salesforce field that should receive the valuecsvHeader- the header from the CSV file that identifies which column, when non-null, contains the value to providevalue- a default or fallback value to use if either no CSV header was specified or the value in the column was nullhint- an optional hint, whose content depends on the type of the Salesforce field- Throws:
AsyncApiException
-
completeRequest
public void completeRequest() throws AsyncApiException- Throws:
AsyncApiException
-
-