| Package | Description |
|---|---|
| com.sap.cloud.sdk.odatav2.connectivity |
| Modifier and Type | Method and Description |
|---|---|
ODataQueryBuilder |
ODataQueryBuilder.count() |
ODataQueryBuilder |
ODataQueryBuilder.enableMetadataCache()
Enables caching of the metadata of an OData V2 data source.
|
ODataQueryBuilder |
ODataQueryBuilder.enableMetadataCache(com.sap.cloud.sdk.cloudplatform.cache.CacheKey cacheKey)
Enables caching of the metadata of an OData V2 data source.
|
ODataQueryBuilder |
ODataQueryBuilder.expand(String... expands)
Selects navigation properties to expand.
|
ODataQueryBuilder |
ODataQueryBuilder.filter(FilterExpression filter)
Adds a Filter expression to the OData query.
|
ODataQueryBuilder |
ODataQueryBuilder.inlineCount()
Sets $inlinecount=allpages as a query parameter.
|
ODataQueryBuilder |
ODataQueryBuilder.keys(Map<String,Object> keys)
Set Keys for the entity set being queried
|
ODataQueryBuilder |
ODataQueryBuilder.navigateTo(String navigation) |
ODataQueryBuilder |
ODataQueryBuilder.param(String key,
Object value)
Adds a query parameter to the OData request.
|
ODataQueryBuilder |
ODataQueryBuilder.select(List<String> selects)
Selects properties to read.
|
ODataQueryBuilder |
ODataQueryBuilder.select(String... selects)
Selects properties to read.
|
ODataQueryBuilder |
ODataQueryBuilder.skip(Integer n)
Sets skip value.
|
ODataQueryBuilder |
ODataQueryBuilder.top(Integer n)
Sets top value.
|
ODataQueryBuilder |
ODataQueryBuilder.useMetadata(boolean useMetadata) |
ODataQueryBuilder |
ODataQueryBuilder.withCacheRefresh()
Replaces the existing metadata in the cache with the latest version from the
OData V2 data source.
|
static ODataQueryBuilder |
ODataQueryBuilder.withEntity(String servicePath,
String entity)
Creates an ODataQueryBuilder with the given service and entity name.
|
ODataQueryBuilder |
ODataQueryBuilder.withHeader(String key,
String value)
Adds a header to the query request.
|
ODataQueryBuilder |
ODataQueryBuilder.withHeader(String key,
String value,
boolean passInAllRequests)
Adds a header to the query request and optionally to the metadata request as
well depending on the value of the passInAllRequests parameter.
|
ODataQueryBuilder |
ODataQueryBuilder.withMetadata(URL metadataFilePath)
Gets the metadata from the specified path.
|
ODataQueryBuilder |
ODataQueryBuilder.withoutMetadata()
Used to tell the framework to not get the metadata before the actual query.
|
Copyright © 2020 SAP. All Rights Reserved.