code: @SuppressWarnings("unchecked")
    public static <E> OqlBuilder<E> from(final String entityName, final String alias) {
      EntityType type = Model.getType(entityName);
      OqlBuilder<E> query = new OqlBuilder<E>();
      if (null != type) query.entityClass = (Class<E>) type.getEntityClass();
      query.alias = alias;
      query.select = "select " + alias;
      query.from = concat("from ", entityName, " ", alias);
      return query;
    }
docs: from.
  
  @param entityName a {@link java.lang.String} object.
  @param alias a {@link java.lang.String} object.
  @param <E> a E object.
  @return a {@link org.beangle.commons.dao.query.builder.OqlBuilder} object.