Class TextFormatConfig

java.lang.Object
org.apache.drill.exec.store.easy.text.TextFormatConfig
All Implemented Interfaces:
FormatPluginConfig

public class TextFormatConfig extends Object implements FormatPluginConfig
  • Field Details

    • extensions

      public final List<String> extensions
    • lineDelimiter

      public final String lineDelimiter
    • fieldDelimiter

      public final char fieldDelimiter
    • quote

      public final char quote
    • escape

      public final char escape
    • comment

      public final char comment
    • skipFirstLine

      public final boolean skipFirstLine
    • extractHeader

      public final boolean extractHeader
  • Constructor Details

  • Method Details

    • getExtensions

      public List<String> getExtensions()
    • getLineDelimiter

      public String getLineDelimiter()
    • getFieldDelimiter

      public char getFieldDelimiter()
    • getQuote

      public char getQuote()
    • getEscape

      public char getEscape()
    • getComment

      public char getComment()
    • isSkipFirstLine

      public boolean isSkipFirstLine()
    • isHeaderExtractionEnabled

      public boolean isHeaderExtractionEnabled()
    • firldDeliterString

      public String firldDeliterString()
      Used for JSON serialization to handle value which Jackson converts to a null string.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object