Class NavigationPropertySingleQuery<ParentEntityT extends VdmObject<?>,EntityT extends VdmEntity<?>>
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.NavigationPropertySingleQuery<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 NavigationPropertySingleQuery<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
NavigationProperty
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 TypeMethodDescriptionprotected StructuredQuery
javadocprotected 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.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 NavigationPropertySingleQuery<ParentEntityT,EntityT> select(@Nonnull Property<EntityT>... fields) -
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
-