You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2014/10/29 06:58:33 UTC

[jira] [Created] (CSV-139) CSVPrinter.printRecord(ResultSet) with metadata

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)