cascading.pattern.model.tree.predicate.compound
Class SurrogatePredicate
java.lang.Object
cascading.pattern.model.tree.predicate.Predicate
cascading.pattern.model.tree.predicate.compound.CompoundPredicate
cascading.pattern.model.tree.predicate.compound.SurrogatePredicate
- All Implemented Interfaces:
- Serializable
public class SurrogatePredicate
- extends CompoundPredicate
Class SurrogatePredicate returns the result of the first child predicate
that as non null or not missing value. This is similar to a if then else statement.
- See Also:
- Serialized Form
SurrogatePredicate
public SurrogatePredicate(List<Predicate> predicates)
SurrogatePredicate
public SurrogatePredicate(Predicate... predicates)
evaluate
public Boolean evaluate(Iterator<Boolean> results)
- Specified by:
evaluate
in class CompoundPredicate
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.