Packages

class CSVOptions extends FileSourceOptions with Logging

Linear Supertypes
Logging, FileSourceOptions, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CSVOptions
  2. Logging
  3. FileSourceOptions
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CSVOptions(parameters: Map[String, String], columnPruning: Boolean, defaultTimeZoneId: String, defaultColumnNameOfCorruptRecord: String)
  2. new CSVOptions(parameters: Map[String, String], columnPruning: Boolean, defaultTimeZoneId: String)
  3. new CSVOptions(parameters: CaseInsensitiveMap[String], columnPruning: Boolean, defaultTimeZoneId: String, defaultColumnNameOfCorruptRecord: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asParserSettings: CsvParserSettings
  6. def asWriterSettings: CsvWriterSettings
  7. val charToEscapeQuoteEscaping: Option[Char]
  8. val charset: String
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. val columnNameOfCorruptRecord: String
  11. val columnPruning: Boolean
  12. val comment: Char
  13. val compressionCodec: Option[String]
  14. val dateFormatInRead: Option[String]
  15. val dateFormatInWrite: String
  16. val dateFormatOption: Option[String]
  17. val delimiter: String
  18. val emptyValue: Option[String]

    String representation of an empty value in read and in write.

  19. val emptyValueInRead: String

    The string is returned when CSV reader doesn't have any characters for input value, or an empty quoted string "".

    The string is returned when CSV reader doesn't have any characters for input value, or an empty quoted string "". Default value is empty string.

  20. val emptyValueInWrite: String

    The value is used instead of an empty string in write.

    The value is used instead of an empty string in write. Default value is ""

  21. val enableDateTimeParsingFallback: Option[Boolean]
  22. val enforceSchema: Boolean

    Forcibly apply the specified or inferred schema to datasource files.

    Forcibly apply the specified or inferred schema to datasource files. If the option is enabled, headers of CSV files will be ignored.

  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. val escape: Char
  26. val escapeQuotes: Boolean
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. val headerFlag: Boolean
  31. val ignoreCorruptFiles: Boolean
    Definition Classes
    FileSourceOptions
  32. val ignoreLeadingWhiteSpaceFlagInWrite: Boolean
  33. val ignoreLeadingWhiteSpaceInRead: Boolean
  34. val ignoreMissingFiles: Boolean
    Definition Classes
    FileSourceOptions
  35. val ignoreTrailingWhiteSpaceFlagInWrite: Boolean
  36. val ignoreTrailingWhiteSpaceInRead: Boolean
  37. val inferSchemaFlag: Boolean
  38. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  39. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. val inputBufferSize: Option[Int]
  41. val isColumnPruningEnabled: Boolean

    The column pruning feature can be enabled either via the CSV option columnPruning or in non-multiline mode via initialization of CSV options by the SQL config: spark.sql.csv.parser.columnPruning.enabled.

    The column pruning feature can be enabled either via the CSV option columnPruning or in non-multiline mode via initialization of CSV options by the SQL config: spark.sql.csv.parser.columnPruning.enabled. The feature is disabled in the multiLine mode because of the issue: https://github.com/uniVocity/univocity-parsers/issues/529

  42. val isCommentSet: Boolean
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  45. val lineSeparator: Option[String]

    A string between two consecutive JSON records.

  46. val lineSeparatorInRead: Option[Array[Byte]]
  47. val lineSeparatorInWrite: Option[String]
  48. val locale: Locale
  49. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  50. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  57. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. val maxCharsPerColumn: Int
  62. val maxColumns: Int
  63. val maxErrorContentLength: Int

    The max error content length in CSV parser/writer exception message.

  64. val multiLine: Boolean
  65. val nanValue: String
  66. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  67. val negativeInf: String
  68. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  69. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  70. val nullValue: String
  71. val parameters: CaseInsensitiveMap[String]
  72. val parseMode: ParseMode
  73. val positiveInf: String
  74. val preferDate: Boolean

    Infer columns with all valid date entries as date type (otherwise inferred as string or timestamp type) if schema inference is enabled.

    Infer columns with all valid date entries as date type (otherwise inferred as string or timestamp type) if schema inference is enabled.

    Enabled by default.

    Not compatible with legacyTimeParserPolicy == LEGACY since legacy date parser will accept extra trailing characters. Thus, disabled when legacyTimeParserPolicy == LEGACY

  75. val quote: Char
  76. val quoteAll: Boolean
  77. val samplingRatio: Double
  78. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  79. val timestampFormatInRead: Option[String]
  80. val timestampFormatInWrite: String
  81. val timestampNTZFormatInRead: Option[String]
  82. val timestampNTZFormatInWrite: String
  83. def toString(): String
    Definition Classes
    AnyRef → Any
  84. val unescapedQuoteHandling: UnescapedQuoteHandling

    The handling method to be used when unescaped quotes are found in the input.

  85. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  86. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  87. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  88. val zoneId: ZoneId

Inherited from Logging

Inherited from FileSourceOptions

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped