Class ComplexPropertyQuery<OwnerT extends VdmObject<?>,PropertyT extends VdmComplex<?>>
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.ComplexPropertyQuery<OwnerT,PropertyT>
- Type Parameters:
OwnerT
-VdmObject
this property is part of.PropertyT
-VdmComplex
type this property references to.
- All Implemented Interfaces:
Expressions.Operand
,Expressions.OperandSingle
,FieldReference
,Property<OwnerT>
public final class ComplexPropertyQuery<OwnerT extends VdmObject<?>,PropertyT extends VdmComplex<?>>
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
AbstractStructuredPropertyQuery
the API doesn't differentiate between selections
via referencing complex 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
javadocfinal ComplexPropertyQuery<OwnerT,
PropertyT> protected final com.sap.cloud.sdk.datamodel.odatav4.core.AbstractStructuredPropertyQuery<OwnerT,
PropertyT> 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 ComplexPropertyQuery<OwnerT,PropertyT> select(@Nonnull Property<PropertyT>... fields) -
select
@Nonnull protected final com.sap.cloud.sdk.datamodel.odatav4.core.AbstractStructuredPropertyQuery<OwnerT,PropertyT> select(@Nonnull Iterable<Property<PropertyT>> 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
-