ParentEntityT
- The generic navigation property entity source type.EntityT
- The generic navigation property entity target type.public final class NavigationPropertyCollectionQuery<ParentEntityT extends VdmObject<?>,EntityT extends VdmEntity<?>> extends Object
ProtocolQueryReadCollection
the API doesn't differentiate between selections via
referencing navigational properties and selections via sub-queries.Modifier and Type | Field and Description |
---|---|
protected StructuredQuery |
delegateQuery |
NULL
Modifier and Type | Method and Description |
---|---|
NavigationPropertyCollectionQuery<ParentEntityT,EntityT> |
filter(FilterableBoolean<EntityT>... filters)
Filter on properties of EntityT.
|
protected StructuredQuery |
getDelegateQuery() |
String |
getFieldName()
javadoc
|
NavigationPropertyCollectionQuery<ParentEntityT,EntityT> |
orderBy(FieldOrdering<EntityT>... ordering)
Sort the set of returned entities by non-complex fields.
|
NavigationPropertyCollectionQuery<ParentEntityT,EntityT> |
search(SearchExpression expression)
Request modifier to return the set of entities corresponding to the specified boolean expression.
|
NavigationPropertyCollectionQuery<ParentEntityT,EntityT> |
search(String search)
Request modifier to return the set of entities that contain the specified value.
|
protected com.sap.cloud.sdk.datamodel.odatav4.core.AbstractStructuredPropertyQuery<ParentEntityT,EntityT> |
select(Iterable<Property<EntityT>> fields)
Query modifier to limit which field values of the entity EntityT get fetched and populated.
|
NavigationPropertyCollectionQuery<ParentEntityT,EntityT> |
select(Property<EntityT>... fields) |
NavigationPropertyCollectionQuery<ParentEntityT,EntityT> |
skip(int skip)
Determine the how many first N entities of the result set should be skipped.
|
NavigationPropertyCollectionQuery<ParentEntityT,EntityT> |
top(int top)
Limit the number of results of this request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpression, of
getExpression
protected final StructuredQuery delegateQuery
@SafeVarargs @Nonnull public final NavigationPropertyCollectionQuery<ParentEntityT,EntityT> select(@Nonnull Property<EntityT>... fields)
@SafeVarargs @Nonnull public final NavigationPropertyCollectionQuery<ParentEntityT,EntityT> filter(@Nonnull FilterableBoolean<EntityT>... filters)
filters
- Filter expressions to be added to the request.@Nonnull public NavigationPropertyCollectionQuery<ParentEntityT,EntityT> top(int top)
top
- The maximum amount of elements this request shall return.@Nonnull public NavigationPropertyCollectionQuery<ParentEntityT,EntityT> skip(int skip)
skip
- The amount of elements this request will skip.@SafeVarargs @Nonnull @Beta public final NavigationPropertyCollectionQuery<ParentEntityT,EntityT> orderBy(@Nonnull FieldOrdering<EntityT>... ordering)
ordering
- Fields to sort by.@Nonnull public NavigationPropertyCollectionQuery<ParentEntityT,EntityT> search(@Nonnull String search)
search
- A string value as the search criteria.@Nonnull public NavigationPropertyCollectionQuery<ParentEntityT,EntityT> search(@Nonnull SearchExpression expression)
expression
- SearchExpression as the search criteria@Nonnull protected final com.sap.cloud.sdk.datamodel.odatav4.core.AbstractStructuredPropertyQuery<ParentEntityT,EntityT> select(@Nonnull Iterable<Property<EntityT>> fields)
fields
- Properties of EntityT to be selected.@Nonnull public String getFieldName()
FieldReference
protected StructuredQuery getDelegateQuery()
Copyright © 2021 SAP SE. All rights reserved.