| Package | Description |
|---|---|
| com.sap.cloud.sdk.datamodel.odata.client.query | |
| com.sap.cloud.sdk.datamodel.odata.client.request |
| Modifier and Type | Method and Description |
|---|---|
static StructuredQuery |
StructuredQuery.asNestedQueryOnProperty(String fieldName,
ODataProtocol protocol)
Create a nested query on a property.
|
StructuredQuery |
StructuredQuery.filter(ValueBoolean... filters) |
static StructuredQuery |
StructuredQuery.onEntity(String entityName,
ODataProtocol protocol)
Create a
StructuredQuery for building up OData 2.0 or 4.0 queries. |
StructuredQuery |
StructuredQuery.orderBy(OrderExpression ordering) |
StructuredQuery |
StructuredQuery.orderBy(String field,
Order order) |
StructuredQuery |
StructuredQuery.search(String search) |
StructuredQuery |
StructuredQuery.select(String... fields)
Query modifier to limit which field values of the entity get fetched and populated.
|
StructuredQuery |
StructuredQuery.select(StructuredQuery... subqueries)
Query modifier to limit which complex and navigational properties will be expanded (and thus selected).
|
StructuredQuery |
StructuredQuery.skip(Number skip) |
StructuredQuery |
StructuredQuery.top(Number top) |
StructuredQuery |
StructuredQuery.withCustomParameter(String key,
String value)
Adds a custom query parameter in the form of a key=value pair.
|
StructuredQuery |
StructuredQuery.withInlineCount()
Requests an inline count by adding the system query option
$inlinecount (OData V2) or $count
(OData V4). |
| Modifier and Type | Method and Description |
|---|---|
Collection<StructuredQuery> |
StructuredQuery.getComplexSelectors() |
| Modifier and Type | Method and Description |
|---|---|
StructuredQuery |
StructuredQuery.select(StructuredQuery... subqueries)
Query modifier to limit which complex and navigational properties will be expanded (and thus selected).
|
| Constructor and Description |
|---|
ODataRequestCount(String servicePath,
ODataResourcePath resourcePath,
StructuredQuery query)
Constructor with StructuredQuery for OData Count request.
|
ODataRequestFunction(String servicePath,
ODataResourcePath functionPath,
StructuredQuery structQuery)
Constructor with StructuredQuery for OData Function request.
|
ODataRequestRead(String servicePath,
ODataResourcePath entityPath,
StructuredQuery query)
Constructor with StructuredQuery for OData read requests on entity collections directly.
|
ODataRequestReadByKey(String servicePath,
ODataResourcePath entityPath,
ODataEntityKey entityKey,
StructuredQuery query)
Constructor with StructuredQuery for OData read requests on entity collections directly.
|
Copyright © 2022 SAP SE. All rights reserved.