Package com.sap.cds
Interface CdsDataProcessor.Filter
- Enclosing interface:
- CdsDataProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Predicate to filter a CdsElement by the element's CdsType.
This is a functional interface whose functional method is
test(Path, CdsElement, CdsType).
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleantest(Path path, CdsElement element) booleantest(Path path, CdsElement element, CdsType type) Evaluates this filter predicate on the given arguments.
-
Method Details
-
test
Evaluates this filter predicate on the given arguments.- Parameters:
path- the path to the elementelement- the CDS elementtype- the element's CdsType, for associations the target type, for arrayed elements the item type- Returns:
trueif the input arguments match the predicate, otherwisefalse
-
test
-