Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-139

CSVPrinter.printRecord(ResultSet) with metadata

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Printer
    • Labels:
      None

      Description

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

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

      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?

        Attachments

          Activity

            People

            • Assignee:
              ggregory Gary D. Gregory
              Reporter:
              ggregory Gary D. Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: