koryphe icon indicating copy to clipboard operation
koryphe copied to clipboard

Add CollectionContainsAll Predicate

Open d47853 opened this issue 4 years ago • 2 comments

Add a Predicate which stores a number of values and ensures a collection contains all the values.

d47853 avatar Jan 15 '21 09:01 d47853

@d47853 Is this different to https://gchq.github.io/gaffer-doc/getting-started/predicates/arein.html

n3101 avatar Apr 13 '21 15:04 n3101

Yes subtly. It's flipped. AreIn is checking if the values in the input all exist in a predefined set. Whereas the CollectionContainsAll would check that values in the input contain all the values in your predefined set.

d47853 avatar Apr 21 '21 09:04 d47853