coral-beam/src/main/java/com/linkedin/beam/utils/RexBeamUtils.java
static Expression notNull(Expression expr) {
    if (Primitive.is(expr.getType())) {
      return Expressions.constant(true);
    }
    return Expressions.notEqual(expr, Expressions.constant(null));
  }
/**
   * Checks if an expression is not null.
   *
   * @return Condition expression for the check
   */
Checks if an expression is not null.
@return Condition expression for the check
Checks if an expression is not null . @return Condition expression for the check
static Expression notNull(Expression expr) {
    if (Primitive.is(expr.getType())) {
      return Expressions.constant(true);
    }
    return Expressions.notEqual(expr, Expressions.constant(null));
  }
static Expression notNull ( Expression expr ) { if ( Primitive . is ( expr . getType ( ) ) ) { return Expressions . constant ( true ) ; } return Expressions . notEqual ( expr , Expressions . constant ( null ) ) ; }
Checks if an expression is not null.
Checks if an expression is not null .