Class CsvConnection

All Implemented Interfaces:
Connection

public class CsvConnection extends AbstractTextConnection
Represents a connection to CSV file.

For configuration details and examples see overview page.

Version:
1.1
Author:
Fyodor Kupolov, Sean Summers
  • Field Details

    • LOG

      protected static final Logger LOG
    • SEPARATOR

      public static final String SEPARATOR
      Name of the separator connection property. The delimiter to use for separating entries when reading from or writing to files.
      See Also:
    • QUOTE

      public static final String QUOTE
      Name of the quote connection property. The character to use for quoted elements when reading from or writing to files. Use empty string to suppress quoting.
      See Also:
    • ESCAPE

      public static final String ESCAPE
      Name of the escape connection property. The character to use for escaped elements when writing to files. Use empty string to suppress escaping.
      See Also:
    • HEADERS

      public static final String HEADERS
      Name of the headers connection property. true means the first line contains headers. Default value is true.

      Only valid for <query> elements.

      See Also:
    • QUOTEALL

      public static final String QUOTEALL
      Name of the quoteall connection property. false means only elements with the quote or escape character are quoted. Default value is true.
      See Also:
  • Constructor Details

  • Method Details