Package com.sforce.async
Class TransformationSpecRequest
java.lang.Object
com.sforce.async.TransformationSpecRequest
Transformation specification request.
- Since:
- 188
- Author:
- drobertson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSpecRow(String sfdcField, String csvHeader, String value, String hint) Adds a transformation spec row.void
-
Constructor Details
-
TransformationSpecRequest
public TransformationSpecRequest(Transport transport, OutputStream out) throws IOException, AsyncApiException - Throws:
IOExceptionAsyncApiException
-
-
Method Details
-
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
- Throws:
AsyncApiException
-