code: private List<Map<String, Object>> getColumnsToOutput(EntityMetadata m, KunderaQuery kunderaQuery)
      {
          if (kunderaQuery.isSelectStatement())
          {
              SelectStatement selectStatement = kunderaQuery.getSelectStatement();
              SelectClause selectClause = (SelectClause) selectStatement.getSelectClause();
              return KunderaQueryUtils.readSelectClause(selectClause.getSelectExpression(), m, false, kunderaMetadata);
          }
          return new ArrayList();
      }
docs: Gets the columns to output.
  
  @param m
  the m
  @param kunderaQuery
  the kundera query
  @return the columns to output