EntityT
- Entity this property is part of.TargetT
- Entity type of the collection this property references to.public abstract class StructuredPropertyCollection<EntityT extends VdmEntity<?>,TargetT extends VdmObject<?>> extends Object
EntityT
with a
type of TargetT
.NULL
Constructor and Description |
---|
StructuredPropertyCollection() |
Modifier and Type | Method and Description |
---|---|
StructuredPropertyCollectionQuery<EntityT,TargetT> |
filter(FilterableBoolean<TargetT>... filters)
Filter on properties of EntityT.
|
StructuredPropertyCollectionQuery<EntityT,TargetT> |
orderBy(FieldOrdering<TargetT>... ordering)
Sort the set of returned entities by non-complex fields.
|
StructuredPropertyCollectionQuery<EntityT,TargetT> |
search(SearchExpression expression)
Request modifier to return the set of entities corresponding to the specified boolean expression.
|
StructuredPropertyCollectionQuery<EntityT,TargetT> |
search(String search)
Request modifier to return the set of entities that contain the specified value.
|
StructuredPropertyCollectionQuery<EntityT,TargetT> |
select(Property<TargetT>... fields)
Query modifier to limit which field values of the entity EntityT get fetched and populated.
|
StructuredPropertyCollectionQuery<EntityT,TargetT> |
skip(int skip)
Determine the how many first N entities of the result set should be skipped.
|
StructuredPropertyCollectionQuery<EntityT,TargetT> |
top(int top)
Limit the number of results of this request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpression, getFieldName, of
getExpression
@SafeVarargs @Nonnull public final StructuredPropertyCollectionQuery<EntityT,TargetT> select(@Nonnull Property<TargetT>... fields)
fields
- Properties of EntityT to be selected.@SafeVarargs @Nonnull public final StructuredPropertyCollectionQuery<EntityT,TargetT> filter(@Nonnull FilterableBoolean<TargetT>... filters)
filters
- Filter expressions to be added to the request.@Nonnull public StructuredPropertyCollectionQuery<EntityT,TargetT> top(int top)
top
- The maximum amount of elements this request shall return.@Nonnull public StructuredPropertyCollectionQuery<EntityT,TargetT> skip(int skip)
skip
- The amount of elements this request will skip.@SafeVarargs @Nonnull @Beta public final StructuredPropertyCollectionQuery<EntityT,TargetT> orderBy(@Nonnull FieldOrdering<TargetT>... ordering)
ordering
- Fields to sort by.@Nonnull public StructuredPropertyCollectionQuery<EntityT,TargetT> search(@Nonnull String search)
search
- A string value as the search criteria.@Nonnull public StructuredPropertyCollectionQuery<EntityT,TargetT> search(@Nonnull SearchExpression expression)
expression
- SearchExpression as the search criteriaCopyright © 2021 SAP SE. All rights reserved.