| Package | Description |
|---|---|
| com.sap.cloud.sdk.odatav2.connectivity | |
| com.sap.cloud.sdk.odatav2.connectivity.api |
| Modifier and Type | Class and Description |
|---|---|
class |
ODataQueryBuilder |
| Modifier and Type | Method and Description |
|---|---|
IQueryBuilder |
IQueryBuilder.enableMetadataCache()
Enables caching of the metadata of an OData V2 data source.
|
IQueryBuilder |
IQueryBuilder.enableMetadataCache(com.sap.cloud.sdk.cloudplatform.cache.CacheKey cacheKey)
Enables caching of the metadata of an OData V2 data source.
|
IQueryBuilder |
IQueryBuilder.expand(String... expands)
Selects navigation properties to expand.
|
IQueryBuilder |
IQueryBuilder.filter(FilterExpression filter)
Adds a Filter expression to the OData query.
|
IQueryBuilder |
IQueryBuilder.inlineCount()
Sets $inlinecount=allpages as a query parameter.
|
IQueryBuilder |
IQueryBuilder.keys(Map<String,Object> keys) |
IQueryBuilder |
IQueryBuilder.navigateTo(String navigation)
Adds navigation Property to the URL.
|
IQueryBuilder |
IQueryBuilder.param(String key,
Object value)
Adds a query parameter to the OData request.
|
IQueryBuilder |
IQueryBuilder.select(List<String> selects)
Selects properties to read.
|
IQueryBuilder |
IQueryBuilder.select(String... selects)
Selects properties to read.
|
IQueryBuilder |
IQueryBuilder.skip(Integer n)
Sets skip value.
|
IQueryBuilder |
IQueryBuilder.top(Integer n)
Sets top value.
|
IQueryBuilder |
IQueryBuilder.useMetadata(boolean useMetadata) |
IQueryBuilder |
IQueryBuilder.withCacheRefresh()
Replaces the existing metadata in the cache with the latest version from the
OData V2 data source.
|
IQueryBuilder |
IQueryBuilder.withHeader(String key,
String value)
Adds a header to the query request.
|
IQueryBuilder |
IQueryBuilder.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.
|
IQueryBuilder |
IQueryBuilder.withMetadata(URL metadataFilePath)
Gets the metadata from the specified path.
|
IQueryBuilder |
IQueryBuilder.withoutMetadata()
Used to tell the framework to not get the metadata before the actual query.
|
Copyright © 2020 SAP. All Rights Reserved.