Class NavigationPropertyCollectionQuery<ParentEntityT extends VdmObject<?>,EntityT extends VdmEntity<?>>
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.NavigationPropertyCollectionQuery<ParentEntityT,EntityT>
- Type Parameters:
ParentEntityT
- The generic navigation property entity source type.EntityT
- The generic navigation property entity target type.
- All Implemented Interfaces:
Expressions.Operand
,Expressions.OperandSingle
,FieldReference
,Property<ParentEntityT>
public final class NavigationPropertyCollectionQuery<ParentEntityT extends VdmObject<?>,EntityT extends VdmEntity<?>>
extends Object
Implementation that represents read queries and holds their state at runtime. It allows for nested queries in a
recursive manner. The implementation is the same for queries over single entities and collections of entities. In the
VDM the available functionality is limited by the interfaces.
In order to support a fluent creation of nested queries both the entity and the parent entity type are stored via
generics. By implementing
ProtocolQueryReadCollection
the API doesn't differentiate between selections via
referencing navigational properties and selections via sub-queries.-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL
-
Method Summary
Modifier and TypeMethodDescriptionfilter
(FilterableBoolean<EntityT>... filters) protected StructuredQuery
javadocorderBy
(FieldOrdering<EntityT>... ordering) search
(SearchExpression expression) protected final com.sap.cloud.sdk.datamodel.odatav4.core.AbstractStructuredPropertyQuery<ParentEntityT,
EntityT> Query modifier to limit which field values of the entity AbstractStructuredPropertyQuery get fetched and populated.skip
(int skip) top
(int top) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
getExpression
Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.FieldReference
getExpression
-
Field Details
-
delegateQuery
-
-
Method Details
-
select
@SafeVarargs @Nonnull public final NavigationPropertyCollectionQuery<ParentEntityT,EntityT> select(@Nonnull Property<EntityT>... fields) -
filter
@SafeVarargs @Nonnull public final NavigationPropertyCollectionQuery<ParentEntityT,EntityT> filter(@Nonnull FilterableBoolean<EntityT>... filters) -
top
-
skip
-
orderBy
@SafeVarargs @Nonnull public final NavigationPropertyCollectionQuery<ParentEntityT,EntityT> orderBy(@Nonnull FieldOrdering<EntityT>... ordering) -
search
@Nonnull public NavigationPropertyCollectionQuery<ParentEntityT,EntityT> search(@Nonnull String search) -
search
@Nonnull public NavigationPropertyCollectionQuery<ParentEntityT,EntityT> search(@Nonnull SearchExpression expression) -
select
@Nonnull protected final com.sap.cloud.sdk.datamodel.odatav4.core.AbstractStructuredPropertyQuery<ParentEntityT,EntityT> select(@Nonnull Iterable<Property<EntityT>> fields) Query modifier to limit which field values of the entity AbstractStructuredPropertyQuery get fetched and populated.- Parameters:
fields
- Properties of AbstractStructuredPropertyQuery to be selected.- Returns:
- This query object with the added selections.
-
getFieldName
Description copied from interface:FieldReference
javadoc- Specified by:
getFieldName
in interfaceFieldReference
- Returns:
- The field name this reference points towards.
-
getDelegateQuery
-