private static boolean isNullRejecting ( Collection < String > tableAliases , List < AbstractExpression > exprs ) { for ( AbstractExpression expr : exprs ) { for ( String tableAlias : tableAliases ) { if ( ExpressionUtil . isNullRejectingExpression ( expr , tableAlias ) ) { // We are done at this level return true ; } } } return false ; }
Verify if an expression from the input list is NULL - rejecting for any of the tables from the list