Package com.sforce.async
Class TransformationSpecRequest
- java.lang.Object
-
- com.sforce.async.TransformationSpecRequest
-
public class TransformationSpecRequest extends java.lang.ObjectTransformation specification request.- Since:
- 188
- Author:
- drobertson
-
-
Constructor Summary
Constructors Constructor Description TransformationSpecRequest(Transport transport, java.io.OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSpecRow(java.lang.String sfdcField, java.lang.String csvHeader, java.lang.String value, java.lang.String hint)Adds a transformation spec row.voidcompleteRequest()
-
-
-
Constructor Detail
-
TransformationSpecRequest
public TransformationSpecRequest(Transport transport, java.io.OutputStream out) throws java.io.IOException, AsyncApiException
- Throws:
java.io.IOExceptionAsyncApiException
-
-
Method Detail
-
addSpecRow
public void addSpecRow(java.lang.String sfdcField, java.lang.String csvHeader, java.lang.String value, java.lang.String hint) throws AsyncApiExceptionAdds 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
-
-