class CSVOptions extends FileSourceOptions with Logging
- Alphabetic
- By Inheritance
- CSVOptions
- Logging
- FileSourceOptions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CSVOptions(parameters: Map[String, String], columnPruning: Boolean, defaultTimeZoneId: String, defaultColumnNameOfCorruptRecord: String)
- new CSVOptions(parameters: Map[String, String], columnPruning: Boolean, defaultTimeZoneId: String)
- new CSVOptions(parameters: CaseInsensitiveMap[String], columnPruning: Boolean, defaultTimeZoneId: String, defaultColumnNameOfCorruptRecord: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asParserSettings: CsvParserSettings
- def asWriterSettings: CsvWriterSettings
- val charToEscapeQuoteEscaping: Option[Char]
- val charset: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val columnNameOfCorruptRecord: String
- val columnPruning: Boolean
- val comment: Char
- val compressionCodec: Option[String]
- val dateFormatInRead: Option[String]
- val dateFormatInWrite: String
- val dateFormatOption: Option[String]
- val delimiter: String
-
val
emptyValue: Option[String]
String representation of an empty value in read and in write.
-
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. -
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
"" - val enableDateTimeParsingFallback: Option[Boolean]
-
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.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val escape: Char
- val escapeQuotes: Boolean
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val headerFlag: Boolean
-
val
ignoreCorruptFiles: Boolean
- Definition Classes
- FileSourceOptions
- val ignoreLeadingWhiteSpaceFlagInWrite: Boolean
- val ignoreLeadingWhiteSpaceInRead: Boolean
-
val
ignoreMissingFiles: Boolean
- Definition Classes
- FileSourceOptions
- val ignoreTrailingWhiteSpaceFlagInWrite: Boolean
- val ignoreTrailingWhiteSpaceInRead: Boolean
- val inferSchemaFlag: Boolean
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
- val inputBufferSize: Option[Int]
- val isCommentSet: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
val
lineSeparator: Option[String]
A string between two consecutive JSON records.
- val lineSeparatorInRead: Option[Array[Byte]]
- val lineSeparatorInWrite: Option[String]
- val locale: Locale
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- val maxCharsPerColumn: Int
- val maxColumns: Int
-
val
maxErrorContentLength: Int
The max error content length in CSV parser/writer exception message.
- val multiLine: Boolean
- val nanValue: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val negativeInf: String
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val nullValue: String
- val parameters: CaseInsensitiveMap[String]
- val parseMode: ParseMode
- val positiveInf: String
-
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
- val quote: Char
- val quoteAll: Boolean
- val samplingRatio: Double
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timestampFormatInRead: Option[String]
- val timestampFormatInWrite: String
- val timestampNTZFormatInRead: Option[String]
- val timestampNTZFormatInWrite: String
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
unescapedQuoteHandling: UnescapedQuoteHandling
The handling method to be used when unescaped quotes are found in the input.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val zoneId: ZoneId