Class CustomPatternCsvOld.Config

java.lang.Object
net.sansa_stack.hadoop.core.pattern.CustomPatternCsvOld.Config
Enclosing class:
CustomPatternCsvOld

public static class CustomPatternCsvOld.Config extends Object
  • Field Details

    • quoteChar

      protected char quoteChar
    • escapeChar

      protected char escapeChar
    • delimiter

      protected String delimiter
    • lineTerminatorPattern

      protected String lineTerminatorPattern
    • maxConsecutiveEscapeChars

      protected int maxConsecutiveEscapeChars
    • columnMaxLength

      protected int columnMaxLength
  • Constructor Details

    • Config

      public Config(char quoteChar, char escapeChar, String delimiter, String lineTerminatorPattern, int columnMaxLength, int maxConsecutiveEscapeChars)
  • Method Details

    • createExcel

      public static CustomPatternCsvOld.Config createExcel(int columnMaxLength)
    • create

      public static CustomPatternCsvOld.Config create(char quoteChar, int columnMaxLength)
    • create

      public static CustomPatternCsvOld.Config create(char quoteChar, char escapeChar, int columnMaxLength)
    • getQuoteChar

      public char getQuoteChar()
    • getEscapeChar

      public char getEscapeChar()
    • getDelimiter

      public String getDelimiter()
    • getLineTerminatorPattern

      public String getLineTerminatorPattern()
    • getMaxConsecutiveEscapeChars

      public int getMaxConsecutiveEscapeChars()
    • getColumnMaxLength

      public int getColumnMaxLength()