commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CSV-139) CSVPrinter.printRecord(ResultSet) with metadata
Date Wed, 29 Oct 2014 05:58:33 GMT
Gary Gregory created CSV-139:
--------------------------------

             Summary: CSVPrinter.printRecord(ResultSet) with metadata
                 Key: CSV-139
                 URL: https://issues.apache.org/jira/browse/CSV-139
             Project: Commons CSV
          Issue Type: New Feature
          Components: Printer
            Reporter: Gary Gregory


In http://markmail.org/message/hudxi2fk3wez2rjz E. Bourg suggests:

{quote}
Does CSVPrinter.printRecord(ResultSet) print a header line derived from the metadata? I would
add a boolean parameter to control this.
{quote}

Option 1: 
Is the column name or column label printed? The column label I think.

Option 2:
Add CSVPrinter.printRecord(ResultSet, boolean)

Option 3:
Reuse a CSVFormat field. Which one? skipHeaderRecord? Add a new field?

Option 4:
Print other metadata info as comments?




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message