Interface FilterableCollection<EntityT,ItemT>
- Type Parameters:
EntityT
- Type of the entity which references the value.ItemT
- Type of the item type the collection holds.
- All Superinterfaces:
EntityReference<EntityT>
,Expressions.Operand
,Expressions.OperandMultiple
- All Known Implementing Classes:
ComplexProperty.Collection
,FilterableCollection.Expression
,NavigationProperty.Collection
,SimpleProperty.Collection
public interface FilterableCollection<EntityT,ItemT>
extends Expressions.OperandMultiple, EntityReference<EntityT>
Fluent helper class to provide filter functions to OData expressions referenced by Collection.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Wrapper expression class, which delegates to another operation. -
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL
-
Method Summary
Modifier and TypeMethodDescriptiondefault FilterableBoolean<EntityT>
all
(FilterableBoolean<ItemT> operand) Filter by lambda expression "all".default FilterableBoolean<EntityT>
any
(FilterableBoolean<ItemT> operand) Filter by lambda expression "any".default FilterableCollection<EntityT,
ItemT> concat
(FilterableCollection<?, ItemT> operand) Filter by expression "concat".default FilterableCollection<EntityT,
ItemT> Filter by expression "concat".default FilterableBoolean<EntityT>
contains
(FilterableCollection<?, ItemT> operand) Filter by expression "contains".default FilterableBoolean<EntityT>
Filter by expression "contains".default FilterableBoolean<EntityT>
endsWith
(FilterableCollection<?, ItemT> operand) Filter by expression "endsWith".default FilterableBoolean<EntityT>
Filter by expression "endsWith".Get the item type the collection holds.default FilterableBoolean<EntityT>
hasSubSequence
(FilterableCollection<?, ItemT> operand) Filter by expression "hasSubSequence".default FilterableBoolean<EntityT>
hasSubSequence
(Iterable<ItemT> operand) Filter by expression "hasSubSequence".default FilterableBoolean<EntityT>
hasSubset
(FilterableCollection<?, ItemT> operand) Filter by expression "hasSubset".default FilterableBoolean<EntityT>
Filter by expression "hasSubset".default FilterableNumericInteger<EntityT>
indexOf
(FilterableCollection<?, ItemT> operand) Filter by expression "indexOf".default FilterableNumericInteger<EntityT>
Filter by expression "indexOf".default FilterableNumericInteger<EntityT>
length()
Filter by expression "length".default FilterableBoolean<EntityT>
startsWith
(FilterableCollection<?, ItemT> operand) Filter by expression "startsWith".default FilterableBoolean<EntityT>
startsWith
(Iterable<ItemT> operand) Filter by expression "startsWith".default FilterableCollection<EntityT,
ItemT> Filter by expression "substring".default FilterableCollection<EntityT,
ItemT> Filter by expression "substring".Methods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.expression.EntityReference
getEntityType
Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
getExpression, getExpression
-
Method Details
-
getItemType
Get the item type the collection holds.- Returns:
- The item type.
-
hasSubset
@Nonnull default FilterableBoolean<EntityT> hasSubset(@Nonnull FilterableCollection<?, ItemT> operand) Filter by expression "hasSubset".- Parameters:
operand
- Only operand of collection type.- Returns:
- The FluentHelper filter.
-
hasSubset
Filter by expression "hasSubset".- Parameters:
operand
- Only operand of Java iterable.- Returns:
- The FluentHelper filter.
-
hasSubSequence
@Nonnull default FilterableBoolean<EntityT> hasSubSequence(@Nonnull FilterableCollection<?, ItemT> operand) Filter by expression "hasSubSequence".- Parameters:
operand
- Only operand of collection type.- Returns:
- The FluentHelper filter.
-
hasSubSequence
Filter by expression "hasSubSequence".- Parameters:
operand
- Only operand of Java iterable.- Returns:
- The FluentHelper filter.
-
contains
@Nonnull default FilterableBoolean<EntityT> contains(@Nonnull FilterableCollection<?, ItemT> operand) Filter by expression "contains".- Parameters:
operand
- Only operand of collection type.- Returns:
- The FluentHelper filter.
-
contains
Filter by expression "contains".- Parameters:
operand
- Only operand of Java iterable.- Returns:
- The FluentHelper filter.
-
startsWith
@Nonnull default FilterableBoolean<EntityT> startsWith(@Nonnull FilterableCollection<?, ItemT> operand) Filter by expression "startsWith".- Parameters:
operand
- Only operand of collection type.- Returns:
- The FluentHelper filter.
-
startsWith
Filter by expression "startsWith".- Parameters:
operand
- Only operand of Java iterable.- Returns:
- The FluentHelper filter.
-
endsWith
@Nonnull default FilterableBoolean<EntityT> endsWith(@Nonnull FilterableCollection<?, ItemT> operand) Filter by expression "endsWith".- Parameters:
operand
- Only operand of collection type.- Returns:
- The FluentHelper filter.
-
endsWith
Filter by expression "endsWith".- Parameters:
operand
- Only operand of Java iterable.- Returns:
- The FluentHelper filter.
-
indexOf
@Nonnull default FilterableNumericInteger<EntityT> indexOf(@Nonnull FilterableCollection<?, ItemT> operand) Filter by expression "indexOf".- Parameters:
operand
- Only operand of collection type.- Returns:
- The FluentHelper filter.
-
indexOf
Filter by expression "indexOf".- Parameters:
operand
- Only operand of Java iterable.- Returns:
- The FluentHelper filter.
-
concat
@Nonnull default FilterableCollection<EntityT,ItemT> concat(@Nonnull FilterableCollection<?, ItemT> operand) Filter by expression "concat".- Parameters:
operand
- Only operand of collection type.- Returns:
- The FluentHelper filter.
-
concat
Filter by expression "concat".- Parameters:
operand
- Only operand of Java iterable.- Returns:
- The FluentHelper filter.
-
length
Filter by expression "length".- Returns:
- The FluentHelper filter.
-
substring
Filter by expression "substring".- Parameters:
operand
- Only operand of Integer type.- Returns:
- The FluentHelper filter.
-
substring
@Nonnull default FilterableCollection<EntityT,ItemT> substring(@Nonnull Integer operandIndex, @Nonnull Integer operandLength) Filter by expression "substring".- Parameters:
operandIndex
- Operand of Integer type to mark the start of the subset.operandLength
- Operand of Integer type to mark the size of the subset.- Returns:
- The FluentHelper filter.
-
all
Filter by lambda expression "all".- Parameters:
operand
- Operand to provide a generic filter to the collection item.- Returns:
- The FluentHelper filter.
-
any
Filter by lambda expression "any".- Parameters:
operand
- Operand to provide a generic filter to the collection item.- Returns:
- The FluentHelper filter.
-