| Package | Description |
|---|---|
| com.sap.cloud.sdk.odatav2.connectivity.batch |
| Modifier and Type | Method and Description |
|---|---|
BatchRequestBuilder |
BatchRequestBuilder.addChangeSet(ChangeSet changeSet)
Adds a change set request to the batch.
|
BatchRequestBuilder |
BatchRequestBuilder.addQueryRequest(ODataQuery queryRequest)
Adds a query request to the batch.
|
BatchRequestBuilder |
BatchRequestBuilder.enableMetadataCache()
Enables caching of the metadata of an OData V2 data source.
|
BatchRequestBuilder |
BatchRequestBuilder.enableMetadataCache(com.sap.cloud.sdk.cloudplatform.cache.CacheKey cacheKey)
Enables caching of the metadata of an OData V2 data source.
|
BatchRequestBuilder |
BatchRequestBuilder.withCacheRefresh()
Replaces the existing metadata in the cache with the latest version from the OData V2 data source.
|
BatchRequestBuilder |
BatchRequestBuilder.withErrorHandler(ErrorResultHandler<?> errorHandler)
Sets an error handler in this BatchRequestBuilder.
|
BatchRequestBuilder |
BatchRequestBuilder.withHeader(String key,
String value)
Adds a header to the batch request.
|
BatchRequestBuilder |
BatchRequestBuilder.withHeader(String key,
String value,
boolean passInAllRequests)
Adds a header to the batch request and optionally to the metadata request as well depending on the value of the
passInAllRequests parameter.
|
BatchRequestBuilder |
BatchRequestBuilder.withMetadata(URL metadataFilePath)
Gets the metadata from the specified path.
|
static BatchRequestBuilder |
BatchRequestBuilder.withService(String serviceName)
Specifies the service where the batch request will be executed.
|
Copyright © 2020 SAP. All Rights Reserved.