docs: public static RowExpression toRowExpression(Object object, Type type)
      {
          requireNonNull(type, "type is null");
  
          if (object instanceof RowExpression) {
              return (RowExpression) object;
          }
  
          if (object == null) {
              return constantNull(type);
          }
  
          return constant(object, type);
      }