public class SizeBasedRoutingOperation extends BaseUpdateOperation
SizeLimitedUpdateOperation implementations work but this
examples still processes documents whose size exceeds the limit where the size limited operations would automatically
treat "large" documents as application errors. Note: "large" documents (generally anything over 1MB) should not be
held in memory and should be processed using streams.| Modifier | Constructor and Description |
|---|---|
protected |
SizeBasedRoutingOperation(OperationContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeUpdate(UpdateRequest request,
OperationResponse response)
Actual implementation of this CREATE, UPDATE, or UPSERT Operation.
|
executegetConnection, getContextprotected SizeBasedRoutingOperation(OperationContext context)
protected void executeUpdate(UpdateRequest request, OperationResponse response)
BaseUpdateOperationexecuteUpdate in class BaseUpdateOperationrequest - request given to BaseUpdateOperation.execute(com.boomi.connector.api.OperationRequest, com.boomi.connector.api.OperationResponse), downcast to the correct typeresponse - response given to BaseUpdateOperation.execute(com.boomi.connector.api.OperationRequest, com.boomi.connector.api.OperationResponse)