public class TransformationSpecRequest extends Object
| Constructor and Description |
|---|
TransformationSpecRequest(Transport transport,
OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSpecRow(String sfdcField,
String csvHeader,
String value,
String hint)
Adds a transformation spec row.
|
void |
completeRequest() |
public TransformationSpecRequest(Transport transport, OutputStream out) throws IOException, AsyncApiException
IOExceptionAsyncApiExceptionpublic void addSpecRow(String sfdcField, String csvHeader, String value, String hint) throws AsyncApiException
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 fieldAsyncApiExceptionpublic void completeRequest()
throws AsyncApiException
AsyncApiExceptionCopyright © 2015. All Rights Reserved.